diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf
index f4fd0ae..04f0420 100644
--- a/config/hypr/hyprland.conf
+++ b/config/hypr/hyprland.conf
@@ -14,6 +14,7 @@ exec-once = waybar &
exec-once = hyprpaper &
exec-once = dunst &
exec-once = gsettings set org.gnome.desktop.interface font-name 'JetBrainsMono Nerd Font' &
+exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = blueman-applet
# }}}
## inputs {{{
@@ -101,12 +102,13 @@ gestures {
## window rules {{{
windowrule = workspace 1, title:(Postman)
windowrule = workspace 2, title:(Firefox)
-windowrule = workspace 3, title:(kitty|Rider)
+windowrule = workspace 3, title:(Rider)
windowrule = workspace 4, title:(Logseq|Anki)
windowrule = workspace 5, title:(Telegram|Discord)
+windowrule = workspace 7, title:(Spotify)
# }}}
## keymaps {{{
- bind = $mod SHIFT, Return, exec, wofi --show drun
+ bind = $mod SHIFT, Return, exec, wofi --show drun --allow-images
bind = $mod, Return, exec, $terminal
bind = $mod, q, killactive
bind = $mod SHIFT, Escape, exit
@@ -123,8 +125,8 @@ windowrule = workspace 5, title:(Telegram|Discord)
bindl = , XF86AudioPrev, exec, playerctl previous
## }}}
## brightness {{{
- bindl = , XF86MonBrightnessUp, exec, brightnessctl set +10%
- bindl = , XF86MonBrightnessDown, exec, brightnessctl set 10%-
+ bindl = , XF86MonBrightnessUp, exec, brightnessctl set +5%
+ bindl = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
## }}}
## programs {{{
bind = $mod SHIFT, w, exec, firefox
diff --git a/config/waybar/config b/config/waybar/config
index c05f9d4..4a6aff8 100644
--- a/config/waybar/config
+++ b/config/waybar/config
@@ -18,6 +18,7 @@
"modules-right": [
"memory",
"tray",
+ "hyprland/language",
"backlight",
"battery",
"pulseaudio",
@@ -26,7 +27,7 @@
// modules
"clock": {
- "format": " {:%H:%M}",
+ "format": " {:%a, %d %b %H:%M}",
"tooltip": "true",
"tooltip-format": "{:%Y %B}\n{calendar}",
"format-alt": " {:%d/%m}"
@@ -41,37 +42,45 @@
"format": "{icon}",
"on-click": "activate",
"sort-by-number": true,
+ "persistent_workspaces": { "*": 9 },
"format-icons": {
"urgent": "",
- "active": "",
- "default": ""
- },
- "persistent_workspaces": { "*": 9 }
+ "default": "",
+ "1": "",
+ "2": "",
+ "3": "",
+ "4": "",
+ "5": "",
+ "6": "",
+ "7": ""
+ }
},
- "hyprland/window": { "max-length": "40" },
+ "hyprland/window": {
+ "max-length": "40"
+ },
"battery": {
+ "format":"{icon} {capacity}%",
+ "format-charging":"{icon} {capacity}%",
+ "format-plugged": "{capacity}% ",
+ "format-alt": "{icon} {time}",
+ "format-icons": ["", "", "", "", ""],
"states": {
"good": 95,
"warning": 30,
"critical": 15
- },
- "format":"{icon} {capacity}%",
- "format-charging":"{icon} {capacity}%",
- "format-plugged": "{capacity}% ",
- "format-alt": "{icon} {time}",
- "format-icons": ["", "", "", "", ""]
+ }
},
"memory": {
- "format": " {used}%",
+ "format": " {used}%",
"interval": 5
},
"cpu": {
- "format": " {usage}%",
- "format-alt": " {avg_frequency} GHz",
+ "format": " {usage}%",
+ "format-alt": " {avg_frequency} GHz",
"interval": 5
},
@@ -90,17 +99,26 @@
},
"backlight": {
- "format": "{icon} {percent}%",
+ "format": "{icon} {percent}%",
"format-icons": ["", "", "", "", "", "", "", "", ""],
"on-scroll-up": "brightnessctl set +10%",
"on-scroll-down": "brightnessctl set 10%-"
},
"pulseaudio": {
- "format": "{icon} {volume}%",
+ "format": "{icon} {volume}%",
"format-muted": "",
- "format-icons": { "default": ["", "", ""] },
+ "format-icons": {
+ "default": ["", "", ""],
+ "headphone": ""
+ },
"on-scroll-up": "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+",
"on-scroll-down": "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-"
+ },
+
+ "hyprland/language": {
+ "format": " {}",
+ "format-uk": "укр",
+ "format-en": "eng"
}
}
diff --git a/config/waybar/style.css b/config/waybar/style.css
index 802d4f4..85dd065 100644
--- a/config/waybar/style.css
+++ b/config/waybar/style.css
@@ -6,7 +6,8 @@
@define-color inactive-bg-color #292e42;
@define-color inactive-fg-color #545c7e;
@define-color green #73daca;
-@define-color red #db4b4b;
+@define-color red #f7768e;
+@define-color blue #2ac3de;
* {
border: none;
@@ -23,7 +24,7 @@ window#waybar {
color: @fg-color;
}
-#cpu, #memory, #workspaces, #window, #tray, #clock, #battery, #pulseaudio, #network, #backlight {
+#language, #cpu, #memory, #workspaces, #window, #tray, #clock, #battery, #pulseaudio, #network, #backlight {
background-color: @bg-darker-color;
color: @fg-color;
border-radius: 16px;
@@ -31,6 +32,10 @@ window#waybar {
padding: 0px 10px 0px 10px;
}
+#network, #backlight { color: @blue; }
+#cpu, #pulseaudio, #memory, #clock { color: @active-bg-color; }
+#language { color: @red; }
+
#workspaces button { color: @inactive-fg-color; }
#workspaces button.active {
color: @active-bg-color;
diff --git a/config/wofi/style.css b/config/wofi/style.css
new file mode 100644
index 0000000..75db5c2
--- /dev/null
+++ b/config/wofi/style.css
@@ -0,0 +1,38 @@
+window {
+ margin: 0px;
+ background-color: #15161e;
+}
+
+#input {
+ margin: 5px;
+ border: none;
+ color: #f8f8f2;
+ background-color: #15161e;
+}
+
+#inner-box {
+ margin: 5px;
+ border: none;
+ background-color: #1a1b26;
+}
+
+#outer-box {
+ margin: 5px;
+ border: none;
+ background-color: #1a1b26;
+}
+
+#scroll {
+ margin: 0px;
+ border: none;
+}
+
+#text {
+ margin: 5px;
+ border: none;
+ color: #c0caf5;
+}
+
+#entry:selected {
+ background-color: #15161e;
+}