diff --git a/global/.config/vifm/vifminfo.json b/global/.config/vifm/vifminfo.json index c209a55..b3acaab 100644 --- a/global/.config/vifm/vifminfo.json +++ b/global/.config/vifm/vifminfo.json @@ -1 +1 @@ -{"gtabs":[{"panes":[{"ptabs":[{"history":[{"dir":"/home/cr33per/Downloads/Screenshots","file":"..","relpos":0,"ts":1742162618},{"dir":"/home/cr33per/Downloads","file":"Screenshots","relpos":1,"ts":1742163505}],"filters":{"invert":true,"dot":true,"manual":"","auto":""},"last-location":"/home/cr33per/Downloads","sorting":[2],"preview":false}]},{"ptabs":[{"history":[{"dir":"/home/cr33per/Downloads/Screenshots","file":"..","relpos":0,"ts":1742162618}],"filters":{"invert":true,"dot":true,"manual":"","auto":""},"last-location":"/home/cr33per/Downloads/Screenshots","sorting":[2],"preview":false}]}],"active-pane":0,"preview":false,"splitter":{"pos":-1,"ratio":0.5,"orientation":"v","expanded":false}}],"active-gtab":0,"marks":{"H":{"dir":"/home/cr33per/","file":"..","ts":1742162560},"b":{"dir":"/home/cr33per/bin/","file":"..","ts":1742162560},"h":{"dir":"/home/cr33per/","file":"..","ts":1742162560},"z":{"dir":"/home/cr33per/.config/vifm","file":"..","ts":1742162560}},"bmarks":{},"cmd-hist":[{"text":"h","ts":1742163342},{"text":"q","ts":1742163342}],"regs":{},"dir-stack":[],"use-term-multiplexer":false} \ No newline at end of file +{"gtabs":[{"panes":[{"ptabs":[{"history":[{"dir":"/home/cr33per/Downloads/Screenshots","file":"..","relpos":0,"ts":1742162618},{"dir":"/home/cr33per/Downloads","file":"Screenshots","relpos":1,"ts":1742163505},{"dir":"/home","file":"fz0x1","relpos":1,"ts":1742419561},{"dir":"/home/fz0x1","file":"Desktop","relpos":3,"ts":1742419561}],"filters":{"invert":true,"dot":true,"manual":"","auto":""},"last-location":"/home/fz0x1","sorting":[2],"preview":false}]},{"ptabs":[{"history":[{"dir":"/home/cr33per/Downloads/Screenshots","file":"..","relpos":0,"ts":1742162618},{"dir":"/home","file":"..","relpos":0,"ts":1742419561}],"filters":{"invert":true,"dot":true,"manual":"","auto":""},"last-location":"/home","sorting":[2],"preview":false}]}],"active-pane":0,"preview":false,"splitter":{"pos":-1,"ratio":0.5,"orientation":"v","expanded":false}}],"active-gtab":0,"marks":{"H":{"dir":"/home/cr33per/","file":"..","ts":1742162560},"b":{"dir":"/home/fz0x1/bin/","file":"..","ts":1742419555},"h":{"dir":"/home/fz0x1/","file":"..","ts":1742419555},"z":{"dir":"/home/cr33per/.config/vifm","file":"..","ts":1742162560}},"bmarks":{},"cmd-hist":[{"text":"h","ts":1742163342},{"text":"q","ts":1742163342}],"regs":{},"dir-stack":[],"use-term-multiplexer":false} \ No newline at end of file diff --git a/global/.zshrc-secrets b/global/.zshrc-secrets index 3dcc06e..07f177e 100644 Binary files a/global/.zshrc-secrets and b/global/.zshrc-secrets differ diff --git a/linux/.config/i3/autostart.sh b/linux/.config/i3/autostart.sh index 14c47b7..64f6fa9 100755 --- a/linux/.config/i3/autostart.sh +++ b/linux/.config/i3/autostart.sh @@ -14,8 +14,8 @@ xrdb -merge ~/.Xresources & ~/scripts/bin/setup_displays # PolicyKit Authentication Agent - Gnome -# /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & -/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets +/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & +/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets & sleep 2 diff --git a/linux/.config/i3/config b/linux/.config/i3/config index d098498..58a5793 100644 --- a/linux/.config/i3/config +++ b/linux/.config/i3/config @@ -55,6 +55,8 @@ bindsym $mod+m exec --no-startup-id emacsclient -a '' -c bindsym $mod+b exec --no-startup-id librewolf # start tor bindsym $mod+t exec --no-startup-id torbrowser-launcher +# wmfocus +bindsym $mod+q exec --no-startup-id wmfocus # edit keyboard config # bindsym $mod+Control+t exec --no-startup-id chromium "https://configure.zsa.io/moonlander/layouts/QxvPD/latest/0" @@ -105,9 +107,9 @@ 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+e layout toggle split +# bindsym $mod+s layout stacking +# bindsym $mod+w layout tabbed +# bindsym $mod+e layout toggle split # toggle tiling / floating bindsym $mod+Shift+space floating toggle @@ -225,7 +227,8 @@ bar { tray_padding 3 font pango:TerminessNerdFont, FontAwesome 11 position top - status_command i3status-rs ~/.config/i3/i3status-rust.toml + # status_command i3status-rs ~/.config/i3/i3status-rust.toml + status_command py3status -c ~/.config/i3/i3status.conf colors { separator #666666 background #1D1F21 diff --git a/linux/.config/i3/i3status-rust.toml b/linux/.config/i3/i3status-rust.toml index 248ef53..acf6089 100644 --- a/linux/.config/i3/i3status-rust.toml +++ b/linux/.config/i3/i3status-rust.toml @@ -16,8 +16,10 @@ icons = "awesome4" [[block]] block = "focused_window" [block.format] -full = " $title.str(max_w:50) |" -short = " $title.str(max_w:10) |" +full = "🪟 $title.str(max_w:50) |" +short = "🪟 $title.str(max_w:10) |" +[block.theme_overrides] +idle_fg = "#ee5253" [[block]] block = "cpu" @@ -67,3 +69,15 @@ block = "keyboard_layout" block = "time" interval = 5 format = " $timestamp.datetime(f:'%a %d/%m %R') " + +[[block]] +block = "custom" +command = "echo ''" +interval = "once" + +[[block.click]] +button = "left" +cmd = "telegram-desktop" +# [[block.click]] +# button = "left" +# action = "cycle" diff --git a/linux/.config/i3/i3status.conf b/linux/.config/i3/i3status.conf new file mode 100644 index 0000000..567a9dd --- /dev/null +++ b/linux/.config/i3/i3status.conf @@ -0,0 +1,78 @@ +# i3status configuration file. +# see "man i3status" for documentation. + +# It is important that this file is edited as UTF-8. +# The following line should contain a sharp s: +# ß +# If the above line is not correctly displayed, fix your editor first! + +general { + colors = true + interval = 5 +} + +order += "window" +order += "coin_market" +order += "keyboard_layout" +order += "volume_status" +order += "battery_level" +order += "disk /" +order += "load" +order += "memory" +order += "tztime local" +# order += "external_script" + +window { + format = '🪟 {title}' + max_width = 30 + color = '#ee5253' +} + +coin_market { + api_key = "b4ffb549-c4b2-422d-8e8e-fbed4aa33041" + # format_coin = "[\?color=name {name}] " + format_coin = "[\?color=symbol {symbol}] ${usd_price:.2f} " + format_coin += "[\?color=usd_percent_change_24h {usd_percent_change_24h}%]" + markets = ["btc", "xmr"] + thresholds = { + "name": [ + ("Bitcoin", "greenyellow"), + ("Monero", "orange"), + ], + "symbol": [ + ("BTC", "darkgray"), + ("XMR", "darkgray"), + ], + "usd_percent_change_24h": [(-100, "bad"), (0, "good")], + } +} + +keyboard_layout { + layouts = ['ru', 'en'] + cache_timeout = 0.1 +} + +volume_status { + cache_timeout = 0.1 +} + +battery_level {} + +load { + format = "%1min" +} + +memory { + format = "%used/%available" + threshold_degraded = "1G" + format_degraded = "MEMORY < %available" +} + +tztime local { + format = "%Y-%m-%d %H:%M:%S" +} + +# external_script { +# format = " " +# script_path = "telegram-desktop" +# }