From 3c1df26fc97b63ae7f21a96ecd8cb75b08a1bcb8 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Tue, 26 Dec 2023 05:10:25 +0800 Subject: [PATCH] chore: remove useless config - i3 --- home/linux/desktop/i3/conf/i3-config | 37 ++++------------------------ 1 file changed, 5 insertions(+), 32 deletions(-) diff --git a/home/linux/desktop/i3/conf/i3-config b/home/linux/desktop/i3/conf/i3-config index 279f6a58..ba7fa232 100644 --- a/home/linux/desktop/i3/conf/i3-config +++ b/home/linux/desktop/i3/conf/i3-config @@ -153,15 +153,15 @@ bindsym $mod+Shift+n exec ~/.config/i3/scripts/empty_workspace # Multimedia Keys # volume -bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+ && pkill -RTMIN+1 i3blocks -bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%- && pkill -RTMIN+1 i3blocks +bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+ && pkill -RTMIN+1 polybar +bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%- && pkill -RTMIN+1 polybar # gradular volume control -bindsym $mod+XF86AudioRaiseVolume exec amixer -D pulse sset Master 1%+ && pkill -RTMIN+1 i3blocks -bindsym $mod+XF86AudioLowerVolume exec amixer -D pulse sset Master 1%- && pkill -RTMIN+1 i3blocks +bindsym $mod+XF86AudioRaiseVolume exec amixer -D pulse sset Master 1%+ && pkill -RTMIN+1 polybar +bindsym $mod+XF86AudioLowerVolume exec amixer -D pulse sset Master 1%- && pkill -RTMIN+1 polybar # mute -bindsym XF86AudioMute exec amixer sset Master toggle && killall -USR1 i3blocks +bindsym XF86AudioMute exec amixer sset Master toggle && killall -USR1 polybar # audio control bindsym XF86AudioPlay exec playerctl play @@ -177,10 +177,6 @@ bindsym $mod+w exec /usr/bin/firefox bindsym $mod+n exec /usr/bin/thunar bindsym Print exec scrot ~/%Y-%m-%d-%T-screenshot.png && notify-send "Screenshot saved to ~/$(date +"%Y-%m-%d-%T")-screenshot.png" - -bindsym $mod+Shift+m exec ~/.config/i3/scripts/restore-idols-monitor.sh - - ########################################## # configuration for workspace behaviour: # ########################################## @@ -238,14 +234,10 @@ exec_always --no-startup-id picom -b # for custom config: #exec_always --no-startup-id picom --config ~/.config/picom.conf - ############################################# # autostart applications/services on login: # ############################################# -#get auth work with polkit-gnome -exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 - # dex execute .desktop files + apps using /etc/xdg/autostart. exec --no-startup-id dex --autostart --environment i3 @@ -339,22 +331,3 @@ client.background $base # Start Polybar exec_always --no-startup-id $HOME/.config/polybar/launch.sh --shapes -##################################### -# Application menu handled by rofi: # -##################################### - -## rofi bindings fancy application menu ($mod+d /F9 optional disabled) - -bindsym $mod+d exec rofi -modi drun -show drun \ - -config ~/.config/rofi/rofidmenu.rasi \ - -dpi 162 - -## rofi bindings for window menu ($mod+t /F10 optional disabled) -bindsym $mod+t exec rofi -show window \ - -config ~/.config/rofi/rofidmenu.rasi \ - -dpi 162 - -## rofi bindings to manage clipboard (install rofi-greenclip from the AUR) -#exec --no-startup-id greenclip daemon>/dev/null -#bindsym $mod+c exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard \ -# -config ~/.config/rofi/rofidmenu.rasi