All the things

This commit is contained in:
opal
2021-12-26 23:15:20 -08:00
parent c0a14febd5
commit f4764a05df
6 changed files with 89 additions and 66 deletions

View File

@@ -15,8 +15,8 @@ set $menu dmenu_path | dmenu | xargs swaymsg exec --
default_border none
# Gaps
gaps top 4
gaps inner 5
gaps top 2
gaps inner 3
#gaps outer 3
# Hide mouse cursor after inactivity
@@ -26,10 +26,13 @@ seat * hide_cursor 4000
exec_always dunst
# Opacity
set $opacity 0.9
set $opacity 0.92
for_window [class=".*"] opacity $opacity
for_window [app_id=".*"] opacity $opacity
# Wlsunset (Night Light)
exec_always wlsunset -l 47.6, -122.3
### Output configuration
#
# Default wallpaper (more resolutions are available in /gnu/store/6d3q9f1bdfn4cchsziws33ixq2p4zjhw-sway-1.6.1/share/backgrounds/sway/)
@@ -74,6 +77,9 @@ exec swayidle -w \
# Kill focused window
bindsym $mod+Shift+q kill
# Lock SwayWM
bindsym $mod+Control+l swaylock
# Start your launcher
bindsym $mod+d exec $menu
@@ -114,29 +120,25 @@ exec swayidle -w \
bindsym $mod+Shift+Right move right
#
# Workspaces:
set $ws1 ۱
set $ws2 ۲
set $ws3 ۳
set $ws4 ۴
set $ws5 ۵
#
# Switch to workspace
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+2 move container to workspace number 2
bindsym $mod+Shift+3 move container to workspace number 3
bindsym $mod+Shift+4 move container to workspace number 4
bindsym $mod+Shift+5 move container to workspace number 5
bindsym $mod+Shift+6 move container to workspace number 6
bindsym $mod+Shift+7 move container to workspace number 7
bindsym $mod+Shift+8 move container to workspace number 8
bindsym $mod+Shift+9 move container to workspace number 9
bindsym $mod+Shift+0 move container to workspace number 10
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
# Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default.
#
@@ -207,6 +209,7 @@ bindsym $mod+r mode "resize"
# Read `man 5 sway-bar` for more information about this section.
bar {
position top
gaps 5
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.