aboutsummaryrefslogtreecommitdiff
path: root/.config/sway/config
diff options
context:
space:
mode:
authorAlec Goncharow <alec@goncharow.dev>2024-01-12 08:48:32 -0500
committerAlec Goncharow <alec@goncharow.dev>2024-01-12 08:48:32 -0500
commit803274ed25384b4ffb134f35c910347c022999fd (patch)
tree7ae72fc76bedac20c36e289afcbad0bb250369b7 /.config/sway/config
parent7ccc0f409ededaf3a19395f1bc1fb5e2686c37a0 (diff)
binding exploration
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config9
1 files changed, 7 insertions, 2 deletions
diff --git a/.config/sway/config b/.config/sway/config
index e9d8861..1379257 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -30,7 +30,7 @@ set $my-term alacritty
bindsym $mod+Return exec --no-startup-id $my-term
# kill focused window
-bindsym $mod+Shift+q kill
+bindsym $mod+Shift+q exec --no-startup-id ~/bin/safequit
# start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id fuzzel
@@ -189,6 +189,7 @@ bindsym ctrl+Mod1+Tab exec --no-startup-id "xinput set-prop 'pointer:Logitech M
#Dunst
exec_always --no-startup-id dunst
+bindsym $mod+Escape exec --no-startup-id "dunstctl close-all"
# polkit
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
@@ -217,6 +218,8 @@ bar {
# Set inner/outer gaps
gaps inner 10
gaps outer 0
+smart_gaps on
+smart_borders on
for_window {
[class="firefox"] border none
@@ -257,7 +260,9 @@ bindswitch --reload --locked lid:off output $laptop_screen enable
workspace 1 output 'LG Electronics LG ULTRAGEAR 107NTDVCR242' eDP-1
workspace 2 output 'Dell Inc. DELL P2723QE 3940MP3' eDP-1
-bindsym --release Print exec grim -g "$(slurp)" -t png - | wl-copy -t image/png
+bindsym --release Print exec ~/bin/screenshot
+bindsym --release Scroll_Lock exec ~/bin/memezoom
+bindsym --release XF86AudioMedia exec ~/bin/memezoom
# Sway display things
output 'LG Electronics LG ULTRAGEAR 107NTDVCR242' {