1
0
Fork 0

some waybar fixes

This commit is contained in:
Massaki Archambault 2019-09-17 19:31:13 -04:00
parent 4856cbb0eb
commit a897858a9c
2 changed files with 19 additions and 17 deletions

View File

@ -19,19 +19,19 @@ client.background $bg
# is used in the bar {} block below. # is used in the bar {} block below.
font pango:sans 8 font pango:sans 8
set $ws1 "1" set $ws1 1
set $ws2 "2" set $ws2 2
set $ws3 "3" set $ws3 3
set $ws4 "4" set $ws4 4
set $ws5 "5" set $ws5 5
set $ws6 "6" set $ws6 6
set $ws7 "7" set $ws7 7
set $ws8 "8" set $ws8 8
set $ws9 "9" set $ws9 9
set $ws10 "10" set $ws10 10
# default workspace # default workspace
workspace "2" workspace $ws2
# window title # window title
#for_window [class="^.*"] border pixel 2 title_format " %title" #for_window [class="^.*"] border pixel 2 title_format " %title"
@ -72,9 +72,11 @@ for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable
for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable
for_window [title="^Steam Keyboard$"] floating enable for_window [title="^Steam Keyboard$"] floating enable
## Application assignement # https://github.com/Alexays/Waybar/issues/63
assign [class="[Ss]lack"] 1 for_window [app_id="waybar" floating] {
assign [class="[Dd]iscord"] 1 move position cursor
move down 120px # adjust if some menus still don't fit
}
### Output configuration ### Output configuration
output "*" { output "*" {
@ -234,8 +236,8 @@ bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10 bindsym $mod+Shift+0 move container to workspace $ws10
# Assignation # Assignation
assign [class="^Slack$"] $ws1 assign [class="^[Ss]lack$"] $ws1
assign [class="^discord$"] $ws1 assign [class="^[Dd]iscord$"] $ws1
assign [class="^looking-glass-client$"] $ws3 assign [class="^looking-glass-client$"] $ws3
# screen # screen

View File

@ -10,7 +10,7 @@
// Modules configuration // Modules configuration
"sway/workspaces": { "sway/workspaces": {
"disable-scroll": true, "disable-scroll": true,
"all-outputs": true, "all-outputs": false,
"format": "{name}" "format": "{name}"
}, },
"sway/mode": { "sway/mode": {