From b30e8135ef1a0eeb0ccbf1a60aa5b0ffdefcc730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Gremaud?= Date: Thu, 15 Aug 2024 23:39:49 +0200 Subject: [PATCH] Update 15.08.2024 --- config/i3/config.d/05_rules.conf | 25 +++++++++++++++++++++---- config/i3/scripts/i3_autostart | 11 ++++++++++- config/i3/scripts/rofi_powermenu | 2 +- xinitrc | 5 +++-- xprofile | 5 ----- 5 files changed, 35 insertions(+), 13 deletions(-) diff --git a/config/i3/config.d/05_rules.conf b/config/i3/config.d/05_rules.conf index 045cbe8..b81b78f 100644 --- a/config/i3/config.d/05_rules.conf +++ b/config/i3/config.d/05_rules.conf @@ -4,9 +4,12 @@ ##-- Workspace Rules ------------------------ -workspace 1 output HDMI-A-0 -workspace 2 output HDMI-A-0 +workspace 1 output DisplayPort-2 +workspace 2 output DisplayPort-2 workspace 3 output DisplayPort-0 +workspace 4 output DisplayPort-0 +workspace 9 output HDMI-A-0 +workspace 10 output HDMI-A-0 # workspace 1 output DisplayPort-0 # workspace 2 output DisplayPort-0 @@ -50,8 +53,21 @@ workspace 3 output DisplayPort-0 ## The first part of the WM_CLASS is the instance ("irssi" in this example), ## the second part is the class ("URxvt" in this example). ## -assign [class="Lxappearance|Nitrogen"] 6 -assign [class="Pavucontrol|Xfce4-power-manager-settings"] 6 +# assign [class="Lxappearance|Nitrogen"] 6 +# assign [class="Pavucontrol|Xfce4-power-manager-settings"] 6 +# Top-Left +assign [class="steam"] 3 +assign [class="spotify"] 4 + +# Top-Right +assign [class="discord"] 9 +assign [class="telegram-desktop|easyeffects"] 10 + +# Middle +# assign [class="discord"] 9 + +# Scratchpad +assign [class="keepassxc"] scratchpad ##-- Window Rules --------------------------- @@ -72,3 +88,4 @@ for_window [class="Pavucontrol|Xfce4-power-manager-settings|Nm-connection-editor for_window [class="feh|Viewnior|Gpicview|Gimp|MPlayer"] floating enable for_window [class="Kvantum Manager|qt5ct"] floating enable for_window [class="VirtualBox Manager|qemu|Qemu-system-x86_64"] floating enable +for_window [class="Keepassxc"] floating enable diff --git a/config/i3/scripts/i3_autostart b/config/i3/scripts/i3_autostart index f07fe30..5dd4e00 100755 --- a/config/i3/scripts/i3_autostart +++ b/config/i3/scripts/i3_autostart @@ -49,4 +49,13 @@ xsetroot -cursor_name left_ptr "$idir"/scripts/i3_comp # Start mpd -exec mpd & +# exec mpd & + +nm-applet & +keepassxc & +easyeffects & +discord & +# spotify & +flameshot & +# telegram-desktop & +# firefox & diff --git a/config/i3/scripts/rofi_powermenu b/config/i3/scripts/rofi_powermenu index be6b22d..94a50d2 100755 --- a/config/i3/scripts/rofi_powermenu +++ b/config/i3/scripts/rofi_powermenu @@ -82,7 +82,7 @@ run_cmd() { elif [[ "$1" == '--opt2' ]]; then confirm_run 'i3-msg exit' elif [[ "$1" == '--opt3' ]]; then - confirm_run 'mpc -q pause' 'pulsemixer --mute' 'betterlockscreen --suspend' + confirm_run 'pulsemixer --mute' 'betterlockscreen --suspend' elif [[ "$1" == '--opt4' ]]; then confirm_run 'systemctl hibernate' elif [[ "$1" == '--opt5' ]]; then diff --git a/xinitrc b/xinitrc index 59ec839..5290b60 100644 --- a/xinitrc +++ b/xinitrc @@ -47,10 +47,11 @@ xrandr --output eDP1 --mode 2560x1440 --scale 1x1 --primary xinput --set-prop "pointer:Razer Razer DeathAdder V2" 'libinput Accel Speed' -0.1 # Swap caps + escape -setxkbmap -option caps:swapescape +# setxkbmap -option caps:swapescape +setxkbmap us #~/.screenlayout/wide.sh -~/.screenlayout/swide.sh +~/.screenlayout/default.sh # Set background feh --bg-fill ~/Downloads/wp4473722-5120x1440-wallpapers.jpg diff --git a/xprofile b/xprofile index 9698ec6..516628e 100644 --- a/xprofile +++ b/xprofile @@ -19,8 +19,3 @@ xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock & nm-applet & #autocutsel -fork & #autocutsel -selection PRIMARY -fork & - -flameshot & -discord & -firefox & -spotify &