Compare commits
3 commits
c4a7b9bc40
...
a4e7c0d67f
Author | SHA1 | Date | |
---|---|---|---|
a4e7c0d67f | |||
65f328d09f | |||
ddbc36926d |
2 changed files with 10 additions and 6 deletions
|
@ -102,6 +102,7 @@ bindsym $mod+q focus child
|
||||||
|
|
||||||
# Define names for default workspaces for which we configure key bindings later on.
|
# Define names for default workspaces for which we configure key bindings later on.
|
||||||
# We use variables to avoid repeating the names in multiple places.
|
# We use variables to avoid repeating the names in multiple places.
|
||||||
|
set $ws0 "0"
|
||||||
set $ws1 "1"
|
set $ws1 "1"
|
||||||
set $ws2 "2"
|
set $ws2 "2"
|
||||||
set $ws3 "3"
|
set $ws3 "3"
|
||||||
|
@ -116,6 +117,7 @@ set $ws11 "11"
|
||||||
set $ws12 "12"
|
set $ws12 "12"
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
|
bindsym $mod+grave workspace $ws0
|
||||||
bindsym $mod+1 workspace $ws1
|
bindsym $mod+1 workspace $ws1
|
||||||
bindsym $mod+2 workspace $ws2
|
bindsym $mod+2 workspace $ws2
|
||||||
bindsym $mod+3 workspace $ws3
|
bindsym $mod+3 workspace $ws3
|
||||||
|
@ -130,6 +132,7 @@ bindsym $mod+minus workspace $ws11
|
||||||
bindsym $mod+equal workspace $ws12
|
bindsym $mod+equal workspace $ws12
|
||||||
|
|
||||||
# move focused container to workspace
|
# move focused container to workspace
|
||||||
|
bindsym $mod+Shift+grave move container to workspace $ws0
|
||||||
bindsym $mod+Shift+1 move container to workspace $ws1
|
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||||
bindsym $mod+Shift+2 move container to workspace $ws2
|
bindsym $mod+Shift+2 move container to workspace $ws2
|
||||||
bindsym $mod+Shift+3 move container to workspace $ws3
|
bindsym $mod+Shift+3 move container to workspace $ws3
|
||||||
|
@ -172,9 +175,9 @@ bindsym XF86AudioPrev exec --no-startup-id mpc prev
|
||||||
bindsym XF86AudioStop exec --no-startup-id mpc stop
|
bindsym XF86AudioStop exec --no-startup-id mpc stop
|
||||||
|
|
||||||
# dunst control
|
# dunst control
|
||||||
bindsym $mod+period exec dunstctl close
|
bindsym $mod+comma exec dunstctl close
|
||||||
bindsym $mod+Shift+period exec dunstctl close-all
|
bindsym $mod+Shift+comma exec dunstctl close-all
|
||||||
bindsym $mod+comma exec dunstctl history-pop
|
bindsym $mod+period exec dunstctl history-pop
|
||||||
|
|
||||||
# open login screen on another vt (virtual terminal)
|
# open login screen on another vt (virtual terminal)
|
||||||
bindsym $mod+Shift+XF86HomePage exec "dm-tool switch-to-greeter"
|
bindsym $mod+Shift+XF86HomePage exec "dm-tool switch-to-greeter"
|
||||||
|
@ -271,13 +274,14 @@ bar {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
workspace $ws0 output $screen1
|
||||||
workspace $ws1 output $screen1
|
workspace $ws1 output $screen1
|
||||||
workspace $ws2 output $screen1
|
workspace $ws2 output $screen1
|
||||||
workspace $ws3 output $screen1
|
workspace $ws3 output $screen1
|
||||||
workspace $ws4 output $screen1
|
workspace $ws4 output $screen1
|
||||||
workspace $ws5 output $screen1
|
workspace $ws5 output $screen1
|
||||||
workspace $ws6 output $screen1
|
|
||||||
|
|
||||||
|
workspace $ws6 output $screen2
|
||||||
workspace $ws7 output $screen2
|
workspace $ws7 output $screen2
|
||||||
workspace $ws8 output $screen2
|
workspace $ws8 output $screen2
|
||||||
workspace $ws9 output $screen2
|
workspace $ws9 output $screen2
|
||||||
|
@ -287,4 +291,4 @@ workspace $ws11 output $screen0
|
||||||
workspace $ws12 output $screen0
|
workspace $ws12 output $screen0
|
||||||
|
|
||||||
# start autolock
|
# start autolock
|
||||||
exec_always xautolock -time 5 -locker "fuzzy-i3lock"
|
exec_always xautolock -time 5 -locker "fuzzy-i3lock 37c3"
|
||||||
|
|
|
@ -11,7 +11,7 @@ screenshot="${TMPDIR:-/tmp}/fuzzy-i3lock.png"
|
||||||
scrot -o "$screenshot"
|
scrot -o "$screenshot"
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
"37c3") mogrify -scale 10% -scale 1000% -blur 0x1 -dither FloydSteinberg -colors 32 "$screenshot"
|
"37c3") mogrify -scale 10% -scale 500% -dither FloydSteinberg -colors 32 -scale 200% "$screenshot"
|
||||||
;;
|
;;
|
||||||
*) mogrify -scale 10% -scale 1000% "$screenshot"
|
*) mogrify -scale 10% -scale 1000% "$screenshot"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue