From 97e6fdca0e52f6ec039c291bc7ce2d0c553d962b Mon Sep 17 00:00:00 2001 From: k4rli Date: Wed, 31 Dec 2025 15:03:10 +0200 Subject: [PATCH] disable some unused sway config parts, keep it more basic --- home_dotfiles/.config/sway/config | 35 +++++++++++++------------------ 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/home_dotfiles/.config/sway/config b/home_dotfiles/.config/sway/config index b63bb98..ad46071 100644 --- a/home_dotfiles/.config/sway/config +++ b/home_dotfiles/.config/sway/config @@ -219,16 +219,16 @@ bindsym $mod+Ctrl+r reload bindsym $mod+Shift+e exec swaynag -t warning -m 'Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' ## Session // Reboot // <> b ## -bindsym $mod+Shift+b exec systemctl reboot +#bindsym $mod+Shift+b exec systemctl reboot ## Session // Power Down // <> p ## -bindsym $mod+Shift+p exec systemctl poweroff +#bindsym $mod+Shift+p exec systemctl poweroff ## Session // Lock Screen // <> Escape ## bindsym $mod+Escape exec swaylock -f -c 000000 ## Session // Sleep // <> s ## -bindsym $mod+Shift+s exec systemctl suspend +#bindsym $mod+Shift+s exec systemctl suspend ############################################################################### # Custom scripts (OSRS mode) @@ -238,7 +238,6 @@ set $osrs_scripts /home/raga/repos/linux/sway-new-config/scripts/osrs set $osrs_mode OSRS #bindsym f12 mode "$osrs_mode" - mode "$osrs_mode" { bindsym q exec $osrs_scripts/osrs-drop.sh bindsym w exec $osrs_scripts/osrs-click.sh @@ -257,10 +256,10 @@ mode "$osrs_mode" { ############################################################################### ## Modify // Settings // <> c ## -bindsym $mod+c exec env XDG_CURRENT_DESKTOP=GNOME gnome-control-center +#bindsym $mod+c exec env XDG_CURRENT_DESKTOP=GNOME gnome-control-center ## Modify // Display Settings // <> d ## -bindsym $mod+d exec wdisplays +#bindsym $mod+d exec wdisplays ## Modify // Wifi Settings // <> w ## bindsym $mod+w exec nm-connection-editor @@ -341,7 +340,7 @@ bindsym $mod+Ctrl+Shift+Tab workspace prev_on_output bindsym $mod+Ctrl+h workspace prev_on_output ## Navigate // Scratchpad // <> a ## -bindsym $mod+Ctrl+a scratchpad show +#bindsym $mod+Ctrl+a scratchpad show ############################################################################### # Window and Workspace Configuration @@ -372,10 +371,10 @@ bindsym $mod+Ctrl+Shift+k move workspace to output up bindsym $mod+Ctrl+Shift+l move workspace to output right ## Modify // Vertical Window Orientation // <> v ## -bindsym $mod+v splitv +#bindsym $mod+v splitv ## Modify // Horizontal Window Orientation // <> g ## -bindsym $mod+g splith +#bindsym $mod+g splith ## Modify // Toggle Window Orientation // <> BackSpace ## bindsym $mod+BackSpace split toggle @@ -387,13 +386,13 @@ bindsym $mod+f fullscreen toggle bindsym $mod+Shift+f floating toggle ## Modify // Move to Scratchpad // <> m ## -bindsym $mod+Ctrl+m move to scratchpad +#bindsym $mod+Ctrl+m move to scratchpad ## Modify // Tile/Float Focus Toggle // <> t ## -bindsym $mod+Shift+t focus mode_toggle +#bindsym $mod+Shift+t focus mode_toggle ## Modify // Window Layout Mode // <> t ## -bindsym $mod+t layout toggle tabbed splith splitv +#bindsym $mod+t layout toggle tabbed splith splitv # Move focused container to workspace ## Modify // Move Window to Workspace 1 - 10 // <> 0..9 ## @@ -444,14 +443,14 @@ bindsym $mod+$alt+$ws_high_key+$ws8_key move container to workspace number $ws18 bindsym $mod+$alt+$ws_high_key+$ws9_key move container to workspace number $ws19; workspace number $ws19 # Layout bindings (matching i3 defaults) -bindsym $mod+s layout stacking -bindsym $mod+e layout toggle split +#bindsym $mod+s layout stacking +#bindsym $mod+e layout toggle split # Move the currently focused window to the scratchpad -bindsym $mod+Shift+minus move scratchpad +#bindsym $mod+Shift+minus move scratchpad # Show the next scratchpad window or hide the focused scratchpad window. -bindsym $mod+minus scratchpad show +#bindsym $mod+minus scratchpad show ############################################################################### # Resize Mode @@ -521,13 +520,11 @@ bar { position bottom mode dock height $dp1_bar_height - #font pango:monospace 10 font $dp1_bar_font separator_symbol " " strip_workspace_numbers yes workspace_min_width 36 - # Try to use i3status-rust for better functionality, fallback to basic status status_command i3status-rs ~/.config/sway/i3status-rust.toml || while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done colors { @@ -548,13 +545,11 @@ bar { position bottom mode dock height $dp2_bar_height - #font pango:monospace 10 font $dp2_bar_font separator_symbol " " strip_workspace_numbers yes workspace_min_width 36 - # Try to use i3status-rust for better functionality, fallback to basic status status_command i3status-rs ~/.config/sway/i3status-rust.toml || while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done colors {