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 14 exec-once = hyprpaper & 15 15 exec-once = dunst & 16 16 exec-once = gsettings set org.gnome.desktop.interface font-name 'JetBrainsMono Nerd Font' & 17 +exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 17 18 exec-once = blueman-applet 18 19 # }}} 19 20 ## inputs {{{ ··· 101 102 ## window rules {{{ 102 103 windowrule = workspace 1, title:(Postman) 103 104 windowrule = workspace 2, title:(Firefox) 104 -windowrule = workspace 3, title:(kitty|Rider) 105 +windowrule = workspace 3, title:(Rider) 105 106 windowrule = workspace 4, title:(Logseq|Anki) 106 107 windowrule = workspace 5, title:(Telegram|Discord) 108 +windowrule = workspace 7, title:(Spotify) 107 109 # }}} 108 110 ## keymaps {{{ 109 - bind = $mod SHIFT, Return, exec, wofi --show drun 111 + bind = $mod SHIFT, Return, exec, wofi --show drun --allow-images 110 112 bind = $mod, Return, exec, $terminal 111 113 bind = $mod, q, killactive 112 114 bind = $mod SHIFT, Escape, exit ··· 123 125 bindl = , XF86AudioPrev, exec, playerctl previous 124 126 ## }}} 125 127 ## brightness {{{ 126 - bindl = , XF86MonBrightnessUp, exec, brightnessctl set +10% 127 - bindl = , XF86MonBrightnessDown, exec, brightnessctl set 10%- 128 + bindl = , XF86MonBrightnessUp, exec, brightnessctl set +5% 129 + bindl = , XF86MonBrightnessDown, exec, brightnessctl set 5%- 128 130 ## }}} 129 131 ## programs {{{ 130 132 bind = $mod SHIFT, w, exec, firefox
M
config/waybar/config
··· 18 18 "modules-right": [ 19 19 "memory", 20 20 "tray", 21 + "hyprland/language", 21 22 "backlight", 22 23 "battery", 23 24 "pulseaudio", ··· 26 27 27 28 // modules 28 29 "clock": { 29 - "format": " {:%H:%M}", 30 + "format": " {:%a, %d %b %H:%M}", 30 31 "tooltip": "true", 31 32 "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", 32 33 "format-alt": " {:%d/%m}" ··· 41 42 "format": "{icon}", 42 43 "on-click": "activate", 43 44 "sort-by-number": true, 45 + "persistent_workspaces": { "*": 9 }, 44 46 "format-icons": { 45 47 "urgent": "", 46 - "active": "", 47 - "default": "" 48 - }, 49 - "persistent_workspaces": { "*": 9 } 48 + "default": "", 49 + "1": "", 50 + "2": "", 51 + "3": "", 52 + "4": "", 53 + "5": "", 54 + "6": "", 55 + "7": "" 56 + } 50 57 }, 51 58 52 - "hyprland/window": { "max-length": "40" }, 59 + "hyprland/window": { 60 + "max-length": "40" 61 + }, 53 62 54 63 "battery": { 64 + "format":"{icon} {capacity}%", 65 + "format-charging":"{icon} {capacity}%", 66 + "format-plugged": "{capacity}% ", 67 + "format-alt": "{icon} {time}", 68 + "format-icons": ["", "", "", "", ""], 55 69 "states": { 56 70 "good": 95, 57 71 "warning": 30, 58 72 "critical": 15 59 - }, 60 - "format":"{icon} {capacity}%", 61 - "format-charging":"{icon} {capacity}%", 62 - "format-plugged": "{capacity}% ", 63 - "format-alt": "{icon} {time}", 64 - "format-icons": ["", "", "", "", ""] 73 + } 65 74 }, 66 75 67 76 "memory": { 68 - "format": " {used}%", 77 + "format": " {used}%", 69 78 "interval": 5 70 79 }, 71 80 72 81 "cpu": { 73 - "format": " {usage}%", 74 - "format-alt": " {avg_frequency} GHz", 82 + "format": " {usage}%", 83 + "format-alt": " {avg_frequency} GHz", 75 84 "interval": 5 76 85 }, 77 86 ··· 90 99 }, 91 100 92 101 "backlight": { 93 - "format": "{icon} {percent}%", 102 + "format": "{icon} {percent}%", 94 103 "format-icons": ["", "", "", "", "", "", "", "", ""], 95 104 "on-scroll-up": "brightnessctl set +10%", 96 105 "on-scroll-down": "brightnessctl set 10%-" 97 106 }, 98 107 99 108 "pulseaudio": { 100 - "format": "{icon} {volume}%", 109 + "format": "{icon} {volume}%", 101 110 "format-muted": "", 102 - "format-icons": { "default": ["", "", ""] }, 111 + "format-icons": { 112 + "default": ["", "", ""], 113 + "headphone": "" 114 + }, 103 115 "on-scroll-up": "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+", 104 116 "on-scroll-down": "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-" 117 + }, 118 + 119 + "hyprland/language": { 120 + "format": " {}", 121 + "format-uk": "укр", 122 + "format-en": "eng" 105 123 } 106 124 }
M
config/waybar/style.css
··· 6 6 @define-color inactive-bg-color #292e42; 7 7 @define-color inactive-fg-color #545c7e; 8 8 @define-color green #73daca; 9 -@define-color red #db4b4b; 9 +@define-color red #f7768e; 10 +@define-color blue #2ac3de; 10 11 11 12 * { 12 13 border: none; ··· 23 24 color: @fg-color; 24 25 } 25 26 26 -#cpu, #memory, #workspaces, #window, #tray, #clock, #battery, #pulseaudio, #network, #backlight { 27 +#language, #cpu, #memory, #workspaces, #window, #tray, #clock, #battery, #pulseaudio, #network, #backlight { 27 28 background-color: @bg-darker-color; 28 29 color: @fg-color; 29 30 border-radius: 16px; 30 31 margin: 5px 5px 5px 5px; 31 32 padding: 0px 10px 0px 10px; 32 33 } 34 + 35 +#network, #backlight { color: @blue; } 36 +#cpu, #pulseaudio, #memory, #clock { color: @active-bg-color; } 37 +#language { color: @red; } 33 38 34 39 #workspaces button { color: @inactive-fg-color; } 35 40 #workspaces button.active {
A
config/wofi/style.css
··· 1 +window { 2 + margin: 0px; 3 + background-color: #15161e; 4 +} 5 + 6 +#input { 7 + margin: 5px; 8 + border: none; 9 + color: #f8f8f2; 10 + background-color: #15161e; 11 +} 12 + 13 +#inner-box { 14 + margin: 5px; 15 + border: none; 16 + background-color: #1a1b26; 17 +} 18 + 19 +#outer-box { 20 + margin: 5px; 21 + border: none; 22 + background-color: #1a1b26; 23 +} 24 + 25 +#scroll { 26 + margin: 0px; 27 + border: none; 28 +} 29 + 30 +#text { 31 + margin: 5px; 32 + border: none; 33 + color: #c0caf5; 34 +} 35 + 36 +#entry:selected { 37 + background-color: #15161e; 38 +}