4 files changed,
87 insertions(+),
24 deletions(-)
Author:
Smirnov Oleksandr
ss2316544@gmail.com
Committed at:
2023-11-05 00:03:38 +0200
Parent:
ec5940b
M
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 @@ # }}}
## 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 @@ bindl = , XF86AudioNext, exec, playerctl next
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
M
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": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "format-alt": " {:%d/%m}"@@ -41,37 +42,45 @@ "on-scroll-down": "hyprctl dispatch workspace +1",
"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 @@ "spacing": 5
}, "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" } }
M
config/waybar/style.css
@@ -6,7 +6,8 @@ @define-color active-fg-color #16161e;
@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,13 +24,17 @@ border-bottom: 2px solid @inactive-bg-color;
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; margin: 5px 5px 5px 5px; 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 {
A
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; +}