change sway stuff
This commit is contained in:
@@ -179,15 +179,6 @@
|
||||
bindcode $mod+Shift+19 move container to workspace $ws10
|
||||
|
||||
# shortcut applications
|
||||
bindsym $mod+F1 exec gkamus
|
||||
bindsym $mod+F2 workspace $ws2; exec subl
|
||||
bindsym $mod+F3 workspace $ws3; exec chromium-browser
|
||||
bindsym $mod+F4 workspace $ws4; exec pcmanfm
|
||||
bindsym $mod+F5 workspace $ws5; exec evince
|
||||
bindsym $mod+F6 workspace $ws6; exec audacious
|
||||
bindsym $mod+F7 workspace $ws7; exec gcolor2
|
||||
bindsym $mod+F8 workspace $ws8; exec telegram
|
||||
bindsym $mod+F9 workspace $ws9; exec go-for-it
|
||||
bindsym Print exec --no-startup-id gnome-screenshot
|
||||
bindcode $mod+9 exec swaylock --image ~/.wallpaper.jpg
|
||||
bindsym Ctrl+Shift+Space exec 1password --quick-access
|
||||
@@ -241,8 +232,6 @@
|
||||
#for_window [window_role="pop-up"] floating enable
|
||||
for_window [window_role="task_dialog"] floating enable
|
||||
for_window [title="Preferences$"] floating enable
|
||||
for_window [class="Gkamus"] floating enable
|
||||
for_window [class="Go-for-it"] floating enable
|
||||
for_window [class="Lightdm-gtk-greeter-settings"] floating enable
|
||||
for_window [class="Lxappearance"] floating enable
|
||||
for_window [class="Menu"] floating enable
|
||||
@@ -251,7 +240,6 @@
|
||||
for_window [app_id="launcher"] floating enable
|
||||
|
||||
# set specific windows to tabbed mode
|
||||
#for_window [class="Rambox"]tabbed
|
||||
#for_window [class="Signal"]tabbed
|
||||
|
||||
# assign program to workspace
|
||||
@@ -298,7 +286,6 @@
|
||||
exec thunderbird
|
||||
exec firefox
|
||||
exec nextcloud
|
||||
exec owncloud
|
||||
exec swayidle \
|
||||
before-sleep 'loginctl lock-session $XDG_SESSION_ID' \
|
||||
lock 'swaylock --image ~/.wallpaper.jpg' \
|
||||
@@ -321,11 +308,11 @@
|
||||
|
||||
# notebook
|
||||
set $laptop eDP-1
|
||||
# bindswitch --reload --locked lid:on output $laptop disable
|
||||
# bindswitch --reload lid:off output $laptop enable
|
||||
# bindswitch lid:on output $laptop disable
|
||||
# bindswitch lid:off output $laptop enable
|
||||
|
||||
# A lock command used in several places
|
||||
set $lock_script swaylock
|
||||
set $lock_script swaylock --image ~/.wallpaper.jpg
|
||||
|
||||
# A sleep command used in several places.
|
||||
# We leave a bit of time for locking to happen before putting the system to sleep
|
||||
@@ -339,9 +326,8 @@
|
||||
|
||||
# Clamshell mode or lock & sleep
|
||||
# This is a if/else statement: [ outputs_count == 1 ] && true || false
|
||||
#bindswitch --reload --locked lid:on exec '[ $(swaymsg -t get_outputs | grep name | wc -l) == 1 ] && ($sleep) || ($notify "Clamshell mode" "Laptop screen off" && swaymsg output $laptop_screen disable)'
|
||||
|
||||
#bindswitch --reload --locked lid:off output $laptop_screen enable
|
||||
bindswitch --reload --locked lid:on exec '[ $(swaymsg -t get_outputs | grep name | wc -l) == 1 ] && ($sleep) || ($notify "Clamshell mode" "Laptop screen off" && swaymsg output $laptop_screen disable)'
|
||||
bindswitch --reload --locked lid:off output $laptop_screen enable
|
||||
|
||||
# disable xwayland
|
||||
#xwayland disable
|
||||
|
||||
Reference in New Issue
Block a user