diff options
author | Thanos Apollo <[email protected]> | 2024-06-16 17:32:14 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-06-16 17:32:35 +0300 |
commit | 351c5739d4059145239819f4aa63782ef9da3abe (patch) | |
tree | f312645ab6d0fe96b1685a846fa70cf06051c549 | |
parent | a4573c4c0db0cf65159d4d82c65a5222f3eb95f0 (diff) |
sway: Update bindings & colorscheme, default to tabbed mode
-rw-r--r-- | .config/sway/config | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/.config/sway/config b/.config/sway/config index 66d612e..0ee0014 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -8,6 +8,8 @@ exec waybar bindsym $mod+z exec swaylock +workspace_layout tabbed + # Workspace switch bindsym $mod+period workspace back_and_forth @@ -51,12 +53,6 @@ smart_borders on for_window [app_id="danmufloat"] resize set height 540 for_window [app_id="danmufloat"] resize set width 960 -# Program Opacity - for_window [app_id="telegram"] opacity 0.95 - for_window [app_id="danmufloat"] opacity 0.80 - # for_window [app_id="icalingua"] opacity 0.95 - # for_window [class="netease-cloud-music"] opacity 0.90 - # Focus follows mouse focus_follows_mouse yes @@ -69,9 +65,9 @@ set $gnome-schema org.gnome.desktop.interface # client.placeholder #2e3440 #1f222d #888888 # client.urgent #D08770 #D08770 #ffffff # client.background #242424 -client.focused #2D2D2D #2D2D2D #ffffff #ffffff #c6c6c6 +client.focused #2D2D2D #000000 #ffffff #ffffff #c6c6c6 client.focused_inactive #0f1212 #0f1212 #ffffff #0f1212 #0f1212 -client.unfocused #2D2D2D #000000 #c6c6c6 #000000 #000000 +client.unfocused #1D1D1D #151515 #c6c6c6 #000000 #000000 client.urgent #0f1212 #FF5555 #F8F8F2 #FF5555 #FF5555 client.placeholder #000000 #000000 #F8F8F2 #000000 #000000 @@ -103,13 +99,6 @@ client.placeholder #000000 #000000 #F8F8F2 #000000 #000000 bindsym $mod+Shift+m exec kitty --class="musicfox" --hold sh -c "musicfox" bindsym $mod+Shift+d exec kitty --class="danmufloat" --hold sh -c "cd /home/ruixi/Codelearning/go/src/bilibili_live_tui/ && export TERM=xterm-256color && ./main" - bindsym $mod+Shift+x exec --no-startup-id ~/.config/sway/swaylock.sh - bindsym $mod+t exec --no-startup-id telegram-desktop - bindsym $mod+bracketleft exec --no-startup-id grimshot --notify save area ~/Pictures/$(date "+%Y-%m-%d"T"%H:%M:%S_no_watermark").png - bindsym $mod+bracketright exec --no-startup-id grimshot --notify copy area - bindsym $mod+a exec --no-startup-id ~/.config/sway/grimshot_watermark.sh - - # Kill focused window bindsym $mod+q kill @@ -197,6 +186,7 @@ client.placeholder #000000 #000000 #F8F8F2 #000000 #000000 # Switch the current container between different layout styles bindsym $mod+s layout stacking + bindsym $mod+t layout tabbed bindsym $mod+w exec emacsclient -e '(thanos/pass-launcher)' bindsym $mod+e layout toggle split @@ -253,4 +243,4 @@ bindsym Shift+Ctrl+Up resize grow height 5 px or 5 ppt bindsym Shift+Ctrl+Down resize shrink height 5 px or 5 ppt bindsym Shift+Ctrl+Right resize grow width 5 px or 5 ppt -exec swayidle -w timeout 960 swaylock before-sleep swaylock +exec swayidle -w timeout 960 swaylock before-sleep swaylock
\ No newline at end of file |