(i3) reorganised configuration

This commit is contained in:
quak
2025-05-29 16:35:09 +02:00
parent 74fcb5e450
commit 35b86719c0

View File

@@ -79,7 +79,7 @@ bindsym $mod+Shift+d exec --no-startup-id rofi -show run
# start a terminal
bindsym $mod+Return exec ghostty
bindsym $mod+t exec "alacritty -e tmux attach"
bindsym $mod+t exec ghostty -e tmux attach
# change focus
bindsym $mod+h focus left
@@ -105,10 +105,8 @@ bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
# set splitting strategy
bindsym $mod+n split h
# split in vertical orientation
bindsym $mod+v split v
# enter fullscreen mode for the focused container
@@ -164,17 +162,15 @@ bindsym $mod+p move workspace to output right
# take screenshots
bindsym $mod+s exec --no-startup-id maim -su | xclip -selection clipboard -t image/png
bindsym $mod+Shift+s exec --no-startup-id maim -su "/home/${USER}/Pictures/screenshots/$(date '+%Y%m%d_%H%M%S').png"
bindsym $mod+Shift+s exec --no-startup-id maim -su "${HOME}/Pictures/screenshots/$(date '+%Y%m%d_%H%M%S').png"
# open pavucontrol
bindsym $mod+a exec bash select-audio-sink.sh
# Use pactl to adjust volume in PulseAudio.
# use pactl for media keys
set $refresh_i3status killall -SIGUSR1 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
bindsym $mod+a exec --no-startup-id bash select-audio-sink.sh
#########################