Created
February 22, 2023 21:33
-
-
Save stuart-warren/bdf33fcbd95c3ecec10f070cc32b0df0 to your computer and use it in GitHub Desktop.
Diff of sway config changes from default /etc/sway/config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10a11 | |
> set $hyper Mod4+Mod1+Ctrl+Shift | |
61a63,66 | |
> input "type:keyboard" { | |
> xkb_layout us | |
> xkb_variant dvorak | |
> } | |
74c79 | |
< bindsym $mod+d exec $menu | |
--- | |
> bindsym $mod+space exec $menu | |
139a145,150 | |
> # Apps: | |
> # | |
> bindsym $hyper+b exec pgrep chrome && swaymsg '[class="Chromium"] focus' || chromium | |
> bindsym $hyper+t exec pgrep foot && swaymsg '[app_id="foot"] focus' || foot | |
> | |
> # | |
157c168 | |
< bindsym $mod+Shift+space floating toggle | |
--- | |
> bindsym $mod+Shift+d floating toggle | |
160c171 | |
< bindsym $mod+space focus mode_toggle | |
--- | |
> bindsym $mod+d focus mode_toggle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
swaymsg -t get_tree | jq '.nodes[].nodes[].nodes[] | select(.window_properties.instance=="google-chrome")'