update my tiling setup, yeah i know, will be more

This commit is contained in:
Smirnov Oleksandr 2023-11-05 00:03:38 +02:00
parent ec5940b911
commit e87d92384c
4 changed files with 87 additions and 24 deletions

View file

@ -14,6 +14,7 @@ exec-once = waybar &
exec-once = hyprpaper & exec-once = hyprpaper &
exec-once = dunst & exec-once = dunst &
exec-once = gsettings set org.gnome.desktop.interface font-name 'JetBrainsMono Nerd Font' & 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 exec-once = blueman-applet
# }}} # }}}
## inputs {{{ ## inputs {{{
@ -101,12 +102,13 @@ gestures {
## window rules {{{ ## window rules {{{
windowrule = workspace 1, title:(Postman) windowrule = workspace 1, title:(Postman)
windowrule = workspace 2, title:(Firefox) windowrule = workspace 2, title:(Firefox)
windowrule = workspace 3, title:(kitty|Rider) windowrule = workspace 3, title:(Rider)
windowrule = workspace 4, title:(Logseq|Anki) windowrule = workspace 4, title:(Logseq|Anki)
windowrule = workspace 5, title:(Telegram|Discord) windowrule = workspace 5, title:(Telegram|Discord)
windowrule = workspace 7, title:(Spotify)
# }}} # }}}
## keymaps {{{ ## 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, Return, exec, $terminal
bind = $mod, q, killactive bind = $mod, q, killactive
bind = $mod SHIFT, Escape, exit bind = $mod SHIFT, Escape, exit
@ -123,8 +125,8 @@ windowrule = workspace 5, title:(Telegram|Discord)
bindl = , XF86AudioPrev, exec, playerctl previous bindl = , XF86AudioPrev, exec, playerctl previous
## }}} ## }}}
## brightness {{{ ## brightness {{{
bindl = , XF86MonBrightnessUp, exec, brightnessctl set +10% bindl = , XF86MonBrightnessUp, exec, brightnessctl set +5%
bindl = , XF86MonBrightnessDown, exec, brightnessctl set 10%- bindl = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
## }}} ## }}}
## programs {{{ ## programs {{{
bind = $mod SHIFT, w, exec, firefox bind = $mod SHIFT, w, exec, firefox

View file

@ -18,6 +18,7 @@
"modules-right": [ "modules-right": [
"memory", "memory",
"tray", "tray",
"hyprland/language",
"backlight", "backlight",
"battery", "battery",
"pulseaudio", "pulseaudio",
@ -26,7 +27,7 @@
// modules // modules
"clock": { "clock": {
"format": " {:%H:%M}", "format": " {:%a, %d %b %H:%M}",
"tooltip": "true", "tooltip": "true",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": " {:%d/%m}" "format-alt": " {:%d/%m}"
@ -41,37 +42,45 @@
"format": "{icon}", "format": "{icon}",
"on-click": "activate", "on-click": "activate",
"sort-by-number": true, "sort-by-number": true,
"persistent_workspaces": { "*": 9 },
"format-icons": { "format-icons": {
"urgent": "", "urgent": "",
"active": "", "default": "",
"default": "󰧞" "1": "󰅨",
}, "2": "󰖟",
"persistent_workspaces": { "*": 9 } "3": "",
"4": "󰠮",
"5": "",
"6": "󰅨",
"7": "󰎄"
}
}, },
"hyprland/window": { "max-length": "40" }, "hyprland/window": {
"max-length": "40"
},
"battery": { "battery": {
"format":"{icon} {capacity}%",
"format-charging":"{icon} {capacity}%",
"format-plugged": "{capacity}% ",
"format-alt": "{icon} {time}",
"format-icons": ["", "", "", "", ""],
"states": { "states": {
"good": 95, "good": 95,
"warning": 30, "warning": 30,
"critical": 15 "critical": 15
}, }
"format":"{icon} {capacity}%",
"format-charging":"{icon} {capacity}%",
"format-plugged": "{capacity}% ",
"format-alt": "{icon} {time}",
"format-icons": ["", "", "", "", ""]
}, },
"memory": { "memory": {
"format": "󰍛 {used}%", "format": "󰍛 {used}%",
"interval": 5 "interval": 5
}, },
"cpu": { "cpu": {
"format": "󰻠 {usage}%", "format": "󰻠 {usage}%",
"format-alt": "󰻠 {avg_frequency} GHz", "format-alt": "󰻠 {avg_frequency} GHz",
"interval": 5 "interval": 5
}, },
@ -90,17 +99,26 @@
}, },
"backlight": { "backlight": {
"format": "{icon} {percent}%", "format": "{icon} {percent}%",
"format-icons": ["", "", "", "", "", "", "", "", ""], "format-icons": ["", "", "", "", "", "", "", "", ""],
"on-scroll-up": "brightnessctl set +10%", "on-scroll-up": "brightnessctl set +10%",
"on-scroll-down": "brightnessctl set 10%-" "on-scroll-down": "brightnessctl set 10%-"
}, },
"pulseaudio": { "pulseaudio": {
"format": "{icon} {volume}%", "format": "{icon} {volume}%",
"format-muted": "󰝟", "format-muted": "󰝟",
"format-icons": { "default": ["󰕿", "󰖀", "󰕾"] }, "format-icons": {
"default": ["󰕿", "󰖀", "󰕾"],
"headphone": ""
},
"on-scroll-up": "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+", "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%-" "on-scroll-down": "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-"
},
"hyprland/language": {
"format": "󰌌 {}",
"format-uk": "укр",
"format-en": "eng"
} }
} }

View file

@ -6,7 +6,8 @@
@define-color inactive-bg-color #292e42; @define-color inactive-bg-color #292e42;
@define-color inactive-fg-color #545c7e; @define-color inactive-fg-color #545c7e;
@define-color green #73daca; @define-color green #73daca;
@define-color red #db4b4b; @define-color red #f7768e;
@define-color blue #2ac3de;
* { * {
border: none; border: none;
@ -23,7 +24,7 @@ window#waybar {
color: @fg-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; background-color: @bg-darker-color;
color: @fg-color; color: @fg-color;
border-radius: 16px; border-radius: 16px;
@ -31,6 +32,10 @@ window#waybar {
padding: 0px 10px 0px 10px; 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 { color: @inactive-fg-color; }
#workspaces button.active { #workspaces button.active {
color: @active-bg-color; color: @active-bg-color;

38
config/wofi/style.css Normal file
View file

@ -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;
}