Optimized i3 setup: clipboard manager, scratchpad terminal, workspace assignments, media keys with dunstify, thunar, autotiling, system info notification
This commit is contained in:
@@ -31,16 +31,33 @@ exec_always --no-startup-id xinput set-prop "bcm5974" "libinput Natural Scrollin
|
||||
bindsym $mod+Shift+Return exec alacritty
|
||||
bindsym $mod+Shift+w exec vivaldi-stable
|
||||
bindsym $mod+Shift+f exec alacritty -e ranger
|
||||
bindsym $mod+Shift+t exec thunar
|
||||
bindsym $mod+Shift+e exec mousepad
|
||||
bindsym $mod+Shift+p exec keepassxc
|
||||
bindsym $mod+Shift+m exec ghostwriter
|
||||
|
||||
bindsym $mod+space --release exec "rofi -combi-modi drun,window -show combi -modi combi"
|
||||
bindsym $mod+x kill
|
||||
bindsym $mod+q kill
|
||||
|
||||
# Clipboard manager
|
||||
bindsym $mod+c exec --no-startup-id clipboard-rofi
|
||||
|
||||
bindsym $mod+Ctrl+p exec pavucontrol
|
||||
bindsym $mod+Ctrl+b exec alacritty -e bmenu
|
||||
bindsym $mod+Print --release exec --no-startup-id flameshot gui
|
||||
bindsym $mod+Shift+Print --release exec --no-startup-id flameshot full -p ~/Pictures/Screenshots/
|
||||
|
||||
# Scratchpad terminal (dropdown-style)
|
||||
for_window [instance="scratchterm"] floating enable, resize set 1200 600, move position center, move scratchpad
|
||||
exec --no-startup-id alacritty --class scratchterm
|
||||
bindsym $mod+Tab scratchpad show
|
||||
|
||||
# Media keys (MacBook)
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id volume-notify up
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id volume-notify down
|
||||
bindsym XF86AudioMute exec --no-startup-id volume-notify mute
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id brightness-notify up
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id brightness-notify down
|
||||
|
||||
# Display management
|
||||
bindsym $mod+Ctrl+d exec autorandr --change
|
||||
@@ -59,7 +76,10 @@ exec --no-startup-id nm-applet
|
||||
exec --no-startup-id blueman-applet
|
||||
exec --no-startup-id xautolock -time 10 -locker blurlock
|
||||
exec --no-startup-id autorandr --change
|
||||
exec --no-startup-id greenclip daemon
|
||||
exec_always --no-startup-id autotiling
|
||||
exec --no-startup-id keepassxc --keyfile /home/kalle/kgokeyfile /home/kalle/Passwords.kdbx
|
||||
exec --no-startup-id sysinfo-notify
|
||||
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
@@ -84,10 +104,10 @@ bindsym $mod+Ctrl+Left workspace prev
|
||||
# Workspace names
|
||||
# Eg: set $ws1 1:mail
|
||||
# set $ws2 2:
|
||||
set $ws1 1
|
||||
set $ws2 2
|
||||
set $ws3 3
|
||||
set $ws4 4
|
||||
set $ws1 1:WEB
|
||||
set $ws2 2:TERM
|
||||
set $ws3 3:EDIT
|
||||
set $ws4 4:FILES
|
||||
set $ws5 5
|
||||
set $ws6 6
|
||||
set $ws7 7
|
||||
@@ -114,9 +134,11 @@ bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
|
||||
bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
|
||||
|
||||
# Open applications on specific workspaces
|
||||
# assign [class="Thunderbird"] $ws1
|
||||
# assign [class="Pcmanfm"] $ws3
|
||||
# assign [class="Skype"] $ws5
|
||||
assign [class="Vivaldi-stable"] $ws1
|
||||
assign [class="Alacritty"] $ws2
|
||||
assign [class="Mousepad"] $ws3
|
||||
assign [class="ghostwriter"] $ws3
|
||||
assign [class="Thunar"] $ws4
|
||||
|
||||
# Open specific applications in floating mode
|
||||
for_window [title="alsamixer"] floating enable border pixel 1
|
||||
@@ -130,11 +152,7 @@ for_window [class="Nitrogen"] floating enable sticky enable border normal
|
||||
for_window [class="Pavucontrol"] floating enable
|
||||
for_window [class="Simple-scan"] floating enable border normal
|
||||
for_window [class="(?i)System-config-printer.py"] floating enable border normal
|
||||
for_window [class="Skype"] floating enable border normal
|
||||
for_window [class="Timeset-gui"] floating enable border normal
|
||||
for_window [class="SimpleScreenRecorder"] floating enable border normal
|
||||
for_window [class="MPlayer"] floating enable
|
||||
for_window [class="Spotify"] floating enable
|
||||
for_window [class="KeePassXC"] floating enable
|
||||
|
||||
# switch to workspace with urgent window automatically
|
||||
for_window [urgent=latest] focus
|
||||
|
||||
Reference in New Issue
Block a user