mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 09:48:30 +02:00
chore: remove useless config - i3
This commit is contained in:
@@ -153,15 +153,15 @@ bindsym $mod+Shift+n exec ~/.config/i3/scripts/empty_workspace
|
|||||||
# Multimedia Keys
|
# Multimedia Keys
|
||||||
|
|
||||||
# volume
|
# volume
|
||||||
bindsym XF86AudioRaiseVolume 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 i3blocks
|
bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%- && pkill -RTMIN+1 polybar
|
||||||
|
|
||||||
# gradular volume control
|
# gradular volume control
|
||||||
bindsym $mod+XF86AudioRaiseVolume 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 i3blocks
|
bindsym $mod+XF86AudioLowerVolume exec amixer -D pulse sset Master 1%- && pkill -RTMIN+1 polybar
|
||||||
|
|
||||||
# mute
|
# mute
|
||||||
bindsym XF86AudioMute exec amixer sset Master toggle && killall -USR1 i3blocks
|
bindsym XF86AudioMute exec amixer sset Master toggle && killall -USR1 polybar
|
||||||
|
|
||||||
# audio control
|
# audio control
|
||||||
bindsym XF86AudioPlay exec playerctl play
|
bindsym XF86AudioPlay exec playerctl play
|
||||||
@@ -177,10 +177,6 @@ bindsym $mod+w exec /usr/bin/firefox
|
|||||||
bindsym $mod+n exec /usr/bin/thunar
|
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 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: #
|
# configuration for workspace behaviour: #
|
||||||
##########################################
|
##########################################
|
||||||
@@ -238,14 +234,10 @@ exec_always --no-startup-id picom -b
|
|||||||
# for custom config:
|
# for custom config:
|
||||||
#exec_always --no-startup-id picom --config ~/.config/picom.conf
|
#exec_always --no-startup-id picom --config ~/.config/picom.conf
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
# autostart applications/services on login: #
|
# 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.
|
# dex execute .desktop files + apps using /etc/xdg/autostart.
|
||||||
exec --no-startup-id dex --autostart --environment i3
|
exec --no-startup-id dex --autostart --environment i3
|
||||||
|
|
||||||
@@ -339,22 +331,3 @@ client.background $base
|
|||||||
# Start Polybar
|
# Start Polybar
|
||||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh --shapes
|
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user