fixing shortcuts and no confirm quit option on kitty

This commit is contained in:
Dominic DiTaranto 2026-01-08 11:38:06 -05:00
parent 7a4b2b6ad3
commit 64001b88ca
3 changed files with 38 additions and 27 deletions

View file

@ -135,8 +135,8 @@ bindsym $mod+v split v
bindsym $mod+f fullscreen toggle bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split) # change container layout (stacked, tabbed, toggle split)
#bindsym $mod+s layout stacking # bindsym $mod+S layout stacking
bindsym $mod+w layout tabbed # bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split bindsym $mod+e layout toggle split
# toggle tiling / floating # toggle tiling / floating
@ -195,17 +195,13 @@ bindsym $mod+comma workspace prev
bindsym $mod+Shift+c reload bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session) # exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that) # resize window (you can also use the mouse for that)
mode "resize" { mode "resize" {
# These bindings trigger as soon as you enter the resize mode # These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym h resize shrink width 5 px or 5 ppt bindsym h resize shrink width 5 px or 5 ppt
bindsym j resize grow height 5 px or 5 ppt bindsym j resize grow height 5 px or 5 ppt
bindsym k resize shrink height 5 px or 5 ppt bindsym k resize shrink height 5 px or 5 ppt
@ -244,10 +240,6 @@ bar {
} }
} }
# bar {
# status_command i3status --config
# }
# Gaps # Gaps
gaps inner 10 gaps inner 10
gaps vertical 10 gaps vertical 10
@ -272,9 +264,9 @@ mode "exit: [l]ogout, l[o]ck, [r]eboot, [s]hutdown" {
bindsym o exec i3lock-fancy exit bindsym o exec i3lock-fancy exit
bindsym r exec systemctl reboot bindsym r exec loginctl reboot
bindsym s exec systemctl shutdown bindsym s exec loginctl poweroff
bindsym Escape mode "default" bindsym Escape mode "default"
@ -282,29 +274,46 @@ mode "exit: [l]ogout, l[o]ck, [r]eboot, [s]hutdown" {
} }
exec_always xautolock -detectsleep -time 60 -corners ---- -locker i3lock-fancy
bindsym $mod+x mode "exit: [l]ogout, l[o]ck, [r]eboot, [s]hutdown" bindsym $mod+x mode "exit: [l]ogout, l[o]ck, [r]eboot, [s]hutdown"
# Background # Background
exec_always wal -R exec_always wal -R
# Make the currently focused window a scratchpad
# bindsym $mod+Shift+minus move scratchpad
# Show the first scratchpad window
# bindsym $mod+minus scratchpad show
# remove a floating window from scratchpad
# bindsym $alt+Shift+x floating disable; floating enable
# Show the sup-mail scratchpad window, if any.
# bindsym mod4+s [title="^Sup ::"] scratchpad show
# turn on transparency
exec_always --no-startup-id compton --no-fading-openclose
# turn on flameshot
exec flameshot
# Open Browser # Open Browser
bindsym $mod+b exec brave bindsym $mod+b exec brave
# Open Wifi # Open Wifi
bindsym $mod+Shift+w exec connman-gtk bindsym $alt+w exec connman-gtk
bindsym $mod+Shift+f exec ghostty -e '/bin/bash -c ranger' # Ranger File Manager
bindsym $alt+f exec kitty -e 'ranger'
# Make the currently focused window a scratchpad # PCMANFM File Manager
bindsym $mod+Shift+minus move scratchpad bindsym $alt+Shift+f exec pcmanfm
# Show the first scratchpad window # Email
bindsym $mod+minus scratchpad show bindsym $alt+m exec kitty -e 'neomutt'
# Show the sup-mail scratchpad window, if any. # RSS
bindsym mod4+s [title="^Sup ::"] scratchpad show bindsym $alt+r exec kitty -e 'newsboat'
# turn on transparency # Screenshot
exec_always --no-startup-id compton --no-fading-openclose bindsym Print exec flameshot gui

View file

@ -21,7 +21,7 @@ interval=10
[email] [email]
command=mbsync -aq && ls /home/dominic/.local/share/mail/me@domdit.com/INBOX/new/ | wc -l command=mbsync -aq && ls /home/dominic/.local/share/mail/me@domdit.com/INBOX/new/ | wc -l
interval=43200 interval=3600
label=󰇮 label=󰇮
[rss] [rss]

View file

@ -1,4 +1,4 @@
background_opacity 0.7 background_opacity 0.9
dynamic_background_opacity yes dynamic_background_opacity yes
font_family monospace font_family monospace
@ -20,3 +20,5 @@ detect_urls yes
enable_audio_bell no enable_audio_bell no
confirm_os_window_close 0