Update hyprland and waybar configs
This commit is contained in:
parent
710caefead
commit
5d65e9de4f
8 changed files with 51 additions and 29 deletions
|
@ -17,7 +17,7 @@ case "$1" in
|
||||||
input=$(tee)
|
input=$(tee)
|
||||||
if [ ! -z "$input" ]; then
|
if [ ! -z "$input" ]; then
|
||||||
emoji=${input: -1}
|
emoji=${input: -1}
|
||||||
xdotool type "$emoji"
|
ydotool type "$emoji"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"")
|
"")
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
frame_width = 0
|
frame_width = 0
|
||||||
frame_color = "#000000"
|
frame_color = "#000000"
|
||||||
|
|
||||||
font = FiraCode Nerd Font 12
|
font = IosevkaTerm Nerd Font 13
|
||||||
#font = Iosevka Nerd Font 13
|
|
||||||
|
|
||||||
# Allow a small subset of html markup:
|
# Allow a small subset of html markup:
|
||||||
# <b>bold</b>
|
# <b>bold</b>
|
||||||
|
@ -187,13 +186,13 @@
|
||||||
[urgency_low]
|
[urgency_low]
|
||||||
# IMPORTANT: colors have to be defined in quotation marks.
|
# IMPORTANT: colors have to be defined in quotation marks.
|
||||||
# Otherwise the "#" and following would be interpreted as a comment.
|
# Otherwise the "#" and following would be interpreted as a comment.
|
||||||
background = "#8e8e8e"
|
background = "#3d3839"
|
||||||
foreground = "#3d3839"
|
foreground = "#8e8e8e"
|
||||||
timeout = 5
|
timeout = 5
|
||||||
|
|
||||||
[urgency_normal]
|
[urgency_normal]
|
||||||
background = "#BBBBBB"
|
background = "#3d3839"
|
||||||
foreground = "#191919"
|
foreground = "#BBBBBB"
|
||||||
timeout = 5
|
timeout = 5
|
||||||
|
|
||||||
[urgency_critical]
|
[urgency_critical]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# --- Basics
|
# --- Basics
|
||||||
font-family = "IosevkaTermSlab Nerd Font Propo"
|
font-family = "IosevkaTerm Nerd Font Propo"
|
||||||
font-style = "Regular"
|
font-style = "Regular"
|
||||||
font-size = 11
|
font-size = 11
|
||||||
background-opacity = 1.0
|
background-opacity = 1.0
|
||||||
|
|
|
@ -27,6 +27,15 @@ $fileManager = dolphin
|
||||||
$menu = rofi -show drun
|
$menu = rofi -show drun
|
||||||
|
|
||||||
|
|
||||||
|
###########################
|
||||||
|
### Program windowrules ###
|
||||||
|
###########################
|
||||||
|
|
||||||
|
windowrule = workspace 1, class:Element
|
||||||
|
windowrule = workspace 2, class:anytype
|
||||||
|
windowrule = workspace 3, class:thunderbird
|
||||||
|
|
||||||
|
|
||||||
#################
|
#################
|
||||||
### AUTOSTART ###
|
### AUTOSTART ###
|
||||||
#################
|
#################
|
||||||
|
|
|
@ -12,7 +12,7 @@ configuration {
|
||||||
modi: "drun";
|
modi: "drun";
|
||||||
show-icons: true;
|
show-icons: true;
|
||||||
icon-theme: "Papirus";
|
icon-theme: "Papirus";
|
||||||
font: "IosevkaTermSlab Nerd Font Propo 14";
|
font: "IosevkaTerm Nerd Font Propo 14";
|
||||||
display-drun: "";
|
display-drun: "";
|
||||||
//display-run: "";
|
//display-run: "";
|
||||||
//display-filebrowser: "";
|
//display-filebrowser: "";
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
{
|
{
|
||||||
"position": "top", // Waybar position (top|bottom|left|right)
|
"position": "top", // Waybar position (top|bottom|left|right)
|
||||||
"height": 5, // Waybar height (to be removed for auto height)
|
"height": 5, // Waybar height (to be removed for auto height)
|
||||||
"modules-left": [],
|
"modules-left": ["hyprland/workspaces"],
|
||||||
"modules-center": ["clock"],
|
"modules-center": ["clock"],
|
||||||
"modules-right": ["pulseaudio", "network", "cpu","memory","battery", "tray"],
|
"modules-right": ["custom/packages", "pulseaudio", "network", "cpu","memory","battery"],
|
||||||
"sway/mode": {
|
"sway/mode": {
|
||||||
"format": "<span style=\"italic\">{}</span>"
|
"format": "<span style=\"italic\">{}</span>"
|
||||||
},
|
},
|
||||||
"mpd": {
|
"mpd": {
|
||||||
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ ",
|
"format": " {title} | {artist} ({elapsedTime:%M:%S}/{totalTime:%M:%S})",
|
||||||
"format-disconnected": "Disconnected ",
|
"format-disconnected": "",
|
||||||
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
|
"format-stopped": "",
|
||||||
"unknown-tag": "N/A",
|
"unknown-tag": "N/A",
|
||||||
"interval": 2,
|
"interval": 2,
|
||||||
"consume-icons": {
|
"consume-icons": {
|
||||||
|
@ -83,8 +83,8 @@
|
||||||
},
|
},
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"format-icons": ["", "", "", "", ""],
|
"format-icons": ["", "", "", "", ""],
|
||||||
"format-charging": "{capacity}%",
|
"format-charging": "{icon}",
|
||||||
"format-plugged": "{capacity}%",
|
"format-plugged": "{icon}",
|
||||||
"format-alt": "{capacity}% | {time}"
|
"format-alt": "{capacity}% | {time}"
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
|
@ -105,16 +105,20 @@
|
||||||
"format-muted": " ",
|
"format-muted": " ",
|
||||||
"on-click": "pavucontrol"
|
"on-click": "pavucontrol"
|
||||||
},
|
},
|
||||||
"custom/media": {
|
"custom/packages": {
|
||||||
"format": " {}",
|
"format": " {}",
|
||||||
"return-type": "json",
|
"exec": "/home/aselimov/bin/outdated_packages.sh"
|
||||||
"max-length": 40,
|
|
||||||
"escape": true,
|
|
||||||
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
|
|
||||||
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
|
|
||||||
},
|
},
|
||||||
"hyprland/workspaces": {
|
"hyprland/workspaces": {
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
|
"format-icons":{
|
||||||
|
"1": "",
|
||||||
|
"2": "",
|
||||||
|
"3": "",
|
||||||
|
"4": "",
|
||||||
|
"5": ""
|
||||||
|
},
|
||||||
|
"active-only": true,
|
||||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||||||
"on-scroll-down": "hyprctl dispatch workspace e-1"
|
"on-scroll-down": "hyprctl dispatch workspace e-1"
|
||||||
}
|
}
|
||||||
|
|
|
@ -175,7 +175,7 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray {
|
#tray {
|
||||||
background-color: #2980b9;
|
background-color: #191919;
|
||||||
}
|
}
|
||||||
|
|
||||||
#idle_inhibitor {
|
#idle_inhibitor {
|
||||||
|
@ -188,20 +188,20 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#mpd {
|
#mpd {
|
||||||
background-color: #66cc99;
|
background-color: #191919;
|
||||||
color: #2a5c45;
|
color: #BBBBBB;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mpd.disconnected {
|
#mpd.disconnected {
|
||||||
background-color: #f53c3c;
|
background-color: #191919;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mpd.stopped {
|
#mpd.stopped {
|
||||||
background-color: #90b1b1;
|
background-color: #191919;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mpd.paused {
|
#mpd.paused {
|
||||||
background-color: #51a37a;
|
background-color: #191919;
|
||||||
}
|
}
|
||||||
|
|
||||||
#language {
|
#language {
|
||||||
|
@ -211,3 +211,12 @@ label:focus {
|
||||||
margin: 6px 3px;
|
margin: 6px 3px;
|
||||||
min-width: 16px;
|
min-width: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#workspaces{
|
||||||
|
background: #191919;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-packages{
|
||||||
|
color: #DE6E7c;
|
||||||
|
}
|
||||||
|
|
|
@ -53,12 +53,13 @@ xinput --set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Profile Enabled" 0 1
|
||||||
|
|
||||||
exec bato &
|
exec bato &
|
||||||
exec sync_mail.sh &
|
exec sync_mail.sh &
|
||||||
exec xsettingsd &
|
|
||||||
exec sxhkd &
|
exec sxhkd &
|
||||||
exec mpd &
|
exec mpd &
|
||||||
exec picom -b &
|
exec picom -b &
|
||||||
exec wallpaper_randomizer.sh &
|
exec wallpaper_randomizer.sh &
|
||||||
exec dwmblocks &
|
exec dwmblocks &
|
||||||
wmname LG3D &
|
wmname LG3D &
|
||||||
|
exec xsettingsd &
|
||||||
|
exec swap_monitor.sh &
|
||||||
exec dbus-launch --sh-syntax --exit-with-session "dwm"
|
exec dbus-launch --sh-syntax --exit-with-session "dwm"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue