Compare commits

..

3 commits

Author SHA1 Message Date
timoxa0 3327ef41c8 change zen to firefox 2024-11-20 22:39:07 +05:00
timoxa0 aea94b0262 hyprland: disable built-in gestures 2024-11-20 22:38:53 +05:00
timoxa0 1b3d8b8b12 waybar: Add battery and backlight modules 2024-11-20 22:36:35 +05:00
4 changed files with 48 additions and 32 deletions

View file

@ -9,8 +9,7 @@ input {
} }
gestures { gestures {
workspace_swipe_touch = true
workspace_swipe_cancel_ratio = 0.1
} }
device { device {

View file

@ -3,7 +3,7 @@ source = colors.conf
$terminal = alacritty $terminal = alacritty
$fileManager = nemo $fileManager = nemo
$menu = hyprlauncher $menu = hyprlauncher
$browser = zen-browser $browser = firefox
$discord = vesktop $discord = vesktop
$telegram = telegram-desktop $telegram = telegram-desktop
$pctl = playerctl $pctl = playerctl

View file

@ -45,8 +45,8 @@ window#waybar {
color: @base; color: @base;
} }
#custom-power, #custom-runner, #custom-power, #custom-runner, #battery,
#wireplumber, #wireplumber.muted, #backlight, #wireplumber, #wireplumber.muted,
#tray, #language, #clock { #tray, #language, #clock {
background: @mantle; background: @mantle;
border-radius: 14px; border-radius: 14px;
@ -63,11 +63,11 @@ window#waybar {
padding: 0px 10px; padding: 0px 10px;
} }
#tray { #tray, #battery {
padding: 0px 10px; padding: 0px 10px;
} }
#wireplumber, #wireplumber.muted { #backlight, #wireplumber, #wireplumber.muted {
padding: 0px 10px; padding: 0px 10px;
min-width: 55px; min-width: 55px;
} }

View file

@ -1,43 +1,60 @@
{ {
"position": "bottom", "position": "bottom",
"height": 31, "height": 31,
"width": 900, "width": 900,
"spacing": 0, "spacing": 0,
"margin-bottom": 5, "margin-bottom": 5,
"layer": "top", "layer": "top",
"modules-left": ["custom/power", "custom/runner"], "modules-left": ["custom/power", "custom/runner", "tray"],
"modules-center": ["hyprland/workspaces"], "modules-center": ["hyprland/workspaces"],
"modules-right": ["tray", "wireplumber", "hyprland/language", "clock"], "modules-right": ["wireplumber", "backlight", "battery", "hyprland/language", "clock"],
"custom/power": { "custom/power": {
"format": "", "format": "",
"on-click": "~/.config/hypr/bin/powermenu" "on-click": "~/.config/hypr/bin/powermenu"
}, },
"custom/runner": { "custom/runner": {
"format": "", "format": "",
"on-click": "~/.config/hypr/bin/runner" "on-click": "hyprlauncher"
}, },
"hyprland/workspaces": { "hyprland/workspaces": {
"format": "{name}", "format": "{name}",
"on-click": "activate", "on-click": "activate",
"tooltip": false, "tooltip": false,
"persistent_workspaces": { "persistent_workspaces": {
"*": 1 "*": 1
} }
}, },
"tray": { "tray": {
"icon-size": 14, "icon-size": 14,
"spacing": 15 "spacing": 15
}, },
"wireplumber": { "battery": {
"bat": "qcom-battery",
"interval": 60,
"states": {
"warning": 30,
"critical": 15
},
"format": "{capacity}% ",
"max-length": 25
},
"backlight": {
"device": "ktz8866-backlight",
"format": "{percent}% ",
"format-icons": ["", ""]
},
"wireplumber": {
"scroll-step": 2, "scroll-step": 2,
"format": "{icon} {volume}%", "format": "{icon} {volume}%",
"format-icons":["", "", ""], "format-icons":["", "", ""],
"format-muted": " mute", "format-muted": " mute",
"on-click": "pavucontrol", "on-click": "pavucontrol",
"max-volume": 100 "max-volume": 100
}, },
@ -51,7 +68,7 @@
"clock": { "clock": {
"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": " {:%Y-%m-%d}", "format-alt": " {:%Y-%m-%d}",
"format": "{:%H:%M}", "format": "{:%H:%M}",
"timezone": "Asia/Yekaterinburg" "timezone": "Asia/Yekaterinburg"
} }
} }