feat: set cava bar width to 1 for slimmer visualization bars;

refactor: update copyq configuration with clipboard checking disabled, unfocus behavior changed, and screen capture prevention enabled;
feat: add new eww configuration file with example widget and window definitions;
refactor: update hyprland autostart commands, replace Telegram with AyuGram, add easymove submap, and adjust workspace rules;
feat: introduce hyprsunset configuration file for automatic gamma and temperature adjustments;
chore: extend privacy tagging rules to include AyuGram and SimpleX desktop applications;
refactor: optimize muza script by removing redundant sleep calls and adjusting terminal launch sequence;
refactor: improve toggle_proxy script with process killing function and silent operation;
refactor: adjust rmpc layout to allocate 72% space for queue and 28% for cava visualization;
feat: update rmpc theme with new album art, modified color scheme, and added tabs pane;
feat: add keyboard navigation bindings for rofi launcher mode switching and paging;
feat: expand power mode menu with CPU frequency options and integrate cpupower controls;
feat: implement h/j/k/l row navigation keybindings for rofi power menu;
feat: reconfigure power mode menu layout to 3 columns and add vertical navigation keybindings;
feat: add row navigation keybindings to rofi recorder menu style;
refactor: update swaync notification styles with revised button borders, selection colors, and hover effects;
feat: add custom submap display module to waybar for active hyprland submaps;
refactor: modify waybar styling with updated background colors and new module borders;
chore: update bluetooth alias from bluetuith to bluetui in shell configuration
This commit is contained in:
2025-12-15 18:29:07 +03:00
parent 78b63dca58
commit 0886c29a46
19 changed files with 212 additions and 81 deletions

View File

@@ -23,7 +23,7 @@ framerate = 45
# The number of bars (0-512). 0 sets it to auto (fill up console).
# Bars' width and space between bars in number of characters.
; bars = 0
; bar_width = 2
bar_width = 1
; bar_spacing = 1
# bar_height is only used for output in "noritake" format
; bar_height = 32

View File

@@ -9,11 +9,11 @@ activate_pastes=true
always_on_top=false
autocompletion=true
autostart=false
check_clipboard=true
check_clipboard=false
check_selection=false
clipboard_notification_lines=0
clipboard_tab=&clipboard
close_on_unfocus=true
close_on_unfocus=false
close_on_unfocus_delay_ms=500
command_history_size=100
confirm_exit=true
@@ -25,6 +25,7 @@ editor=gedit --standalone -- %1
expire_tab=0
filter_case_insensitive=true
filter_regular_expression=false
frameless_window=false
hide_main_window=true
hide_main_window_in_task_bar=false
hide_tabs=false
@@ -47,6 +48,7 @@ notification_position=3
notification_vertical_offset=10
number_search=false
open_windows_on_current_screen=true
prevent_screen_cature=true
restore_geometry=true
row_index_from_one=true
run_selection=true

22
eww/eww.yuck Normal file
View File

@@ -0,0 +1,22 @@
(defwindow example
:monitor 0
:geometry (geometry :x "0%"
:y "20px"
:width "90%"
:height "30px"
:anchor "top center")
:stacking "bottom"
:exclusive false
:focusable false
:namespace "eww-menu"
(defwindow example
; ... values omitted
(greeter :text "Say hello!"
:name "Tim"))
)
(defwidget greeter [?text name]
(box :orientation "horizontal"
:halign "center"
text
(button :onclick "notify-send 'Hello' 'Hello, ${name}'"
"Greet")))

View File

@@ -23,6 +23,7 @@ $powermodemenu = $HOME/.config/rofi/scripts/dmenu_powermodemenu.sh
$browser = env GTK_THEME=Adwaita:light zen-browser
$privateBrowser = env GTK_THEME=Adwaita:light zen-browser --private-window
$notificationCenter = pkill rofi & swaync-client -t -sw || notify-send --hint int:transient:1 "Error SwayNC is down"
$waybar = GTK_THEME="Simply_Circles_Dark" waybar
#################
### AUTOSTART ###
@@ -38,22 +39,23 @@ exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
# exec-once = hyprpaper
exec-once = swww-daemon
exec-once = ~/.config/hypr/scripts/autofreeze_swww.sh
exec-once = waybar & hypridle & hyprsunset &
exec-once = $waybar
exec-once = swaync
exec-once = hypridle
exec-once = hyprsunset
exec-once = eww daemon
exec-once = mullvad-vpn
exec-once = swaync
exec-once = ~/.config/hypr/scripts/random_wallpaper.sh
exec-once = ~/.config/hypr/scripts/autofreezer.sh
exec-once = ~/.config/fastfetch/scripts/fetch_update_count.sh
exec-once = copyq --start-server
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = thunar --daemon
exec-once = touch /tmp/toggle_ssocks
exec-once = ~/.config/hypr/scripts/toggle_proxy.sh
exec-once = nextcloud --background &
exec-once = [workspace 8 silent] Telegram
exec-once = [workspace 8 silent] AyuGram
# exec-once = [workspace 7 silent] superproductivity
# exec-once = $terminal
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox
@@ -338,7 +340,7 @@ bind = $mainMod, N, exec, $notificationCenter
bind = $mainMod SHIFT, Return, exec, [float; size 800 600; move center] $fastTerminal --class kitty-float
# Open bluetooth
bind = $mainMod, F3, exec, [float; size 600 400; move center] $fastTerminal --class kitty-float bluetuith
bind = $mainMod, F3, exec, [float; size 600 400; move center] $fastTerminal --class kitty-float bluetui
# Open alsamixer
bind = $mainMod, F2, exec, [float; size 600 400; move center] $fastTerminal --class kitty-float alsamixer -V all
@@ -409,7 +411,7 @@ bind = $mainMod SHIFT, minus, movetoworkspacesilent, 11
bind = $mainMod SHIFT, equal, movetoworkspacesilent, 12
# Cycle monitors
# bind = $mainMod SHIFT, U, swapactiveworkspaces, eDP-1 HDMI-A-1
bind = $mainMod CTRL, U, swapactiveworkspaces, eDP-1 HDMI-A-1
bind = $mainMod, O, focusmonitor, +1
# Example special workspace (scratchpad)
@@ -519,11 +521,8 @@ bind = $mainMod SHIFT, G, exec, ~/.config/hypr/scripts/gamemode.sh
# Enable reserved space
bind = $mainMod, B, exec, ~/.config/hypr/scripts/reserved_space.sh
# Cycle cpu frequency mode
bind = $mainMod CTRL, C, exec, ~/.config/hypr/scripts/cpufreq.sh
# Cycle power mode
bind = $mainMod CTRL, V, exec, pkill rofi || $powermodemenu &
# Powermode and CPU frequency menu
bind = $mainMod CTRL, C, exec, pkill rofi || $powermodemenu &
# Pin window
bind = $mainMod CTRL, Y, pin, active
@@ -560,7 +559,7 @@ bindr = , F8, sendshortcut, CTRL SHIFT, F8, class:^(vesktop)$
# Telegram PTT
binde = $mainMod CTRL, F9, tagwindow, voicechatuz
bindr = , F9, sendshortcut, , F9, class:TelegramDesktop
bindr = , F9, sendshortcut, , F9, class:com.ayugram.desktop
windowrule = bordercolor rgba(ffff00ff) rgba(ffff0055),tag:voicechatuz
# Zen - focus searchbar
@@ -580,6 +579,21 @@ submap = clean
bind = $mainMod, Escape, submap, reset
submap = reset
# Easymove submap
bind = $mainMod SHIFT, Space, submap, ezmv
submap = ezmv
bind = , h, sendshortcut, , Left, activewindow
bind = , j, sendshortcut, , Down, activewindow
bind = , k, sendshortcut, , Up, activewindow
bind = , l, sendshortcut, , Right, activewindow
bind = , g, sendshortcut, , Home, activewindow
bind = SHIFT, g, sendshortcut, , End, activewindow
bind = $mainMod SHIFT, Space, submap, reset
bind = $mainMod, Tab, submap, reset
bind = $mainMod, Escape, submap, reset
submap = reset
##############################
### WINDOWS AND WORKSPACES ###
##############################
@@ -592,6 +606,8 @@ windowrule = float,class:^(kitty-float)$
windowrule = size 600 400,class:^(kitty-float)$
windowrule = move center,class:^(kitty-float)$
windowrule = workspace special:dungeon,class:org.freedesktop.Xwayland
# Zenity
windowrule = float,class:^(zenity)$
@@ -599,8 +615,8 @@ windowrule = float,class:^(zenity)$
windowrule = workspace 7 silent,class:^(superProductivity)$
# Telegram
windowrule = workspace 8 silent,class:^(org.telegram.desktop)$
windowrule = group set,class:^(org.telegram.desktop)$
windowrule = workspace 8 silent,class:^(com.ayugram.desktop)$
windowrule = group set,class:^(com.ayugram.desktop)$
# Vesktop
windowrule = workspace 8 silent,class:^(vesktop)$
@@ -661,7 +677,7 @@ workspace = 9, gapsin:15, gapsout:40
###############
### PLUGINS ###
###############
exec-once = hyprpm reload -n
# exec-once = hyprpm reload -n
# # Easymotion
# bind = SUPER, x, easymotion, action:hyprctl dispatch focuswindow address:{}

12
hypr/hyprsunset.conf Normal file
View File

@@ -0,0 +1,12 @@
max-gamma = 150
profile {
time = 7:30
identity = true
}
profile {
time = 21:00
gamma = 0.8
temperature = 5000
}

View File

@@ -1,6 +1,8 @@
windowrule = tag +privacy,class:^(org.telegram.desktop)$
windowrule = tag +privacy,class:^(com.ayugram.desktop)$
windowrule = tag +privacy,class:^(Element)$
windowrule = tag +privacy,class:^(vesktop)$
windowrule = tag +privacy,class:^(chat-simplex-desktop-MainKt)$
windowrule = tag +privacy,class:^(com.github.hluk.copyq)$
windowrule = tag +privacy,class:^(org.keepassxc.KeePassXC)$
windowrule = tag +privacy,class:^(otpclient)$

View File

@@ -8,13 +8,11 @@ if [ $arg != "ncmpcpp" ] && [ $arg != "rmpc" ]; then
exit 1
fi
kitty --single-instance btop &
sleep 0.1
kitty --single-instance cava &
sleep 0.1
kitty --single-instance btop
kitty --single-instance cava
sleep 0.2
hyprctl dispatch resizeactive 0 250
sleep 0.1
hyprctl dispatch resizeactive -90 0
hyprctl dispatch movefocus l

View File

@@ -2,16 +2,22 @@
TOGGLE_FILE="/tmp/toggle_ssocks"
kill_process() {
local process_name="$1"
killall "$process_name" 2>/dev/null
sleep 0.25
killall -9 "$process_name" 2>/dev/null 2>&1
}
kill_process sslocal
kill_process spoof-dpi
if [ -f "$TOGGLE_FILE" ]; then
echo "Enabling spoofdpi"
killall sslocal
http_proxy="" spoof-dpi -addr 127.0.0.1 -port 1080 &
http_proxy="" spoof-dpi -addr 127.0.0.1 -port 1080 >/dev/null 2>&1 &
rm "$TOGGLE_FILE"
else
echo "Enabling shadowsocks"
killall spoof-dpi
http_proxy="" sslocal -c /etc/shadowsocks-rust/mega.json &
http_proxy="" sslocal -c /etc/shadowsocks-rust/mega.json >/dev/null 2>&1 &
touch "$TOGGLE_FILE"
fi

View File

@@ -117,8 +117,8 @@
pane: Split(
direction: Vertical,
panes: [
(size: "60%", pane: Pane(Queue)),
(size: "40%", pane: Pane(Cava)),
(size: "72%", pane: Pane(Queue)),
(size: "28%", pane: Pane(Cava)),
],
),
),

View File

@@ -2,7 +2,7 @@
#![enable(unwrap_newtypes)]
#![enable(unwrap_variant_newtypes)]
(
default_album_art_path: "/home/greg/Pictures/Fetch/atheism_paint.png",
default_album_art_path: "/home/greg/Pictures/Fetch/levi.jpg",
show_song_table_header: false,
draw_borders: true,
format_tag_separator: " | ",
@@ -16,7 +16,7 @@
preview_metadata_group_style: (fg: "yellow", modifiers: "Bold"),
tab_bar: (
enabled: true,
active_style: (fg: "black", bg: "blue", modifiers: "Bold"),
active_style: (fg: "white", bg: "blue", modifiers: "Bold"),
inactive_style: (),
),
highlighted_item_style: (fg: "blue", modifiers: "Bold"),
@@ -41,7 +41,7 @@
trace: (fg: "magenta", bg: "black"),
),
progress_bar: (
symbols: ["🬋", "󰃚 ", "⠔"],
symbols: ["🬋", " ", "⠔"],
track_style: (fg: "blue"),
elapsed_style: (fg: "blue"),
thumb_style: (fg: "blue"),
@@ -59,7 +59,7 @@
default: (kind: Text("<empty>"), style: (fg: "yellow")),
style: (fg: "yellow"),
),
width: "25%",
width: "20%",
),
(
prop: (kind: Property(Title),
@@ -74,7 +74,7 @@
default: (kind: Text("-")),
style: (fg: "magenta"),
),
width: "5%",
width: "10%",
alignment: Right,
),
],
@@ -131,6 +131,10 @@
]
),
),
(
size: "3",
pane: Pane(Tabs), // Changed from TabBar to Tabs
),
(
size: "100%",
pane: Pane(TabContent),

View File

@@ -222,3 +222,10 @@ error-message {
background-color: @background;
text-color: @foreground;
}
configuration {
kb-mode-next: "Shift+Right,Control+Tab,L";
kb-mode-previous: "Shift+Left,H";
kb-page-prev: "K";
kb-page-next: "J";
}

View File

@@ -1,6 +1,6 @@
#!/bin/sh
mode=$(echo -e "\n󰾅\n󰓅" | rofi \
mode=$(echo -e "\n400\n2000\n󰾅\n700\n3000\n󰈸\n1000\n4200" | rofi \
-modes drun,run,calc \
-dmenu -p "Power menu" \
-theme "$HOME/.config/rofi/styles/style-powermodemenu.rasi" \
@@ -8,15 +8,36 @@ mode=$(echo -e "\n󰾅\n󰓅" | rofi \
-drun-use-desktop-cache \
)
cpupowerset="sudo cpupower frequency-set --max"
powerprofileset="powerprofilesctl set"
case "$mode" in
"")
powerprofilesctl set power-saver
$powerprofileset power-saver
;;
"󰾅")
powerprofilesctl set balanced
$powerprofileset balanced
;;
"󰓅")
powerprofilesctl set performance
"󰈸")
$powerprofileset performance
;;
"400")
$cpupowerset "400MHz"
;;
"700")
$cpupowerset "700MHz"
;;
"1000")
$cpupowerset "1000MHz"
;;
"2000")
$cpupowerset "2000MHz"
;;
"3000")
$cpupowerset "3000MHz"
;;
"4200")
$cpupowerset "4200MHz"
;;
*)
exit 0

View File

@@ -98,3 +98,10 @@ element-text, element-icon {
background-color: transparent;
text-color: inherit;
}
configuration {
kb-row-left: "h,H";
kb-row-right: "l,L";
kb-row-down: "j,J";
kb-row-up: "k,K";
}

View File

@@ -21,7 +21,7 @@ window {
anchor: center;
location: center;
width: 1000px;
height: 250px;
height: 556px;
padding: 6px;
children: [ mainbox ];
border: 1px;
@@ -39,12 +39,12 @@ mainbox {
listview {
enabled: true;
columns: 1;
columns: 3;
lines: 3;
cycle: true;
dynamic: true;
scrollbar: false;
layout: horizontal;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;
@@ -60,7 +60,7 @@ listview {
element {
enabled: true;
spacing: 15px;
width: calc(100% / 3 - 12);
width: calc(100% / 3);
padding: 8px;
border-radius: 10px;
text-color: @foreground;
@@ -80,7 +80,7 @@ element selected.normal {
element-text {
vertical-align: 0.5;
horizontal-align: 0.5;
padding: 80;
padding: 50;
}
prompt {
@@ -99,3 +99,10 @@ element-text, element-icon {
background-color: transparent;
text-color: inherit;
}
configuration {
kb-row-left: "h,H";
kb-row-down: "j,J";
kb-row-up: "k,K";
kb-row-right: "l,L";
}

View File

@@ -126,3 +126,10 @@ element-text, element-icon {
background-color: transparent;
text-color: inherit;
}
configuration {
kb-row-left: "h,H";
kb-row-down: "j,J";
kb-row-up: "k,K";
kb-row-right: "l,L";
}

View File

@@ -7,7 +7,7 @@
--noti-bg-darker: rgb(38, 38, 38);
--noti-bg-hover: rgb(56, 56, 56);
--noti-bg-focus: transparent;
--noti-bg-selection: #9e2238dd;
--noti-bg-selection: #9e2238;
--noti-close-bg: rgb(78, 78, 78);
--noti-close-bg-hover: rgb(94, 94, 94);
--text-color: #FFe8EE;
@@ -18,7 +18,7 @@
--notification-group-icon-size: 32px;
--button: #303030;
--button-top: #505050;
--button-on-top: #CE5268dd;
--button-on-top: #CE5268;
--button-off: #2e2d31;
}
@@ -28,8 +28,10 @@
}
button {
background: none;
background-color: var(--button-off);
border-top: 1px solid var(--button-top);
border-top: 1.5px solid var(--button-top);
border-radius: 15px;
}
button:hover {
@@ -475,41 +477,31 @@ button:hover {
font-family: "Iosevka Nerd Font Mono";
}
/* .widget-buttons-grid flowboxchild > button.toggle { */
/* background-color: #000000; */
/* } */
.widget-buttons-grid flowboxchild > * {
background-color: var(--button);
}
.widget-buttons-grid flowboxchild > * {
/* style given to the active toggle button */
background-color: var(--button);
box-shadow: none;
}
.widget-buttons-grid flowboxchild > button.toggle:checked {
/* style given to the active toggle button */
background-color: var(--noti-bg-selection);
border-top: 1px solid var(--button-on-top);
border-top: 1.5px solid var(--button-on-top);
}
.widget-buttons-grid flowboxchild > button.toggle:hover {
/* style given to the active toggle button */
background-color: var(--bg-selected);
}
/* Menubar widget */
.widget-menubar {
/* The revealer buttons */
/* .AnyName { Name defined in config after #
background-color: rgba(var(--noti-bg), 1.0);
padding: 8px;
margin: 8px;
border-radius: 12px;
}
.AnyName>button {
background: transparent;
border: none;
}
.AnyName>button:hover {
background-color: var(--noti-bg-hover);
} */
}
.widget-menubar > .menu-button-bar {
/* The left button container */
/* The right button container */
/* The left and right button container */
border-top: 1.5px solid var(--button-on-top);
}
.widget-menubar > .menu-button-bar > .start {
@@ -522,6 +514,7 @@ button:hover {
.widget-menubar > .menu-button-bar > .widget-menubar-container button {
border-radius: 12px;
padding: 0px 15px;
margin: 0 4px;
background-color: var(--noti-bg-selection);
border-top: 1px solid var(--button-on-top);

View File

@@ -13,7 +13,8 @@
// Choose the order of the modules
"modules-left": [
"hyprland/workspaces",
"custom/pomodoro"
"custom/pomodoro",
"custom/submap"
// "custom/goal"
],
"modules-center": [
@@ -244,6 +245,16 @@
],
"on-click": "pwvucontrol"
},
"custom/submap": {
"format": "{icon} {text}",
"max-length": 10,
"format-icons": {
"default": "󰥻"
},
"interval": 1,
"exec": "state=$(hyprctl submap) && [[ $state != 'default' ]] && echo $state",
"on-click": "hyprctl dispatch submap reset"
},
"custom/media": {
"format": "{icon} {text}",
"return-type": "json",

View File

@@ -1,6 +1,6 @@
/* GTK Color Definitions */
@define-color bg-primary rgba(23, 28, 39, 0.8);
@define-color bg-secondary rgba(23, 28, 39, 0.7);
@define-color bg-primary rgba(28, 28, 28, 0.81);
@define-color bg-secondary rgba(28, 28, 28, 0.81);
@define-color bg-opaque rgba(23, 28, 39, 0.8);
@define-color border-color rgba(90, 104, 115, 1);
@define-color text-primary #ffffff;
@@ -156,6 +156,22 @@ window#waybar.chromium {
/* border-right: none; */
}
#custom-submap {
color: @accent-color;
background: linear-gradient(to bottom, @bg-primary, @bg-secondary);
border: 1px solid @border-color;
border-top: none;
border-radius: 0 0 10px 10px;
padding: 0 10px;
transition: color 2s ease-out, box-shadow 2s ease-out, background 2s ease-out;
}
#custom-pomodoro {
border-radius: 0 0 10px 10px;
/* margin-right: 0; */
/* border-right: none; */
}
#custom-goal {
border-radius: 0 0 10px 0;
margin: 0;

View File

@@ -30,7 +30,7 @@ alias d="sudo loadkeys dvorak"
alias ssh="TERM=xterm-256color ssh"
alias vesktop="vesktop --proxy-server=127.0.0.1:1080"
alias govno="_JAVA_AWT_WM_NONREPARENTING=1 nohup idea > /dev/null 2>&1 & exit"
alias blu="bluetuith"
alias blu="bluetui"
alias lyns="lynx https://duckduckgo.com"
alias chat="input=\$(whiptail --inputbox 'What do you want from ChatGPT today?' 20 50 '' 3>&1 1>&2 2>&3) && echo \$input | /home/greg/.go/bin/tgpt | less"
alias prevsus=".config/bspwm/prevent_suspend.sh"