diff --git a/global/.zshrc-secrets b/global/.zshrc-secrets index 2d50456..3dcc06e 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 a9ad49a..14c47b7 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 & -eval "$(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg)" +# /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & +/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets sleep 2 @@ -37,7 +37,7 @@ caffeine start & # picom --config ~/.picom.conf & # wallpapers -# nitrogen --restore & +nitrogen --restore & # Dropbox # I do not use it anymore since 2025-02-10 @@ -70,7 +70,7 @@ emacs --daemon & workrave & # activitywatch -./activitywatch/aw-qt & +~/activitywatch/aw-qt & # # NetworkManager applet nm-applet & diff --git a/linux/.config/i3/config b/linux/.config/i3/config index 7e68754..d098498 100644 --- a/linux/.config/i3/config +++ b/linux/.config/i3/config @@ -68,6 +68,8 @@ bindsym $mod+Tab workspace back_and_forth # start rofi (a program launcher) bindsym $mod+d exec --no-startup-id rofi -config ~/.config/rofi/gruvbox-soft.rasi -no-lazy-grab -show drun -modi drun -dpi 120 +# autotiling +exec_always --no-startup-id autotiling # change focus bindsym $mod+j focus left @@ -221,14 +223,14 @@ bindsym $mod+r mode "resize" bar { tray_output primary tray_padding 3 - font pango:TerminessNerdFont, FontAwesome 10 + font pango:TerminessNerdFont, FontAwesome 11 position top status_command i3status-rs ~/.config/i3/i3status-rust.toml colors { separator #666666 background #1D1F21 statusline #dddddd - focused_workspace #0088CC #0088CC #ffffff + focused_workspace #224488 #224488 #ffffff active_workspace #333333 #333333 #ffffff inactive_workspace #333333 #333333 #888888 urgent_workspace #2f343a #900000 #ffffff @@ -247,25 +249,37 @@ set $text #ffffff set $u-bgcolor #ff0000 set $indicator #ffffff set $in-text #969696 -set $focused-ws #d79921 +# set $focused-ws #d79921 +set $focused-ws #c3c3c3 set $bar-color #523d640D +set $gray #c3c3c3 # border background text indicator (a line which shows where the next window will be placed) -client.focused $focused-ws $focused-ws $text $indicator +# client.focused $focused-ws $focused-ws $text $indicator # client.unfocused $inactive-ws $inactive-ws $in-text $in-bgcolor client.focused_inactive $in-bgcolor $in-bgcolor $in-text $in-bgcolor +# client.unfocused $gray $in-bgcolor $in-text $in-bgcolor client.urgent $u-bgcolor $u-bgcolor $text $u-bgcolor +default_border pixel 0 +default_floating_border pixel 1 + # window's rules for_window [class="Xfce4-settings-manager"] focus, floating disable for_window [window_role="(?i)GtkFileChooserDialog"] floating enable for_window [class="net-runelite-client-RuneLite" title="Picture in Picture"] floating enable, sticky enable -# for_window [class="net-runelite-client-RuneLite" title="Picture in Picture"] floating enable, sticky enable, move to workspace 1 -default_border pixel 1 -default_floating_border pixel 0 - +for_window [window_role="About"] floating enable +for_window [window_role="Organizer"] floating enable +for_window [window_role="Preferences"] floating enable +for_window [window_role="bubble"] floating enable +for_window [window_role="page-info"] floating enable +for_window [window_role="pop-up"] floating enable +for_window [window_role="task_dialog"] floating enable +for_window [window_role="toolbox"] floating enable +for_window [window_role="webconsole"] floating enable +for_window [window_type="dialog"] floating enable +for_window [window_type="menu"] floating enable #p2p firefox for all workspaces for_window [title="Picture-in-Picture"] sticky enable - -for_window [class="MEGAsync" title="Add sync"] floating disable +# for_window [class="MEGAsync" title="Add sync"] floating disable exec --no-startup-id ~/.config/i3/autostart.sh diff --git a/linux/.config/i3/i3status-rust.toml b/linux/.config/i3/i3status-rust.toml index 356505c..248ef53 100644 --- a/linux/.config/i3/i3status-rust.toml +++ b/linux/.config/i3/i3status-rust.toml @@ -7,27 +7,33 @@ idle_bg = "#1D1F21" idle_fg = "#c3c3c3" separator_bg = "#1D1F21" -# [icons] -# icons = "awesome4" +[icons] +icons = "awesome4" # [icons.overrides] # bat = ["|E|", "|_|", "|=|", "|F|"] # bat_charging = "|^| " +[[block]] +block = "focused_window" +[block.format] +full = " $title.str(max_w:50) |" +short = " $title.str(max_w:10) |" + [[block]] block = "cpu" info_cpu = 20 warning_cpu = 50 critical_cpu = 90 -[[block]] -block = "disk_space" -path = "/" -info_type = "available" -alert_unit = "GB" -interval = 20 -warning = 20.0 -alert = 10.0 -format = " /:$available.eng(w:2) " +# [[block]] +# block = "disk_space" +# path = "/" +# info_type = "available" +# alert_unit = "GB" +# interval = 20 +# warning = 20.0 +# alert = 10.0 +# format = " /:$available.eng(w:2) " [[block]] block = "memory" @@ -40,32 +46,11 @@ block = "sound" button = "left" cmd = "pavucontrol" -[[block]] -block = "time" -interval = 5 -format = " $timestamp.datetime(f:'%a %d/%m %R') " - -# [[block]] -# block = "docker" -# interval = 2 -# socket_path = "/run/user/1000/docker.sock" -# format = " $icon $running /$total " [[block]] block = "keyboard_layout" -driver = "setxkbmap" -interval = 15 - -[[block]] -block = "menu" -text = " MENU " -[[block.items]] -display = " -> Power Off <-" -cmd = "poweroff" -confirm_msg = "Are you sure you want to power off?" -[[block.items]] -display = " -> Reboot <-" -cmd = "reboot" -confirm_msg = "Are you sure you want to reboot?" +[block.mappings] +"En" = "us" +"Ru" = "ru" # [[block]] # block = "temperature" @@ -74,15 +59,11 @@ confirm_msg = "Are you sure you want to reboot?" # interval = 10 # chip = "*-isa-*" -[[block]] -block = "xrandr" -format = " $icon $brightness $resolution " +# [[block]] +# block = "xrandr" +# format = " $icon $brightness $resolution " [[block]] -block = "vpn" -driver = "mullvad" -interval = 10 -format_connected = " VPN: $icon " -format_disconnected = " VPN: $icon " -state_connected = "good" -state_disconnected = "warning" +block = "time" +interval = 5 +format = " $timestamp.datetime(f:'%a %d/%m %R') " diff --git a/linux/.picom.conf b/linux/.picom.conf index 24e8a16..53f730c 100644 --- a/linux/.picom.conf +++ b/linux/.picom.conf @@ -51,7 +51,7 @@ use-damage = false; ################################# # Enabled client-side shadows on windows. -shadow = true; +shadow = false; # The blur radius for shadows. (default 12) @@ -177,7 +177,7 @@ inactive-opacity-override = false; # Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred. -blur-background = true; +blur-background = false; blur-method = "kernel";