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
46 lines
899 B
Bash
Executable File
46 lines
899 B
Bash
Executable File
#!/bin/sh
|
|
|
|
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" \
|
|
-markup-rows \
|
|
-drun-use-desktop-cache \
|
|
)
|
|
|
|
cpupowerset="sudo cpupower frequency-set --max"
|
|
powerprofileset="powerprofilesctl set"
|
|
|
|
case "$mode" in
|
|
"")
|
|
$powerprofileset power-saver
|
|
;;
|
|
"")
|
|
$powerprofileset balanced
|
|
;;
|
|
"")
|
|
$powerprofileset performance
|
|
;;
|
|
"400")
|
|
$cpupowerset "400MHz"
|
|
;;
|
|
"700")
|
|
$cpupowerset "700MHz"
|
|
;;
|
|
"1000")
|
|
$cpupowerset "1000MHz"
|
|
;;
|
|
"2000")
|
|
$cpupowerset "2000MHz"
|
|
;;
|
|
"3000")
|
|
$cpupowerset "3000MHz"
|
|
;;
|
|
"4200")
|
|
$cpupowerset "4200MHz"
|
|
;;
|
|
*)
|
|
exit 0
|
|
;;
|
|
esac
|