switch all the things

This commit is contained in:
klg 2020-02-27 08:11:19 +01:00
parent 5fe1455447
commit 81161147ec
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 5172C21B0F825C92
2 changed files with 5 additions and 1 deletions

4
config
View File

@ -80,6 +80,10 @@ bindsym XF86MonBrightnessUp exec brightnessctl s +20%
bindsym AltGr+F5 exec playerctl play-pause
bindsym Mod4+n exec --no-startup-id ~/.config/i3/scripts/i3-empty-workspace.sh
bindsym Mod4+Shift+n exec --no-startup-id ~/.config/i3/scripts/i3-move-to-empty-workspace.sh
bindsym Mod4+Control+Shift+n exec --no-startup-id ~/.config/i3/scripts/i3-move-to-empty-workspace.sh switch
mode "resize" {
bindsym Down resize grow height 10 px or 10 ppt
bindsym Escape mode default

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
workspace=$(($(i3-msg -t get_workspaces | jq ' [ .[] | .num ] | max ') + 1))
i3-msg move container to workspace $workspace