diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index 4cca63bc..91bb08e6 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -262,20 +262,20 @@ awful.screen.connect_for_each_screen(function(s) { -- Right widgets layout = wibox.layout.fixed.horizontal, - github_contributions_widget({ + --[[ github_contributions_widget({ username = "kristoferssolo", days = 356, color_of_empty_cells = "", with_border = true, margin_top = 1, theme = "teal", - }), - github_activity_widget({ + }), ]] + --[[ github_activity_widget({ username = "kristoferssolo", number_of_events = 10, - }), + }), ]] wibox.widget.systray(), - cpu_widget({ + --[[ cpu_widget({ width = 50, step_width = 2, step_spacing = 0, @@ -283,10 +283,10 @@ awful.screen.connect_for_each_screen(function(s) enable_kill_button = true, process_info_max_length = -1, timeout = 1, - }), - net_speed_widget(), + }), ]] + -- net_speed_widget(), -- docker_widget(), - spotify_widget({ + --[[ spotify_widget({ play_icon = "/usr/share/icons/Papirus-Light/24x24/categories/spotify.svg", pause_icon = "/usr/share/icons/Papirus-Dark/24x24/panel/spotify-indicator.svg", font = "JetBrainsMono NF 10", @@ -295,12 +295,12 @@ awful.screen.connect_for_each_screen(function(s) max_length = -1, show_tooltip = true, timeout = 1, - }), - volume_widget({ + }), ]] + --[[ volume_widget({ mixer_cmd = "{{terminal}} -e pulsemixer", toggle_cmd = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", widget_type = "horizontal_bar", - }), + }), ]] logout_menu_widget({ font = "JetBrainsMono NF 10", onlogout = function() @@ -612,7 +612,6 @@ awful.rules.rules = { placement = awful.placement.no_overlap + awful.placement.no_offscreen, }, }, - -- Floating clients. { rule_any = { @@ -660,7 +659,6 @@ awful.rules.rules = { -- "steam_app_1172380", "steam_app_1774580", "steam_app_1182480", - "exiled-exchange-2", }, }, properties = { screen = 1, fullscreen = true, floating = true }, @@ -680,6 +678,22 @@ awful.rules.rules = { { rule_any = { class = { "kdeconnect.app" } }, properties = { screen = 2, tag = "7" } }, { rule_any = { class = { "Spotify" } }, properties = { screen = 2, tag = "9" } }, { rule_any = { class = { "mpv" } }, properties = { fullscreen = true } }, + + { + rule = { + class = "exiled-exchange-2", + }, + properties = { + -- fullscreen = true, + floating = true, -- Float above PoE2 + ontop = true, -- Stay on top + sticky = false, -- ← KEY: Pin to PoE2 workspace only (stops flicker) + skip_taskbar = true, -- Hide from taskbar + skip_pager = true, -- Hide from workspace switcher + placement = awful.placement.top_right, -- Top-right overlay + raise = false, -- Don't auto-raise (helps with flicker) + }, + }, } --- Signals diff --git a/config/btop/btop.conf b/config/btop/btop.conf index 3e2bfb43..831f43ea 100644 --- a/config/btop/btop.conf +++ b/config/btop/btop.conf @@ -1,4 +1,4 @@ -#? Config file for btop v. 1.4.4 +#? Config file for btop v. 1.4.5 #* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. #* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" @@ -57,7 +57,7 @@ update_ms = 1000 #* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", #* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. -proc_sorting = "cpu direct" +proc_sorting = "cpu lazy" #* Reverse sorting order, True or False. proc_reversed = False @@ -115,6 +115,9 @@ cpu_bottom = False #* Shows the system uptime in the CPU box. show_uptime = True +#* Shows the CPU package current power consumption in watts. Requires running `make setcap` or `make setuid` or running with sudo. +show_cpu_watts = True + #* Show cpu temperature. check_temp = True diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index dae7dc83..acc6890d 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -47,9 +47,9 @@ exec-once=pipewire & pipewire-pulse & wireplumber & eww daemon & eww open bar exec-once=dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP DISPLAY XAUTHORITY exec-once=nextcloud & /usr/lib/hyprpolkitagent & xrdb "$XDG_CONFIG_HOME/x11/xresources" & transmission-daemon & mako & hyprpaper exec-once=[workspace 1 silent] $browser -exec-once=[workspace 8 silent] kotatogram-desktop & flatpak run dev.vencord.Vesktop +exec-once=[workspace 8 silent] kotatogram-desktop & vesktop # exec-once=[workspace 9 silent] spotify-launcher -exec-once = hyprpm reload -n +exec-once=hyprpm reload # Source a file (multi-file configs) source=~/.config/hypr/rose-pine.conf @@ -255,13 +255,14 @@ bind = $mainMod, N, exec, $fileManager bind = $mainMod CTRL, SPACE, togglefloating bind = $mainMod, P, exec, $menu bind = $mainMod, G, exec, rofi -modi games -show games -theme games-smaller -bind = $mainMod, C, exec, rofi -show calc -modi calc -no-show-match -no-sort -calc-command "echo -n '{result}' | wl-copy" +bind = $mainMod, C, exec, rofi -show calc -modi calc -no-show-match -no-sort -calc-command "echo -n '{result}' | wl-copy" bind = $mainMod, W, exec, networkmanager_dmenu bind = $mainMod SHIFT, P, exec, cliphist list | wofi -S dmenu | cliphist decode | wl-copy bind = $mainMod, F, fullscreen bind = $mainMod, M, bringactivetotop bind = $mainMod, A, pin bind = $mainMod, B, exec, $browser +bind = $mainMod SHIFT, P, exec, swap-wallpaper # bind = $mainMod, O, split-changemonitor, +1 # bind = $mainMod, P, pseudo, # dwindle # bind = $mainMod, J, togglesplit, # dwindle @@ -347,6 +348,7 @@ bind = $mainMod SHIFT, K, movewindow, u bind = $mainMod SHIFT, L, movewindow, r bind = $mainMod SHIFT, H, movewindow, l + # Laptop multimedia keys for volume and LCD brightness bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+ # bindel = , XF86AudioRaiseVolume, exec, pulsemixer --change-volume +2 # increase volume by 2 @@ -361,8 +363,8 @@ bindel = ,XF86MonBrightnessDown, exec, doas brightnessctl set 2%- # decrease br # # Requires playerctl bindl = , XF86AudioNext, exec, playerctl next -bindl = , XF86AudioPause, exec, playerctl play-pause -bindl = , XF86AudioPlay, exec, playerctl play-pause +# bindl = , XF86AudioPause, exec, playerctl play-pause +# bindl = , XF86AudioPlay, exec, playerctl play-pause bindl = , XF86AudioPrev, exec, playerctl previous # bindel = , XF86AudioPlay, exec, playerctl -a play-pause # pause/play everything diff --git a/config/hypr/hyprpaper.conf b/config/hypr/hyprpaper.conf index e4cb02ea..bb7177a0 100644 --- a/config/hypr/hyprpaper.conf +++ b/config/hypr/hyprpaper.conf @@ -1,5 +1,5 @@ -ipc = on # save on baterry +ipc = on # save on battery splash = true -preload = ~/Pictures/wallpapers/Linux-Dynamic-Wallpapers/Fuji/Fuji-2.png +# preload = ~/Pictures/wallpapers/Linux-Dynamic-Wallpapers/Fuji/Fuji-2.png -wallpaper = ,~/Pictures/wallpapers/Linux-Dynamic-Wallpapers/Fuji/Fuji-2.png +# wallpaper = ,~/Pictures/wallpapers/Linux-Dynamic-Wallpapers/Fuji/Fuji-2.png diff --git a/local/bin/swap-wallpaper b/local/bin/swap-wallpaper new file mode 100644 index 00000000..dfe15c6a --- /dev/null +++ b/local/bin/swap-wallpaper @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +WALLPAPER_DIR="$HOME/Pictures/wallpapers/PoE2/3880x2160/" +CURRENT_WALL=$(hyprctl hyprpaper listloaded) + +WALLPAPER=$(fd --type file --exclude "$(basename "$CURRENT_WALL")" . "$WALLPAPER_DIR" | shuf -n 1) + +hyprctl hyprpaper reload ,"$WALLPAPER"