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/theme.conf
include $HOME/.config/i3/i3bar.conf include $HOME/.config/i3/i3bar.conf
include $HOME/.config/i3/autorun.conf include $HOME/.config/i3/autorun.conf
exec $HOME/.config/i3/i3-restore/i3-restore
#hide_edge_borders smart #hide_edge_borders smart
hide_edge_borders both hide_edge_borders both
@@ -15,18 +16,19 @@ default_border pixel 2
default_floating_border normal 0 default_floating_border normal 0
font pango:monospace 8 font pango:monospace 8
set $mod Mod4 set $mod Mod4
floating_modifier $mod
# workspace names # workspace names
set $ws1 "1" set $ws1 "1:"
set $ws2 "2" set $ws2 "2:󰖟"
set $ws3 "3" set $ws3 "3"
set $ws4 "4" set $ws4 "4"
set $ws5 "5" set $ws5 "5:󱜠"
set $ws6 "6" set $ws6 "6"
set $ws7 "7" set $ws7 "7:󰭹"
set $ws8 "8" set $ws8 "8"
set $ws9 "9" set $ws9 "9:"
set $ws10 "10" set $ws10 "10:"
# Scratchpads # Scratchpads
bindsym $mod+m [class="fm"] scratchpad show; move position center bindsym $mod+m [class="fm"] scratchpad show; move position center
+3 -3
View File
@@ -1,5 +1,5 @@
# Colors # Colors
set $nord0 #2E344080 set $nord0 #2E3440AA
set $nord1 #3B4252 set $nord1 #3B4252
set $nord2 #434C5E set $nord2 #434C5E
set $nord3 #4C566A set $nord3 #4C566A
@@ -29,14 +29,14 @@ bar {
i3bar_command i3bar --transparency i3bar_command i3bar --transparency
strip_workspace_numbers no strip_workspace_numbers no
strip_workspace_name no strip_workspace_name yes
binding_mode_indicator yes binding_mode_indicator yes
colors { colors {
background $nord0 background $nord0
statusline $nord9 statusline $nord9
separator $nord14 separator $nord3
# colorclass border backgr. text # colorclass border backgr. text
focused_workspace $nord3 $nord8 $nord4 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 # change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle bindsym $mod+space focus mode_toggle
@@ -30,8 +27,8 @@ bindsym $mod+q kill
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
#bindsym $mod+Ctrl+l exec --no-startup-id betterlockscreen -l dimblur #bindsym $mod+Ctrl+l exec --no-startup-id betterlockscreen -l dimblur
bindsym $mod+Ctrl+Escape 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 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 #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" #bindsym $mod+Ctrl+Escape mode "$mode_system"
+10 -10
View File
@@ -20,12 +20,12 @@ order += "volume master"
order += "tztime local" order += "tztime local"
wireless _first_ { wireless _first_ {
format_up = "W: (%quality at %essid) %ip" format_up = "󱚽 (%quality at %essid) %ip"
format_down = "" format_down = ""
} }
ethernet _first_ { ethernet _first_ {
format_up = "E: %ip (%speed)" format_up = "󰛳 %ip (%speed)"
format_down = "" format_down = ""
} }
@@ -42,29 +42,29 @@ battery all {
} }
disk "/" { disk "/" {
format = "%avail" format = "󰋊 %avail"
} }
cpu_usage { cpu_usage {
format = "CPU: %usage" format = " %usage"
format_above_threshold = "High CPU: %usage" format_above_threshold = "High %usage"
max_threshold = 75 max_threshold = 75
} }
load { load {
format = "LOAD: %1min" format = "󰄧 %1min"
} }
memory { memory {
format = "MEM: %used/%free (%available)" format = " %used/%free (%available)"
threshold_degraded = "10%" threshold_degraded = "10%"
threshold_critical = "5%" threshold_critical = "5%"
format_degraded = "Low Memory < %free" format_degraded = " LOW < %free"
} }
volume master { volume master {
format = "♪: %volume" format = "♪ %volume"
format_muted = "♪: muted (%volume)" format_muted = "♪ muted (%volume)"
device = "default" device = "default"
mixer = "Master" mixer = "Master"
} }