typo correction and cleaned up config

This commit is contained in:
2023-06-17 20:56:58 -04:00
parent c24bdb2878
commit c77fd32022
2 changed files with 11 additions and 19 deletions
+7 -15
View File
@@ -11,10 +11,11 @@ default_border none
smart_borders on
smart_gaps on
workspace_auto_back_and_forth yes
focus_follows_mouse no
focus_follows_mouse yes
default_border pixel 2
default_floating_border normal 0
font pango:monospace 8
focus_on_window_activation smart
set $mod Mod4
floating_modifier $mod
@@ -44,24 +45,15 @@ exec_always --no-startup-id pgrep -f '^alacritty --class mus,mus' || alacritty -
#floating_maximum_size -1 x -1
no_focus [window_role="pop-up"]
for_window [class="^.*"] border pixel 2
for_window [class="Spotify"] floating enable
for_window [class="cutefish-calculator"] floating enable
for_window [class="kcalc"] floating enable
for_window [class="Galculator"] floating enable
for_window [class="GParted"] floating enable, resize set 1550 900, border pixel 0, move position center
for_window [class="systemsettings"] floating enable
for_window [class="Spotify|cutefish-calculator|kcalc|Galculator|systemsettings|Streamdeck UI|Cheese|deepin-camera"] floating enable, border pixel 1
for_window [title="Friends List"] floating enable
for_window [class="GParted"] floating enable, resize set 1550 900, border pixel 0, move position center
for_window [class="Streamdeck UI"] floating enable, resize set 500 508
for_window [class="fm|vol|mus"] floating enable, resize set 1250 700, move scratchpad, border pixel 0
# Assign workspaces (find class with xprop)
assign [class="LibreWolf"] 2
assign [class="Firefox-esr"] 2
assign [class="firefox"] 2
assign [class="Brave-browser"] 2
assign [class="firedragon"] 2
assign [class="LibreWolf|^[Ff]irefox.*|^Brave.*|firedragon"] 2
assign [class="obs"] 5
assign [class="Signal"] 7
assign [class="discord"] 7
assign [class="Signal|discord"] 7
assign [class="Spotify"] 9
assign [class="Steam"] 10
assign [class="steam"] 10
+4 -4
View File
@@ -27,8 +27,8 @@ bindsym $mod+q kill
bindsym $mod+r mode "resize"
#bindsym $mod+Ctrl+l exec --no-startup-id betterlockscreen -l dimblur
bindsym $mod+Ctrl+Escape exec --no-startup-id "$HOME/.config/i3/i3-restore/i3save && archlinux-logout"
bindsym $mod+Ctrl+0 exec --no-startup-id "$HOME/.config/i3/i3-restore/i3save && archlinux-logout"
bindsym $mod+Ctrl+Escape exec --no-startup-id "$HOME/.config/i3/i3-restore/i3-save && archlinux-logout"
bindsym $mod+Ctrl+0 exec --no-startup-id "$HOME/.config/i3/i3-restore/i3-save && archlinux-logout"
#set $mode_system (l)ock (e)xit switch_(u)ser (s)uspend (h)ibernate (r)eboot (shift+s)hutdown
#bindsym $mod+Ctrl+Escape mode "$mode_system"
@@ -123,8 +123,8 @@ mode "resize" {
# Multimedia keys
set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status