big updates

This commit is contained in:
sankalp committed 2024-07-30 10:19:03 +05:45
1 parent 0c82692536
commit c7c8ea67c7
42 files changed
+1083 -665

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
$scriptsDir = $HOME/.config/hypr/scripts
# Startup
exec-once = swww-daemon --format xrgb
exec-once = $scriptsDir/init-wallpaper-engine.sh
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = dbus-update-activation-environment --systemd --all
+27 -43
View File
@@ -15,59 +15,43 @@ $RunCMD = $scriptsDir/RunCMD.sh
#! @windows: Windows
#! @workspaces: Workspaces
#! @misc: Misc
#! @plugins: Plugins
# Power off, Reboot, Log out, Lockscreen,
bind = $mainMod CTRL, L, exec, pidof hyprlock || hyprlock -q #! @description: "Lock screen"; @actions;
bind = $mainMod CTRL, P, exec, systemctl poweroff #! @description: "ShutDown"; @actions;
bind = $mainMod CTRL, R, exec, systemctl reboot #! @description: "Restart"; @actions;
bind = $mainMod CTRL, Q, exec, loginctl kill-session $XDG_SESSION_ID #! @description: "LogOut"; @actions;
bind = CTRL SHIFT, R, exec, pkill ags ; ags
# Terminals
# Applications
bind = ALT SHIFT,Return, exec, kitty --title Kitty --single-instance #! @description: "Terminal Float"; @apps;
bind = $mainMod, Return, exec, kitty #! @description: "Terminal"; @apps;
# Apps
bind = $mainMod, E, exec, thunar #! @description: "File Manager"; @apps;
bind = ALT, F, exec, firefox #! @description: "Browser"; @apps;
bind = ALT, Y, exec, pypr toggle yazi && hyprctl dispatch bringactivetotop #! @description: "File Manager"; @apps;
bind = $mainMod, Slash, exec, pypr toggle nvim && hyprctl dispatch bringactivetotop #! @description: "Neovim"; @apps;
bind = $mainMod, Return, exec, $scriptsDir/apps.sh terminal #! @description: "Terminal"; @apps;
bind = $mainMod, E, exec, $scriptsDir/apps.sh filemanager #! @description: "File Manager"; @apps;
bind = ALT, F, exec, $scriptsDir/apps.sh browser #! @description: "Browser"; @apps;
# FEATURES / EXTRAS
# Actions
bind = $mainMod SHIFT, G, exec, $RunCMD gamemode #! @description: "Toggle animations"; @actions;
bind = ALT, F3, exec, $RunCMD kb_changer #! @description: "Change Keyboard Layout"; @actions;
bind = $mainMod SHIFT, B, exec, $RunCMD toggle_blur #! @description: "Toggle blur"; @actions;
bind = $mainMod, space, exec, $RunCMD change_layout #! @description: "Change Layout(master/dwindle)"; @actions;
bind = SHIFT ALT,W, exec, python -O $scriptsDir/wallpaper.py -R #! @description: "Random wallpaper"; @actions;
bind = $mainMod, COMMA, exec, pypr zoom #! @description: "Zoom the screen"; @plugins;
bind = ALT, COMMA, exec, pypr zoom +1 #! @description: "Increase Zoom"; @plugins;
# AGS
bind = $mainMod, D, exec, ags -r "toggleAppsWindow()" #! @description: "App Launcher"; @apps;
bind = $mainMod SHIFT, Z, exec, ags -r "toggleMediaWindow()" #! @description: "Players"; @actions;
bind = ALT, R, exec, ags -t sidebar #! @description: "rightbar"; @actions;
bind = ALT, L, exec, ags -t sideleft #! @description: "leftbar"; @actions;
bind = $mainMod, PERIOD, exec, ags -r "OpenEmojiPicker()" #! @description: "Emoji Picker"; @actions;
bind = SHIFT ALT, C, exec, ags -r "toggleClipsWindow()" #! @description: "Clipboard history"; @actions;
bind = $mainMod, W, exec, ags -r "OpenSettings('wallpaper')" #! @description: "Change wallpaper"; @actions;
bind = $mainMod SHIFT, S, exec, ags -r 'OpenSettings()' #! @description: "Setting"; @actions;
bind = ALT, F1, exec, ags -t cheatsheet #! @description: "List of keybindings"; @misc;
# Online Music related keybinds
bind = ALT, M, exec, $RunCMD music -m # open rofi music
bind = ALT, S, exec, $RunCMD music -s # Stop
bind = ALT, N, exec, $RunCMD music -n # Next
bind = ALT, P, exec, $RunCMD music -p # Previous
bind = ALT, R, exec, $RunCMD music -k # Resume
# ScreenShot
bind = $mainMod, Z, exec, $scriptsDir/ScreenShot.sh --area #! @description: "Window screenshot"; @actions;
bind = ,Print, exec, $scriptsDir/ScreenShot.sh --now #! @description: "Screenshot"; @actions;
bind = $mainMod CTRL, L, exec, pidof hyprlock || hyprlock -q #! @description: "Lock screen"; @actions;
bind = $mainMod CTRL, P, exec, systemctl poweroff #! @description: "ShutDown"; @actions;
bind = $mainMod CTRL, R, exec, systemctl reboot #! @description: "Restart"; @actions;
bind = $mainMod CTRL, Q, exec, loginctl kill-session $XDG_SESSION_ID #! @description: "LogOut"; @actions;
bind = CTRL SHIFT, R, exec, pkill ags ; ags #! @description: "Reload AGS" @actions;
# Tools
bind = $mainMod, D, exec, ags -r "toggleAppsWindow()" #! @description: "App Launcher"; @tools;
bind = $mainMod SHIFT, Z, exec, ags -r "toggleMediaWindow()" #! @description: "Players"; @tools;
bind = ALT, R, exec, ags -t sidebar #! @description: "rightbar"; @tools;
bind = ALT, L, exec, ags -t sideleft #! @description: "leftbar"; @tools;
bind = $mainMod, PERIOD, exec, ags -r "OpenEmojiPicker()" #! @description: "Emoji Picker"; @tools;
bind = SHIFT ALT, C, exec, ags -r "toggleClipsWindow()" #! @description: "Clipboard history"; @tools;
bind = $mainMod, W, exec, ags -r "OpenSettings('wallpaper')" #! @description: "Change wallpaper"; @tools;
bind = $mainMod SHIFT, S, exec, ags -r 'OpenSettings()' #! @description: "Setting"; @tools;
bind = ALT, F1, exec, ags -t cheatsheet #! @description: "List of keybindings"; @tools;
# Misc
# misc
bind = $mainMod ALT, P, submap, passthru #! @description: "Passthrough $mainMod key to Virtual Machine"; @misc;
submap = passthru
bind = $mainMod ALT, P, submap, reset #! @description: "Cancel passthrough"; @misc;
submap = reset
-3
View File
@@ -1,3 +0,0 @@
general {
resize_on_border = true
}
-211
View File
@@ -1,211 +0,0 @@
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# Opacity Rules
windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$
windowrulev2 = opacity 0.9 0.6, class:^(yad)$
windowrulev2 = opacity 0.9 0.6, class:^(mousepad)$
windowrulev2 = opacity 0.9 0.9, class:^(geany)$
windowrulev2 = opacity 0.80 0.70,class:^(nm-applet)$
windowrulev2 = opacity 0.80 0.70,class:^(nm-connection-editor)$
# Xwaylandvideobridge (if installed)
windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
windowrulev2 = noblur,class:^(xwaylandvideobridge)$
# Workspace Rules
windowrule = workspace 5, ^(.*vlc*)$
#windowrule = stayfocused, ^(com.github.Aylur.ags)$
windowrule = float, ^(com.github.Aylur.ags)$
# MPV
windowrule = workspace 5, ^(.*mpv*)$
windowrulev2 = float, class:^(.*mpv.*)
windowrulev2 = size 70% 70%, class:^(.*mpv.*)
# Do not lose focus when rofi or gnome polkit is opened
windowrulev2 = stayfocused, class:(rofi)
windowrulev2 = stayfocused, class:(polkit-gnome-authentication-agent-1)
# Pavucontrol
windowrulev2 = float, class:(pavucontrol)
windowrulev2 = size 533 533, class:(pavucontrol)
windowrulev2 = center, class:(pavucontrol)
# Zathura
$zathura = class:^(.*zathura.*)$
windowrulev2 = float, $zathura
windowrulev2 = size 35% 90%, $zathura
windowrulev2 = center 1, $zathura
# OBS
# Main window / Profile screen
windowrulev2 = size 75% 70%, class:(com.obsproject.Studio), title:(.*Profile:.*)
# Class settings
windowrulev2 = workspace 9, class:(com.obsproject.Studio)
windowrulev2 = float, class:(com.obsproject.Studio)
windowrulev2 = center, class:(com.obsproject.Studio)
# Folder picker
windowrulev2 = size 50% 45%, class:(com.obsproject.Studio), title:(Select Recording Directory)
windowrulev2 = center, class:(com.obsproject.Studio), title:(Select Recording Directory)
# Fireox class settings
windowrulev2 = workspace 3, class:^(firefox)$
windowrulev2 = workspace 3, class:^(qutebrowser)$
windowrulev2 = workspace 3, class:^(Firefox-esr)$
windowrulev2 = opacity 0.9 0.9, class:^(firefox)$
windowrulev2 = opacity 0.95 0.95,title:^(Picture-in-Picture)$
windowrulev2 = pin,title:^(Picture-in-Picture)$
windowrulev2 = float, title:^(Picture-in-Picture)$
windowrulev2 = size 25% 25%,title:^(Picture-in-Picture)$
windowrulev2 = move 72% 7%,title:^(Picture-in-Picture)$
windowrulev2 = idleinhibit fullscreen, class:^(.*firefox.*)$
# Thunar
windowrulev2 = size 456 884, title:(.*Compress.*), class:(thunar)
windowrulev2 = center, title:(.*Compress.*), class:(thunar)
windowrulev2 = float, title:(.*Compress.*), class:(thunar)
windowrulev2 = size 516 158, title:(.*Rename.*), class:(thunar)
windowrulev2 = center, title:(.*Rename.*), class:(thunar)
windowrulev2 = size 950 270, title:(Confirm to replace files), class:(thunar)
windowrulev2 = center, title:(Confirm to replace files), class:(thunar)
windowrulev2 = float,title:^(Confirm to replace files)
windowrulev2 = size 444 103, title:(File Operation Progress), class:(thunar)
windowrulev2 = center, title:(File Operation Progress), class:(thunar)
windowrulev2 = size 565 591, class:(thunar), title:(Properties)
windowrulev2 = center, class:(thunar), title:(Properties)
windowrulev2 = size 477 149, class:(thunar), title:(Create New Folder)
windowrulev2 = center, class:(thunar), title:(Create New Folder)
windowrulev2 = workspace 4, class:(thunar)
windowrulev2 = opacity 0.9 0.9, class:^([Tt]hunar)$
#windowrulev2 = float, class:(thunar)
#windowrulev2 = size 1161 619, class:(thunar)
#windowrulev2 = center, class:(thunar)
# File / Folder pickers
$center-float = class:^(center-float)$|^(.*file-roller.*)$|^(.*FileRoller.*)$
$center-float-title = title:^(.*Open Folder.*)$|^(.*Open File.*)$|^(.*Save File.*)$|^(.*Save Folder.*)$|^(.*Save Image.*)$|^(.*Save As.*)$|^(.*Open As.*)$
windowrulev2 = float, $center-float
windowrulev2 = float, $center-float-title
windowrulev2 = size 50% 50%, $center-float
windowrulev2 = size 50% 50%, $center-float-title
windowrulev2 = center 1, $center-float
windowrulev2 = center 1, $center-float-title
# VS Code
windowrulev2 = workspace 2, class:^(.*Code.*)$|(.*codium.*)$|(.*VSCodium.*)
windowrulev2 = opacity 0.9 0.9, class:^(.*Code.*)$|(.*codium.*)$|(.*codium-url-handler.*)$|(.*VSCodium.*)
# Telegram
# windowrulev2 = fullscreen, class:(org.telegram.desktop), title:(Media viewer)
windowrulev2 = opacity 0.90, class:^(org.telegram.desktop)$
windowrulev2 = workspace 6, class:(org.telegram.desktop)
windowrulev2 = size 833 455, class:(org.telegram.desktop), title:(Choose Files)
windowrulev2 = center, class:(org.telegram.desktop), title:(Choose Files)
#windowrulev2 = float, class:^(org.telegram.desktop)$
#windowrulev2 = center, class:^(org.telegram.desktop)$
#windowrulev2 = size 800 800, class:^(org.telegram.desktop)$
# discord
windowrulev2 = workspace 7, class:^(.*discord.*)$|(.*vesktop.*)$|(.*WebCord.*)$
# File Roller
windowrulev2 = workspace 4, class:(file-roller), title:(Archive Manager)
windowrulev2 = float, class:(file-roller), title:(Archive Manager)
windowrulev2 = size 45% 50%, class:(file-roller), title:(Archive Manager)
windowrulev2 = center, class:(file-roller), title:(Archive Manager)
windowrulev2 = float, class:(file-roller), title:(Extract archive)
windowrulev2 = size 30% 15%, class:(file-roller), title:(Extract archive)
windowrulev2 = center, class:(file-roller), title:(Extract archive)
# qBittorrent
windowrulev2 = workspace 9, class:(org.qbittorrent.qBittorrent)
windowrulev2 = float, class:(org.qbittorrent.qBittorrent)
windowrulev2 = size 1137 547, class:(org.qbittorrent.qBittorrent), title:(.*qbittorrent.*)
windowrulev2 = center, class:(org.qbittorrent.qBittorrent), title:(.*qbittorrent.*)
# Kitty
windowrule = opacity 0.9 0.9,kitty
windowrule = float, title:^(Kitty)$
windowrule = size 800 500, title:^(Kitty)$
windowrule = move center, title:^(Kitty)$
windowrule = animation slide, title:^(Kitty)$
windowrule = float, title:^(Kitty)$
windowrule = float, kitty_float
# Bluetooth applet
windowrulev2 = float, class:(blueman)
windowrulev2 = size 680 665, class:(blueman)
windowrulev2 = center, class:(blueman)
# IMV image viewer
$center-float-large = class:^(center-float-large)$|^(.*imv.*)$|^(.*imv-dir.*)$
windowrulev2 = float, $center-float-large
windowrulev2 = size 70% 70%, $center-float-large
windowrulev2 = center 1, $center-float-large
# qt5ct / qt6ct
windowrulev2 = float, class:(qt5ct)
windowrulev2 = float, class:(qt6ct)
windowrulev2 = size 1256 689, class:(qt5ct)
windowrulev2 = size 1256 689, class:(qt6ct)
windowrulev2 = center, class:(qt5ct)
windowrulev2 = center, class:(qt6ct)
windowrulev2 = size 257 116, class:(qt5ct), title:(Enter Color Scheme Name)
windowrulev2 = size 257 116, class:(qt6ct), title:(Enter Color Scheme Name)
windowrulev2 = size 548 476, class:(qt5ct), title:(Select Color)
windowrulev2 = size 548 476, class:(qt6ct), title:(Select Color)
# Other
windowrule = float, nm-connection-editor|vlc|yad|rofi|Lxappearance
windowrule = float, org.kde.polkit-kde-authentication-agent-1
windowrulev2 = size 543 239, class:^(polkit-gnome-authentication-agent-1)$
windowrulev2 = float, class:^(polkit-gnome-authentication-agent-1)$
windowrulev2 = center, class:(polkit-gnome-authentication-agent-1)
windowrulev2 = float, title:(File Operation Progress)
windowrulev2 = center, title:(File Operation Progress)
# Layer Rules
layerrule = noanim, hyprpicker
layerrule = noanim, noanim
layerrule = blur, gtk-layer-shell
layerrule = ignorezero, gtk-layer-shell
layerrule = blur, launcher
layerrule = ignorealpha 0.5, launcher
layerrule = blur, notifications
layerrule = ignorealpha 0.69, notifications
layerrule = noanim, notifications