aboutsummaryrefslogtreecommitdiff
path: root/dot-config/swayimg/config
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2024-12-12 10:30:17 +0000
committerBlake Romero <blake@blkrom.com>2024-12-12 10:30:17 +0000
commit93d39cd8e6e6fabb2e73e152badda368334e436d (patch)
tree37e83b9e7b898ef137a9628554a3375f62cdfafe /dot-config/swayimg/config
parent05fe634f2600a128c25801e224ae56d2c9a2b626 (diff)
Add swayimg keybindings & actions
Diffstat (limited to 'dot-config/swayimg/config')
-rw-r--r--dot-config/swayimg/config25
1 files changed, 20 insertions, 5 deletions
diff --git a/dot-config/swayimg/config b/dot-config/swayimg/config
index a29e744..fbf0287 100644
--- a/dot-config/swayimg/config
+++ b/dot-config/swayimg/config
@@ -125,6 +125,10 @@ bottom_right = name,status
F1 = help
Home = first_file
End = last_file
+n = next_file
+p = prev_file
+semicolon = next_file
+l = prev_file
Prior = prev_file
Next = next_file
Space = next_file
@@ -136,7 +140,7 @@ c = skip_file
Shift+s = slideshow
s = animation
f = fullscreen
-Return = mode
+v = mode
g = mode
Left = step_left 10
Right = step_right 10
@@ -159,9 +163,10 @@ Shift+m = flip_horizontal
a = antialiasing
r = reload
i = info
-Shift+Delete = exec rm "%"; skip_file
Escape = exit
q = exit
+Tab = mode
+Return = mode
# Mouse related
ScrollLeft = step_right 5
ScrollRight = step_left 5
@@ -173,6 +178,9 @@ Shift+ScrollUp = prev_file
Shift+ScrollDown = next_file
Alt+ScrollUp = prev_frame
Alt+ScrollDown = next_frame
+# Actions
+Ctrl+w = exec ln -fs % ~/.cache/wallpaper && swaymsg "output * bg ~/.cache/wallpaper fill"
+Ctrl+Delete = exec rm "%"; skip_file
################################################################################
# Gallery mode key binding configuration: key = action [parameters]
@@ -180,6 +188,8 @@ Alt+ScrollDown = next_frame
[keys.gallery]
F1 = help
Space = next_file
+n = next_file
+p = prev_file
Home = first_file
End = last_file
Left = step_left
@@ -190,20 +200,25 @@ Prior = page_up
Next = page_down
c = skip_file
f = fullscreen
-Return = mode
a = antialiasing
r = reload
i = info
Shift+Delete = exec rm "%"; skip_file
Escape = exit
q = exit
+v = mode
+Tab = mode
+Return = mode
# Mouse related
ScrollLeft = step_right
ScrollRight = step_left
ScrollUp = step_up
ScrollDown = step_down
# Vim
-j = setup_up
-k = setup_down
+j = step_up
+k = step_down
l = step_left
semicolon = step_right
+# Actions
+Ctrl+w = exec ln -fs % ~/.cache/wallpaper && swaymsg "output * bg ~/.cache/wallpaper fill"
+Ctrl+Delete = exec rm "%"; skip_file