feat: cpu frequency control bind
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=eDP-1, 1920x1080, 0x0, 1
|
||||
monitor=HDMI-A-1, 1920x1080, 0x-1080, 1
|
||||
monitor=HDMI-A-1, 1920x1080, -1920x0, 1
|
||||
|
||||
###################
|
||||
### MY PROGRAMS ###
|
||||
@@ -17,8 +17,9 @@ $terminal = kitty
|
||||
$fastTerminal = kitty --single-instance
|
||||
$fileManager = thunar
|
||||
$menu = $HOME/.config/rofi-wayland/launchers/type-6/launcher.sh
|
||||
$browser = zen-browser
|
||||
$privateBrowser = zen-browser --private-window
|
||||
$browser = env GTK_THEME=Adwaita:light zen-browser
|
||||
$privateBrowser = env GTK_THEME=Adwaita:light zen-browser --private-window
|
||||
$passwordManager = keepassxc
|
||||
|
||||
#################
|
||||
### AUTOSTART ###
|
||||
@@ -296,6 +297,7 @@ bind = $mainMod, Q, exec, $browser
|
||||
bind = $mainMod SHIFT, Q, exec, $privateBrowser
|
||||
bind = $mainMod, Backslash, exec, $fastTerminal
|
||||
bind = $mainMod, Space, exec, $menu
|
||||
bind = $mainMod, X, exec, $passwordManager
|
||||
|
||||
# Open floating terminal
|
||||
bind = $mainMod SHIFT, Return, exec, [float; size 800 600; move center] $fastTerminal --class kitty-float
|
||||
@@ -442,6 +444,9 @@ bind = $mainMod CTRL, L, layoutmsg, preselect r
|
||||
bind = $mainMod CTRL, J, layoutmsg, preselect d
|
||||
bind = $mainMod CTRL, K, layoutmsg, preselect u
|
||||
|
||||
# Toggle layout type
|
||||
bind = $mainMod SHIFT, X, exec, hyprctl keyword general:layout "$(hyprctl getoption general:layout | grep -q 'dwindle' && echo 'master' || echo 'dwindle')"
|
||||
|
||||
# Window grouping
|
||||
bind = $mainMod CTRL ALT, M, togglegroup
|
||||
bind = $mainMod, comma, changegroupactive, b
|
||||
@@ -465,12 +470,18 @@ bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
# Toggle waybar
|
||||
bind = $mainMod SHIFT, B, exec, ~/.config/hypr/scripts/toggle_waybar.sh
|
||||
|
||||
# Toggle grayscale mode
|
||||
bind = $mainMod CTRL, G, exec, ~/.config/hypr/scripts/grayscale-toggle.sh
|
||||
|
||||
# Game mode
|
||||
bind = $mainMod SHIFT, G, exec, ~/.config/hypr/scripts/gamemode.sh
|
||||
|
||||
# Cycle cpu frequency mode
|
||||
bind = $mainMod CTRL, C, exec, ~/.config/hypr/scripts/cpufreq.sh
|
||||
|
||||
# Pin window
|
||||
bind = $mainMod CTRL, Y, pin, active
|
||||
|
||||
|
||||
Reference in New Issue
Block a user