disable some unused sway config parts, keep it more basic
This commit is contained in:
@@ -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'
|
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 // <><Shift> b ##
|
## Session // Reboot // <><Shift> b ##
|
||||||
bindsym $mod+Shift+b exec systemctl reboot
|
#bindsym $mod+Shift+b exec systemctl reboot
|
||||||
|
|
||||||
## Session // Power Down // <><Shift> p ##
|
## Session // Power Down // <><Shift> p ##
|
||||||
bindsym $mod+Shift+p exec systemctl poweroff
|
#bindsym $mod+Shift+p exec systemctl poweroff
|
||||||
|
|
||||||
## Session // Lock Screen // <> Escape ##
|
## Session // Lock Screen // <> Escape ##
|
||||||
bindsym $mod+Escape exec swaylock -f -c 000000
|
bindsym $mod+Escape exec swaylock -f -c 000000
|
||||||
|
|
||||||
## Session // Sleep // <><Shift> s ##
|
## Session // Sleep // <><Shift> s ##
|
||||||
bindsym $mod+Shift+s exec systemctl suspend
|
#bindsym $mod+Shift+s exec systemctl suspend
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Custom scripts (OSRS mode)
|
# Custom scripts (OSRS mode)
|
||||||
@@ -238,7 +238,6 @@ set $osrs_scripts /home/raga/repos/linux/sway-new-config/scripts/osrs
|
|||||||
set $osrs_mode OSRS
|
set $osrs_mode OSRS
|
||||||
|
|
||||||
#bindsym f12 mode "$osrs_mode"
|
#bindsym f12 mode "$osrs_mode"
|
||||||
|
|
||||||
mode "$osrs_mode" {
|
mode "$osrs_mode" {
|
||||||
bindsym q exec $osrs_scripts/osrs-drop.sh
|
bindsym q exec $osrs_scripts/osrs-drop.sh
|
||||||
bindsym w exec $osrs_scripts/osrs-click.sh
|
bindsym w exec $osrs_scripts/osrs-click.sh
|
||||||
@@ -257,10 +256,10 @@ mode "$osrs_mode" {
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
## Modify // Settings // <> c ##
|
## 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 ##
|
## Modify // Display Settings // <> d ##
|
||||||
bindsym $mod+d exec wdisplays
|
#bindsym $mod+d exec wdisplays
|
||||||
|
|
||||||
## Modify // Wifi Settings // <> w ##
|
## Modify // Wifi Settings // <> w ##
|
||||||
bindsym $mod+w exec nm-connection-editor
|
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
|
bindsym $mod+Ctrl+h workspace prev_on_output
|
||||||
|
|
||||||
## Navigate // Scratchpad // <><Ctrl> a ##
|
## Navigate // Scratchpad // <><Ctrl> a ##
|
||||||
bindsym $mod+Ctrl+a scratchpad show
|
#bindsym $mod+Ctrl+a scratchpad show
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Window and Workspace Configuration
|
# 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
|
bindsym $mod+Ctrl+Shift+l move workspace to output right
|
||||||
|
|
||||||
## Modify // Vertical Window Orientation // <> v ##
|
## Modify // Vertical Window Orientation // <> v ##
|
||||||
bindsym $mod+v splitv
|
#bindsym $mod+v splitv
|
||||||
|
|
||||||
## Modify // Horizontal Window Orientation // <> g ##
|
## Modify // Horizontal Window Orientation // <> g ##
|
||||||
bindsym $mod+g splith
|
#bindsym $mod+g splith
|
||||||
|
|
||||||
## Modify // Toggle Window Orientation // <> BackSpace ##
|
## Modify // Toggle Window Orientation // <> BackSpace ##
|
||||||
bindsym $mod+BackSpace split toggle
|
bindsym $mod+BackSpace split toggle
|
||||||
@@ -387,13 +386,13 @@ bindsym $mod+f fullscreen toggle
|
|||||||
bindsym $mod+Shift+f floating toggle
|
bindsym $mod+Shift+f floating toggle
|
||||||
|
|
||||||
## Modify // Move to Scratchpad // <><Ctrl> m ##
|
## Modify // Move to Scratchpad // <><Ctrl> m ##
|
||||||
bindsym $mod+Ctrl+m move to scratchpad
|
#bindsym $mod+Ctrl+m move to scratchpad
|
||||||
|
|
||||||
## Modify // Tile/Float Focus Toggle // <><Shift> t ##
|
## Modify // Tile/Float Focus Toggle // <><Shift> t ##
|
||||||
bindsym $mod+Shift+t focus mode_toggle
|
#bindsym $mod+Shift+t focus mode_toggle
|
||||||
|
|
||||||
## Modify // Window Layout Mode // <> t ##
|
## 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
|
# Move focused container to workspace
|
||||||
## Modify // Move Window to Workspace 1 - 10 // <><Shift> 0..9 ##
|
## Modify // Move Window to Workspace 1 - 10 // <><Shift> 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
|
bindsym $mod+$alt+$ws_high_key+$ws9_key move container to workspace number $ws19; workspace number $ws19
|
||||||
|
|
||||||
# Layout bindings (matching i3 defaults)
|
# Layout bindings (matching i3 defaults)
|
||||||
bindsym $mod+s layout stacking
|
#bindsym $mod+s layout stacking
|
||||||
bindsym $mod+e layout toggle split
|
#bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
# Move the currently focused window to the scratchpad
|
# 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.
|
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||||
bindsym $mod+minus scratchpad show
|
#bindsym $mod+minus scratchpad show
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Resize Mode
|
# Resize Mode
|
||||||
@@ -521,13 +520,11 @@ bar {
|
|||||||
position bottom
|
position bottom
|
||||||
mode dock
|
mode dock
|
||||||
height $dp1_bar_height
|
height $dp1_bar_height
|
||||||
#font pango:monospace 10
|
|
||||||
font $dp1_bar_font
|
font $dp1_bar_font
|
||||||
separator_symbol " "
|
separator_symbol " "
|
||||||
strip_workspace_numbers yes
|
strip_workspace_numbers yes
|
||||||
workspace_min_width 36
|
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
|
status_command i3status-rs ~/.config/sway/i3status-rust.toml || while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done
|
||||||
|
|
||||||
colors {
|
colors {
|
||||||
@@ -548,13 +545,11 @@ bar {
|
|||||||
position bottom
|
position bottom
|
||||||
mode dock
|
mode dock
|
||||||
height $dp2_bar_height
|
height $dp2_bar_height
|
||||||
#font pango:monospace 10
|
|
||||||
font $dp2_bar_font
|
font $dp2_bar_font
|
||||||
separator_symbol " "
|
separator_symbol " "
|
||||||
strip_workspace_numbers yes
|
strip_workspace_numbers yes
|
||||||
workspace_min_width 36
|
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
|
status_command i3status-rs ~/.config/sway/i3status-rust.toml || while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done
|
||||||
|
|
||||||
colors {
|
colors {
|
||||||
|
|||||||
Reference in New Issue
Block a user