small changes
This commit is contained in:
parent
85a5ddf4c4
commit
91f08ccb9e
@ -2,5 +2,4 @@ theme = "onedark"
|
||||
|
||||
[editor]
|
||||
line-number = "relative"
|
||||
mouse = false
|
||||
|
||||
|
11
sway-clamshell.sh
Executable file
11
sway-clamshell.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
LID_STATE=$(cat /proc/acpi/button/lid/*/state)
|
||||
|
||||
case "$LID_STATE" in
|
||||
*open) ACTION="enable" ;;
|
||||
*closed) ACTION="disable" ;;
|
||||
*) echo "unable to identify lid state"; exit ;;
|
||||
esac
|
||||
|
||||
swaymsg output "eDP-1" $ACTION
|
@ -55,7 +55,7 @@ output * bg ~/.local/share/wallpapers/lambda-bg-dark.png fill
|
||||
|
||||
input * {
|
||||
# keyboard options
|
||||
xkb_layout de,us
|
||||
xkb_layout us,de
|
||||
xkb_options "grp:win_space_toggle"
|
||||
|
||||
# touchpad options
|
||||
@ -229,10 +229,10 @@ bindsym $mod+m exec sh -c "swaylock --color 101010 & systemctl suspend"
|
||||
exec gnome-keyring-daemon -r -d
|
||||
|
||||
# Make Gnome Shell available
|
||||
bindsym $mod+Shift+g exec gnome-shell --nested
|
||||
|
||||
bindsym $mod+Shift+g exec MUTTER_DEBUG_DUMMY_MODE_SPECS=1700x1080 gnome-shell --nested --wayland
|
||||
bindsym Print exec grim -g "$(slurp)" - | wl-copy
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
|
||||
exec_always ~/.config/sway/clamshell.sh
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user