Added shortcut in the Sway configuration for launch default file manager

This commit is contained in:
Fabio Scotto di Santolo
2025-08-12 22:46:00 +02:00
parent 16b9c5a590
commit 4cb252e8c6

View File

@@ -22,9 +22,11 @@ set $browser 'firefox'
set $notification 'mako' set $notification 'mako'
# Your preferred clipboard manager # Your preferred clipboard manager
# set $clipboard 'nwg-clipman --numbers --window'
set $clipboard 'cliphist list | fuzzel --dmenu | cliphist decode | wl-copy' set $clipboard 'cliphist list | fuzzel --dmenu | cliphist decode | wl-copy'
# Your preferred file manager
set $filemanager 'foot yazi'
# Set theme # Set theme
include themes/catppuccin-mocha include themes/catppuccin-mocha
@@ -149,6 +151,9 @@ exec_always {
# Start my clipboard manager # Start my clipboard manager
bindsym $mod+Shift+v exec $clipboard bindsym $mod+Shift+v exec $clipboard
# Start my file manager
bindsym $mod+Shift+f exec $filemanager
# Drag floating windows by holding down $mod and left mouse button. # Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod. # Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows. # Despite the name, also works for non-floating windows.
@@ -166,8 +171,6 @@ exec_always {
# Waybar toggle # Waybar toggle
bindsym $mod+o exec killall -SIGUSR1 waybar bindsym $mod+o exec killall -SIGUSR1 waybar
bindsym $mod+t exec --no-startup-id telegram-desktop
# #
# Moving around: # Moving around:
# #
@@ -319,8 +322,7 @@ bindsym $mod+r mode "resize"
bindsym XF86MonBrightnessDown exec swayosd-client --brightness -5 bindsym XF86MonBrightnessDown exec swayosd-client --brightness -5
# Special key to take a screenshot with grim # Special key to take a screenshot with grim
# bindsym Print exec ~/.config/sway/scripts/screenshot.sh # bindsym Print exec ~/.config/sway/scripts/screenshot.sh
bindsym Print exec flameshot gui -p ~/Pictures/Screenshots bindsym Print exec flameshot gui
# bindsym Print exec grim
# Lock the screen # Lock the screen
bindsym $mod+Alt+l exec $lockman bindsym $mod+Alt+l exec $lockman
# Kill focused window # Kill focused window