mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
updates for hypr
This commit is contained in:
parent
145ec8447b
commit
a0b3f17702
@ -8,6 +8,9 @@ alias nu="cd ~/.local/share/chezmoi/provision && \
|
||||
# sway
|
||||
alias s='sway'
|
||||
|
||||
# hyprland
|
||||
alias h='Hyprland'
|
||||
|
||||
# tmuxp
|
||||
alias t='linux-tmuxp-launcher'
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=,preferred,auto,auto
|
||||
monitor=HDMI-A-1,2560x1440@144,1920x0,1
|
||||
monitor=DP-3,11920x1080@60,0x0,1
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
$mod = SUPER
|
||||
|
@ -13,6 +13,7 @@ bindl = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bind = $mod, x, submap, utility
|
||||
submap = utility
|
||||
bind = , q, exit,
|
||||
bind = , g, exec, ~/.config/hypr/scripts/gamemode.sh $e
|
||||
binde = , h, resizeactive, -50 0
|
||||
binde = , j, resizeactive, 0 50
|
||||
binde = , k, resizeactive, 0 -50
|
||||
|
10
home/dot_config/hypr/scripts/executable_gamemode.sh
Normal file
10
home/dot_config/hypr/scripts/executable_gamemode.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
status=$(gamemoded -s)
|
||||
if [ "$status" == "gamemode is inactive" ]; then
|
||||
gamemoded -r &
|
||||
killall swayidle
|
||||
else
|
||||
killall gamemoded
|
||||
~/.config/hypr/scripts/idle.sh
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user