fixing shortcuts and no confirm quit option on kitty
This commit is contained in:
parent
7a4b2b6ad3
commit
64001b88ca
3 changed files with 38 additions and 27 deletions
|
|
@ -135,8 +135,8 @@ bindsym $mod+v split v
|
|||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
# change container layout (stacked, tabbed, toggle split)
|
||||
#bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
# bindsym $mod+S layout stacking
|
||||
# bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
# toggle tiling / floating
|
||||
|
|
@ -195,17 +195,13 @@ bindsym $mod+comma workspace prev
|
|||
bindsym $mod+Shift+c reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
|
||||
# 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'"
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
|
||||
# Pressing left will shrink the window’s width.
|
||||
# Pressing right will grow the window’s width.
|
||||
# Pressing up will shrink the window’s height.
|
||||
# Pressing down will grow the window’s height.
|
||||
bindsym h resize shrink width 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
|
||||
|
|
@ -244,10 +240,6 @@ bar {
|
|||
}
|
||||
}
|
||||
|
||||
# bar {
|
||||
# status_command i3status --config
|
||||
# }
|
||||
|
||||
# Gaps
|
||||
gaps inner 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 r exec systemctl reboot
|
||||
bindsym r exec loginctl reboot
|
||||
|
||||
bindsym s exec systemctl shutdown
|
||||
bindsym s exec loginctl poweroff
|
||||
|
||||
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"
|
||||
|
||||
# Background
|
||||
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
|
||||
bindsym $mod+b exec brave
|
||||
|
||||
# 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
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
# PCMANFM File Manager
|
||||
bindsym $alt+Shift+f exec pcmanfm
|
||||
|
||||
# Show the first scratchpad window
|
||||
bindsym $mod+minus scratchpad show
|
||||
# Email
|
||||
bindsym $alt+m exec kitty -e 'neomutt'
|
||||
|
||||
# Show the sup-mail scratchpad window, if any.
|
||||
bindsym mod4+s [title="^Sup ::"] scratchpad show
|
||||
# RSS
|
||||
bindsym $alt+r exec kitty -e 'newsboat'
|
||||
|
||||
# turn on transparency
|
||||
exec_always --no-startup-id compton --no-fading-openclose
|
||||
# Screenshot
|
||||
bindsym Print exec flameshot gui
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ interval=10
|
|||
|
||||
[email]
|
||||
command=mbsync -aq && ls /home/dominic/.local/share/mail/me@domdit.com/INBOX/new/ | wc -l
|
||||
interval=43200
|
||||
interval=3600
|
||||
label=
|
||||
|
||||
[rss]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
background_opacity 0.7
|
||||
background_opacity 0.9
|
||||
dynamic_background_opacity yes
|
||||
|
||||
font_family monospace
|
||||
|
|
@ -20,3 +20,5 @@ detect_urls yes
|
|||
|
||||
enable_audio_bell no
|
||||
|
||||
confirm_os_window_close 0
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue