add i3-restore

This commit is contained in:
2023-06-17 11:21:54 -04:00
parent 5312ab649c
commit f702fad34f
4 changed files with 23 additions and 24 deletions
+8 -6
View File
@@ -3,6 +3,7 @@ include $HOME/.config/i3/keybinds.conf
include $HOME/.config/i3/theme.conf
include $HOME/.config/i3/i3bar.conf
include $HOME/.config/i3/autorun.conf
exec $HOME/.config/i3/i3-restore/i3-restore
#hide_edge_borders smart
hide_edge_borders both
@@ -15,18 +16,19 @@ default_border pixel 2
default_floating_border normal 0
font pango:monospace 8
set $mod Mod4
floating_modifier $mod
# workspace names
set $ws1 "1"
set $ws2 "2"
set $ws1 "1:"
set $ws2 "2:󰖟"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws5 "5:󱜠"
set $ws6 "6"
set $ws7 "7"
set $ws7 "7:󰭹"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
set $ws9 "9:"
set $ws10 "10:"
# Scratchpads
bindsym $mod+m [class="fm"] scratchpad show; move position center
+3 -3
View File
@@ -1,5 +1,5 @@
# Colors
set $nord0 #2E344080
set $nord0 #2E3440AA
set $nord1 #3B4252
set $nord2 #434C5E
set $nord3 #4C566A
@@ -29,14 +29,14 @@ bar {
i3bar_command i3bar --transparency
strip_workspace_numbers no
strip_workspace_name no
strip_workspace_name yes
binding_mode_indicator yes
colors {
background $nord0
statusline $nord9
separator $nord14
separator $nord3
# colorclass border backgr. text
focused_workspace $nord3 $nord8 $nord4
+2 -5
View File
@@ -1,6 +1,3 @@
#set $mod Mod4
floating_modifier $mod
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
@@ -30,8 +27,8 @@ bindsym $mod+q kill
bindsym $mod+r mode "resize"
#bindsym $mod+Ctrl+l exec --no-startup-id betterlockscreen -l dimblur
bindsym $mod+Ctrl+Escape exec --no-startup-id archlinux-logout
bindsym $mod+Ctrl+0 exec --no-startup-id archlinux-logout
bindsym $mod+Ctrl+Escape exec --no-startup-id "$HOME/.config/i3/i3-restore/i3save && archlinux-logout"
bindsym $mod+Ctrl+0 exec --no-startup-id "$HOME/.config/i3/i3-restore/i3save && archlinux-logout"
#set $mode_system (l)ock (e)xit switch_(u)ser (s)uspend (h)ibernate (r)eboot (shift+s)hutdown
#bindsym $mod+Ctrl+Escape mode "$mode_system"