From c77fd32022a11bf6c97bca38d148a9624dff38f9 Mon Sep 17 00:00:00 2001 From: Charles D Date: Sat, 17 Jun 2023 20:56:58 -0400 Subject: [PATCH] typo correction and cleaned up config --- .config/i3/config | 22 +++++++--------------- .config/i3/keybinds.conf | 8 ++++---- 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index bf8c0a1..08aef77 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -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 diff --git a/.config/i3/keybinds.conf b/.config/i3/keybinds.conf index 59c87da..8e6f3cb 100644 --- a/.config/i3/keybinds.conf +++ b/.config/i3/keybinds.conf @@ -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