sway/waybar: visual update
This commit is contained in:
@@ -109,13 +109,13 @@ input type:keyboard {
|
|||||||
|
|
||||||
set $files fd -I "pdf$" $HOME | cut -f 4- -d "/"
|
set $files fd -I "pdf$" $HOME | cut -f 4- -d "/"
|
||||||
set $lock_screen \
|
set $lock_screen \
|
||||||
printf \
|
printf "/home/marc/.local/bin/lock.sh\nsystemctl suspend\nswaymsg reload\nshutdown now\nloginctl terminate-user marc"
|
||||||
"/home/marc/.local/bin/lock.sh\nsystemctl suspend\nswaymsg reload\nshutdown now\nloginctl terminate-user marc" \
|
#bindsym $mod+d exec dmenu_path | $bemenu -p 'run' | xargs swaymsg exec --
|
||||||
| $bemenu -p "power" \
|
bindsym $mod+d exec rofi -show drun
|
||||||
| xargs -d '\n' -r /bin/bash -c
|
#bindsym $mod+p exec $files | $bemenu -l 20 -p 'pdf' -W 0.7 | xargs -d '\n' -r xdg-open
|
||||||
bindsym $mod+d exec dmenu_path | $bemenu -p 'run' | xargs swaymsg exec --
|
bindsym $mod+p exec $files | rofi -dmenu -p ' PDF ' -i | xargs -d '\n' -r xdg-open
|
||||||
bindsym $mod+p exec $files | $bemenu -l 20 -p 'pdf' -W 0.7 | xargs -d '\n' -r xdg-open
|
#bindsym $mod+Ctrl+Backspace exec $lock_screen | $bemenu -p "power" | xargs -d '\n' -r /bin/bash -c
|
||||||
bindsym $mod+Ctrl+Backspace exec $lock_screen
|
bindsym $mod+Ctrl+Backspace exec $lock_screen | rofi -dmenu -p " ⏻ Power " | xargs -d '\n' -r /bin/bash -c
|
||||||
|
|
||||||
# Screenshot
|
# Screenshot
|
||||||
bindsym $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy
|
bindsym $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy
|
||||||
@@ -222,7 +222,7 @@ input type:keyboard {
|
|||||||
for_window [class="discord"] move container to workspace number $ws3
|
for_window [class="discord"] move container to workspace number $ws3
|
||||||
for_window [app_id="org.telegram.desktop"] move container to workspace number $ws3
|
for_window [app_id="org.telegram.desktop"] move container to workspace number $ws3
|
||||||
for_window [class="Spotify"] move container to workspace number $ws4
|
for_window [class="Spotify"] move container to workspace number $ws4
|
||||||
for_window [app_id="Joplin"] move container to workspace number $ws5
|
for_window [class="Joplin"] move container to workspace number $ws5
|
||||||
for_window [app_id="evolution"] move container to workspace number $ws8
|
for_window [app_id="evolution"] move container to workspace number $ws8
|
||||||
for_window [app_id="org.keepassxc.KeePassXC"] move container to workspace number $ws9
|
for_window [app_id="org.keepassxc.KeePassXC"] move container to workspace number $ws9
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,6 @@
|
|||||||
"modules-center": [
|
"modules-center": [
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"temperature",
|
|
||||||
"cpu",
|
|
||||||
"backlight",
|
"backlight",
|
||||||
"battery",
|
"battery",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
@@ -47,7 +45,8 @@
|
|||||||
|
|
||||||
"backlight": {
|
"backlight": {
|
||||||
// "device": "acpi_video1",
|
// "device": "acpi_video1",
|
||||||
"format": "{icon} {percent}%",
|
//"format": "{icon} {percent}%",
|
||||||
|
"format": "BRT\n{percent}%",
|
||||||
"format-icons": ["", "", "", "", "", "", "", "", ""]
|
"format-icons": ["", "", "", "", "", "", "", "", ""]
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -58,10 +57,11 @@
|
|||||||
"critical": 15
|
"critical": 15
|
||||||
},
|
},
|
||||||
// Connected to AC
|
// Connected to AC
|
||||||
//"format": "{icon} {capacity}%", // Icon: bolt
|
//"format": " {capacity}%", // Icon: bolt
|
||||||
"format": " {capacity}%", // Icon: bolt
|
"format": "CHR\n{capacity}%", // Icon: bolt
|
||||||
// Not connected to AC
|
// Not connected to AC
|
||||||
"format-discharging": "{icon} {capacity}%",
|
//"format-discharging": "{icon} {capacity}%",
|
||||||
|
"format-discharging": "BAT\n{capacity}%",
|
||||||
"format-icons": [
|
"format-icons": [
|
||||||
"", // Icon: battery-full
|
"", // Icon: battery-full
|
||||||
"", // Icon: battery-three-quarters
|
"", // Icon: battery-three-quarters
|
||||||
@@ -74,13 +74,13 @@
|
|||||||
|
|
||||||
"clock#time": {
|
"clock#time": {
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"format": "{:%I:%M}",
|
"format": "{:%I\n%M}",
|
||||||
"tooltip": false
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
"clock#date": {
|
"clock#date": {
|
||||||
"interval": 10,
|
"interval": 10,
|
||||||
"format": "{:%a %e}", // Icon: calendar-alt
|
"format": "{:%a\n%e}",
|
||||||
"tooltip-format": "{:%A, %e %B %Y}"
|
"tooltip-format": "{:%A, %e %B %Y}"
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -149,9 +149,11 @@
|
|||||||
|
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
//"scroll-step": 1,
|
//"scroll-step": 1,
|
||||||
"format": "{icon} {volume}%",
|
//"format": "{icon} {volume}%",
|
||||||
"format-bluetooth": "{icon} {volume}% ",
|
"format": "VOL\n{volume}%",
|
||||||
"format-muted": "婢 0%",
|
//"format-bluetooth": "{icon} {volume}% ",
|
||||||
|
"format-bluetooth": "BLT\n{volume}% ",
|
||||||
|
"format-muted": "MUT\n 0%",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"headphones": "",
|
"headphones": "",
|
||||||
"handsfree": "",
|
"handsfree": "",
|
||||||
|
|||||||
@@ -187,7 +187,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.urgent:hover {
|
#workspaces button.urgent:hover {
|
||||||
background-color: #b85551;
|
background-color: #ff5569;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* remove weird GTK hover effect */
|
/* remove weird GTK hover effect */
|
||||||
@@ -199,6 +199,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.focused:hover {
|
#workspaces button.focused:hover {
|
||||||
background: #75b259;
|
background: #a1b259;
|
||||||
border: #73b259;
|
border: #a1b259;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user