dots - my configuration files
config##hostname.empy (5685B) - raw
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | # display settings output eDP-1 pos 3840 1080 res 1920x1080 scale 1 output DP-5 pos 0 0 res 3840x2160 scale 1 output DP-6 pos 0 0 res 3840x2160 scale 1 # start xdg-desktop-portal (screen sharing) exec --no-startup-id /usr/lib/xdg-desktop-portal -r & /usr/lib/xdg-desktop-portal-wlr # dynamic wallpaper exec wallpaper # winkey set $mod mod4 set $left h set $down j set $up k set $right l # keeb settings input "type:keyboard" { xkb_layout us repeat_delay 250 repeat_rate 60 } # make trackpoint tolerable input "2:10:TPPS/2_IBM_TrackPoint" { accel_profile flat pointer_accel 1 } # disable touchpad input "1739:0:Synaptics_TM3276-022" { events disabled } # sway theme set $font 'Hack Nerd Font Mono' set $cursor_theme 'Neutral' set $cursor_size 16 seat seat0 hide_cursor 5000 seat seat0 xcursor_theme $cursor_theme $cursor_size exec_always { gsettings set org.gnome.desktop.interface cursor-theme $cursor_theme gsettings set org.gnome.desktop.interface cursor-size $cursor_size gsettings set org.gnome.desktop.interface font-name $font } font $font 12 titlebar_padding 2 default_border pixel 5 gaps inner 5 # class border bg text indicator child_border client.focused #98c379 #98c379 #000000 #98c379 #98c379 client.focused_inactive #333333 #222222 #ffffff #484e50 #3e4452 client.unfocused #333333 #222222 #eeeeee #292d2e #3e4452 client.urgent #2f343a #900000 #ffffff #900000 #900000 client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c # yambar # exec yambar # restart bar # bindsym $mod+shift+y exec "killall yambar; yambar" # waybar exec waybar bindsym $mod+shift+y exec "killall waybar; waybar" # lock settings set $sleep screen-lock bindsym ctrl+alt+delete exec $sleep exec swayidle timeout 900 $sleep \ timeout 1200 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' # brightness control bindsym XF86MonBrightnessUp exec xbacklight -inc 10 bindsym XF86MonBrightnessDown exec xbacklight -dec 10 bindsym $mod+shift+equal exec xbacklight -inc 10 bindsym $mod+shift+minus exec xbacklight -dec 10 # terminal bindsym $mod+return exec launch-terminal # kill focused window bindsym $mod+shift+q kill # rofi bindsym $mod+space exec rofi -show run # rofi+pass bindsym $mod+p exec tessen # sshot bindsym $mod+s exec grim -g "$(slurp)" - | swappy -f - # screencast bindsym $mod+shift+s exec screen-record # snippet bindsym $mod+n exec snippet-rofi # color picker bindsym $mod+c exec hyprpicker --autocopy # toggle horizontal/vertical bindsym $mod+d layout toggle split bindsym $mod+apostrophe splitv bindsym $mod+semicolon splith # toggle layout bindsym $mod+t layout toggle all # fullscreen bindsym $mod+f fullscreen # floating/tiled toggle bindsym $mod+shift+f floating toggle # drag floating windows floating_modifier $mod normal # notifications exec mako # audio set $WOBSOCK $XDG_RUNTIME_DIR/wob.sock exec rm -f $WOBSOCK && mkfifo $WOBSOCK && tail -f $WOBSOCK | wob # volume control bindsym $mod+equal exec pactl set-sink-volume 0 +2% && pactl get-sink-volume 0 | awk '{print $12}' | tr -d '%' | head -1 > $WOBSOCK bindsym $mod+minus exec pactl set-sink-volume 0 -2% && pactl get-sink-volume 0 | awk '{print $12}' | tr -d '%' | head -1 > $WOBSOCK bindsym $mod+0 exec pactl set-sink-mute 0 toggle && pactl get-sink-volume 0 | awk '{print $12}' | tr -d '%' | head -1 > $WOBSOCK bindsym $mod+shift+0 exec pactl set-source-mute 0 toggle # media control bindsym $mod+m exec rofimpd bindsym $mod+slash exec mpc toggle bindsym $mod+period exec mpc next bindsym $mod+comma exec mpc prev bindsym $mod+shift+comma exec mpc seek -5 bindsym $mod+shift+period exec mpc seek +5 # reload sway bindsym $mod+shift+r reload # quit sway bindsym $mod+shift+x exec swaynag -t warning \ -m 'is you finished or is you done?' -b 'ye' 'swaymsg exit' # switch windows bindsym $mod+$left focus left bindsym $mod+$down focus down bindsym $mod+$up focus up bindsym $mod+$right focus right # move windows bindsym $mod+shift+$left move left bindsym $mod+shift+$down move down bindsym $mod+shift+$up move up bindsym $mod+shift+$right move right # switch workspaces bindsym $mod+b workspace "main" bindsym $mod+g workspace "goog" 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 # move windows to workspaces bindsym $mod+shift+b move container to workspace "main" bindsym $mod+shift+g move container to workspace "goog" 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 # resize mode mode "resize" { bindsym $left resize shrink width 10px bindsym $down resize grow height 10px bindsym $up resize shrink height 10px bindsym $right resize grow width 10px # return to default mode bindsym return mode "default" bindsym escape mode "default" bindsym $mod+r mode "default" } bindsym $mod+r mode "resize" # wlsunset exec brightness-adjust # noisetorch exec "sleep 4 && noisetorch -i" |