diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 6b93813..f9bcc8e 100755 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -167,6 +167,7 @@ bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, L, exec, swaylock --screenshots --effect-blur 7x5 --clock bind = $mainMod, F, fullscreen, + #laptop screen brightness bind = $mainMod ALT, 1, exec, sudo brightnessctl s 10% bind = $mainMod ALT, 2, exec, sudo brightnessctl s 20% @@ -178,6 +179,8 @@ bind = $mainMod ALT, 7, exec, sudo brightnessctl s 70% bind = $mainMod ALT, 8, exec, sudo brightnessctl s 80% bind = $mainMod ALT, 9, exec, sudo brightnessctl s 90% bind = $mainMod ALT, 0, exec, sudo brightnessctl s 100% +bind = , XF86MonBrightnessUp, exec, sudo brightnessctl s "+10%" +bind = , XF86MonBrightnessDown, exec, sudo brightnessctl s "10%-" #lid binds #bindl = , switch:on:Lid Switch, exec, swaylock --screenshots --effect-blur 7x5 --clock @@ -227,10 +230,13 @@ bind = $mainMod CTRL, right, workspace, e+1 #multimedia keys #bind = ,XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% bind = ,XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise +bind = ,code:115, exec, swayosd-client --output-volume raise #bind = ,XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% bind = ,XF86AudioLowerVolume, exec, swayosd-client --output-volume lower +bind = ,code:114, exec, swayosd-client --output-volume lower #bind = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle bind = ,XF86AudioMute, exec, swayosd-client --output-volume mute-toggle +bind = ,code:113, exec, swayosd-client --output-volume mute-toggle bind = ,XF86AudioPlay, exec, playerctl play-pause bind = ,XF86PowerDown, exec, shutdown -h now @@ -258,9 +264,14 @@ windowrule = float,title:^(.*)Aria2(.*)Download(.*)Firefox(.*)$ windowrule=float,class:clight-gui windowrule=float,class:localsend -windowrule=float,class:wblueman-manager +windowrule=float,class:blueman-manager windowrule=tile,title:A Ren'Py Game windowrule = stayfocused,class:(steam),title:(^$) windowrule = stayfocused,class:(zoom),title:(^$) +# To get more information about a window’s class, title, XWayland status or its size, you can use `hyprctl clients`. (From Hyprland Wiki) +windowrulev2 = float,class:^(one.alynx.showmethekey)$ +windowrulev2 = float,class:^(showmethekey-gtk)$ # make window floating +windowrulev2 = pin,class:^(showmethekey-gtk)$ # pin window + diff --git a/.zshrc b/.zshrc index 09aef37..72a3edc 100644 --- a/.zshrc +++ b/.zshrc @@ -129,4 +129,4 @@ if [[ -f ~/bin/alias ]]; then source ~/bin/alias fi -eval "$(atuin init zsh)" +eval "$(atuin init zsh --disable-up-arrow)" diff --git a/bin/alias b/bin/alias index e1131dd..39f87e3 100644 --- a/bin/alias +++ b/bin/alias @@ -1,4 +1,4 @@ -alias bat="upower -i /org/freedesktop/UPower/devices/battery_BAT0" +alias batt="upower -i /org/freedesktop/UPower/devices/battery_BAT0" alias iops="fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=fiotest --filename=testfio --bs=4k --iodepth=64 --size=8G --readwrite=randrw --rwmixread=75" alias btr="bluetoothctl connect 40:ED:98:1A:40:D0" alias btro="bluetoothctl disconnect 40:ED:98:1A:40:D0"