Feat: New Scripts, new functions

This commit is contained in:
coolnsx
2025-10-22 14:17:33 +05:30
parent 135b8ce642
commit 46ba34c8e5
26 changed files with 469 additions and 353 deletions

View File

@@ -46,6 +46,7 @@ input {
touchpad {
natural_scroll = yes
drag_lock = 0
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
@@ -107,15 +108,13 @@ dwindle {
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = true
workspace_swipe_fingers = 3
gesture = 3, horizontal, workspace
#gesture = 3, up, fullscreen,maximize
}
misc {
force_default_wallpaper = 0
vfr = 1
#vrr = 1
#no_direct_scanout = false
}
xwayland {
@@ -191,6 +190,7 @@ bind = $mainMod SHIFT, Print, exec, $hypr_dir/screenshot 'fullclip'
bind = $mainMod,Print, exec, $hypr_dir/screenshot 'fullsave'
bind = $mainMod, F12, exec, $hypr_dir/date
bind = $mainMod, Delete, exec, $hypr_dir/workspace 'list'
bind = $mainMod SHIFT, M, exec, $hypr_dir/pinmpv
#xf86 keys
binde =, XF86AudioLowerVolume, exec, $hypr_dir/volume set-volume -l 1.4 @DEFAULT_SINK@ 2%-
@@ -200,8 +200,8 @@ binde =, XF86AudioMicMute, exec, $hypr_dir/volume set-mute @DEFAULT_SOURCE@ togg
binde =, XF86AudioPlay, exec, echo cycle pause | socat - "/tmp/yt-music/yt-music-mpvsocket"
binde =, XF86AudioPause, exec, echo cycle pause | socat - "/tmp/yt-music/yt-music-mpvsocket"
binde = $mainMod, XF86Favorites, exec, $HOME/repos_scripts/yt-music search_play #why not :)
binde =, XF86HangupPhone, exec, $HOME/repos_scripts/yt-music play_next
binde =, XF86PickupPhone, exec, $HOME/repos_scripts/yt-music play_next menu
binde =, XF86HangupPhone, exec, flock -n /tmp/yt-music/play_next.lock $HOME/repos_scripts/yt-music play_next
binde =, XF86PickupPhone, exec, flock -n /tmp/yt-music/play_next_menu.lock $HOME/repos_scripts/yt-music play_next menu
binde =, XF86MonBrightnessUp, exec, $hypr_dir/brightness '+'
binde =, XF86MonBrightnessDown, exec, $hypr_dir/brightness '-'
bind = , XF86SelectiveScreenshot, exec, $hypr_dir/screenshot 'selclip'
@@ -226,6 +226,7 @@ windowrulev2 = size 640 360, title:(Picture-in-Picture)
windowrulev2 = pin, title:^(Picture-in-Picture)$
windowrulev2 = move 100%-641 100%-361, title:(Picture-in-Picture)
windowrulev2 = float, title:^(Picture-in-Picture)$
windowrulev2 = float, class:^(xdg-desktop-portal-gtk)$
#workspace rules
workspace = 1, on-created-empty:$browser
@@ -233,11 +234,12 @@ workspace = 2, on-created-empty:foot
workspace = special, on-created-empty:[float] foot
#startup applications
exec-once = systemctl --user import-environment DBUS_SESSION_BUS_ADDRESS WAYLAND_DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP QT_QPA_PLATFORMTHEME GTK_THEME
exec-once = dbus-update-activation-environment --systemd --all
exec-once = hypridle
exec-once = ssh-agent
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = swaybg -i $HOME/.config/wall/1.png -m fill
exec-once = swaybg -i $HOME/.config/wall/4.jpg -m fill
exec-once = $hypr_dir/workspace 'focus'
exec-once = $hypr_dir/battery
exec-once = $hypr_dir/themes