From 5df0c930c16ea68c73108d44bea54048d068798e Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 15 Apr 2022 14:13:08 +0300 Subject: [PATCH] sway: move keybinds, add wdisplays win(-shift)-p --- conf/sway/config | 39 +++++++++++++-------------------------- 1 file changed, 13 insertions(+), 26 deletions(-) diff --git a/conf/sway/config b/conf/sway/config index e66689a3..678c9b7b 100644 --- a/conf/sway/config +++ b/conf/sway/config @@ -117,14 +117,6 @@ output * bg /usr/share/backgrounds/default.png fill bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right - # alt-tab, super-g - bindsym Mod1+Tab exec --no-startup-id wofi -show window - bindsym $mod+g exec --no-startup-id wofi -show window - # super-t - bindsym $mod+t exec --no-startup-id $TEXTEDITOR - # calculator - bindsym XF86Calculator exec --no-startup-id galculator - # # Workspaces: # @@ -218,26 +210,21 @@ mode "resize" { } bindsym $mod+r mode "resize" +# +# Keybinds: +# # Lock screen bindsym Control+$mod+l exec $ScreenLockCmd - -# -# Status Bar: -# -# Read `man 5 sway-bar` for more information about this section. -bar { - position top - - # When the status_command prints a new line to stdout, swaybar updates. - # The default just shows the current date and time. - status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done - - colors { - statusline #ffffff - background #323232 - inactive_workspace #32323200 #32323200 #5c5c5c - } -} +# alt-tab, super-g +bindsym Mod1+Tab exec --no-startup-id wofi -show window +bindsym $mod+g exec --no-startup-id wofi -show window +# super-t +bindsym $mod+t exec --no-startup-id $TEXTEDITOR +# calculator +bindsym XF86Calculator exec --no-startup-id galculator +# Known from Windows display configuration +bindsym $mod+p exec wdisplays +bindsym $mod+Shift+p exec wdisplays # Reveal xwayland for_window [shell=".*"] title_format "%title :: %shell"