feat\!: switch to Hyprland. Touchscreen gestures not implemented properly

This commit is contained in:
matt1432 2023-06-06 11:45:04 -04:00
parent 1d43d899ee
commit ce51ddb46e
29 changed files with 558 additions and 567 deletions

View file

@ -5,19 +5,12 @@
"margin-left":5,
"margin-right":5,
"spacing": 1,
"modules-left": ["custom/osk", "custom/tablet", "sway/workspaces", "sway/mode", "tray", "custom/mowayah"],
"modules-center": ["sway/window"],
"modules-left": ["custom/osk", "custom/tablet", "wlr/workspaces", "tray", "custom/mowayah"],
"modules-center": ["hyprland/window"],
"modules-right": ["pulseaudio", "backlight", "battery", "clock", "custom/quicksettings"],
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
"icon-size": 26,
"spacing": 5
@ -78,9 +71,6 @@
},
"on-click": "amixer -D pipewire sset Master toggle-mute"
},
"sway/workspaces": {
"format":" {name} ",
},
"custom/osk": {
"format":" 󰌌 ",
"on-click": "$HOME/.config/sway/scripts/tablet/osk-toggle.sh",
@ -91,11 +81,25 @@
"format":"  ",
"on-click": "$HOME/.config/waybar/scripts/quick-toggle.sh",
"restart-interval": 1,
},
"wlr/workspaces": {
//"format": "{icon}",
"on-click": "activate",
"format-icons": {
"1": "",
"2": "",
"3": "",
"4": "",
"4": "",
"urgent": "",
"active": "",
"default": ""
}
},
"custom/tablet": {
"format":" 󰦧 ",
// "on-click": "$HOME/.config/sway/scripts/tablet/tablet-toggle.sh",
//"on-click": "$HOME/.config/sway/scripts/tablet/tablet-toggle.sh",
"restart-interval": 1,
},

View file

@ -4,5 +4,5 @@ if [[ $(eww state | grep calendar_month) ]]; then
$HOME/.config/eww/scripts/close.sh date && eww close closer
else
$HOME/.config/eww/scripts/close-opened.sh
$HOME/.config/eww/scripts/open.sh date && eww open closer
eww open closer && $HOME/.config/eww/scripts/open.sh date
fi

View file

@ -4,5 +4,5 @@ if [[ $(eww state | grep br_icon) ]]; then
$HOME/.config/eww/scripts/close.sh actions && eww close closer
else
$HOME/.config/eww/scripts/close-opened.sh
$HOME/.config/eww/scripts/open.sh actions && eww open closer
eww open closer && $HOME/.config/eww/scripts/open.sh actions
fi

View file

@ -39,31 +39,32 @@
border-radius: 80px;
background-clip: padding-box;
}
#workspaces button {
border-radius: 80px;
padding: 0 5px;
color: #7984A4;
background-color: transparent;
box-shadow: inset 0 -3px transparent;
border: none;
min-width: 25px;
/*color: #74C7EC;*/
color: #CDD6F4;
font-size: 16px;
border-radius: 80px;
}
#workspaces button:hover {
background-color: #7F849C;
}
#workspaces button.focused {
color: #bf616a;
}
#workspaces button.active {
background-color: #616578;
color: #CBA6F7;
font-weight: bolder;
}
#workspaces button.urgent {
color: #F80000;
background-color: #F80000;
}
#backlight {
color: #F9E2AF;
}