Update .zshrc.local

Update .config/hypr/hyprland.conf
This commit is contained in:
Jinks 2025-01-02 03:06:02 +01:00
parent 5af9a13bd2
commit 027cbff76b
2 changed files with 30 additions and 17 deletions

View file

@ -25,7 +25,6 @@ zstyle ':prompt:grml:*:items:time' token '%D{%H:%M}'
# Some extra configuration
setopt numericglobsort # sort filenames numerically when it makes sense
path=(~/bin $path)
# History configurations
HISTSIZE=10000
@ -111,6 +110,7 @@ case $DISTRO in
alias yay=paru
fi
alias pai="${sudo}${pkgman} -S ${aur}"
alias paR="${sudo}${pkgman} -Rnsc ${aur}"
alias pas="${pkgman} -Ss ${aur}"
alias pao="${pkgman} -Qo"
alias pal="${pkgman} -Ql"

View file

@ -136,23 +136,27 @@ misc {
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrulev2 = float,class:(^imv$)
windowrulev2 = float,class:(^feh$)
windowrulev2 = float,class:(imv)
windowrulev2 = float,class:(feh)
windowrulev2 = float,class:(org.speedcrunch.speedcrunch)
windowrulev2 = float,title:(^SteamTinkerLaunch)
windowrulev2 = float,title:(^SteamTinkerLaunch.*)
windowrulev2 = syncfullscreen 0,class:(firefox)
windowrulev2 = syncfullscreen 0,class:(chromium)
windowrulev2 = size 30% 50% ,class:(org.speedcrunch.speedcrunch)
windowrulev2 = bordersize 2, floating:1
windowrulev2 = rounding 5, floating:1
windowrulev2 = noborder 1, fullscreen:1
windowrulev2 = norounding 1, fullscreen:1
windowrulev2 = bordercolor rgba(007d6fff) rgba(182545ff) 45deg, floating:1
windowrulev2 = idleinhibit fullscreen,title:(.*)
windowrulev2 = idleinhibit focus, class:(^mpv$)
windowrulev2 = idleinhibit focus, class:(mpv)
windowrulev2 = idleinhibit focus, title:(Euro Truck Simulator 2)
windowrulev2 = idleinhibit always,class:(com.github.iwalton3.jellyfin-media-player)
windowrulev2 = idleinhibit always,class:(^steam_app_)
windowrulev2 = workspace 1 silent,class:(^Element$)
windowrulev2 = workspace 7 silent,class:(^steam$)
windowrulev2 = workspace 16 silent,class:(^org.test.pulsecontrol$)
windowrulev2 = workspace 11 silent,class:(^vesktop$)
windowrulev2 = idleinhibit always,class:(^steam_app_.*)
windowrulev2 = workspace 1 silent,class:(Element)
windowrulev2 = workspace 7 silent,class:(steam)
windowrulev2 = workspace 16 silent,class:(org.test.pulsecontrol)
windowrulev2 = workspace 11 silent,class:(vesktop)
# Workspace Rules
#workspace = 1, defaultName:1, monitor:DP-1
@ -199,6 +203,7 @@ workspace = 20, monitor:DP-2
binds {
allow_workspace_cycles = true
scroll_event_delay = 1
}
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
@ -212,7 +217,9 @@ bind = $mainMod, SPACE, togglefloating,
bind = $mainMod, D, exec, wofi -S drun,run
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, F, fullscreen, # dwindle
bind = $mainMod, F, fullscreen, 0 # dwindle
bind = $mainMod SHIFT, F, fullscreen, 1 # dwindle
bind = $mainMod CTRL, F, fullscreenstate, 0 2 # dwindle
bind = $mainMod, N, exec, swaync-client -t -sw # swaync
bind = $mainMod, G, exec, bluetoothctl connect 3C:FA:06:29:AA:7B
bind = $mainMod, X, exec, speedcrunch
@ -274,8 +281,8 @@ bind = $mainMod SHIFT CTRL, left, movewindow, mon:-1
bind = $mainMod SHIFT CTRL, right, movewindow, mon:+1
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, m+1
bind = $mainMod, mouse_up, workspace, m-1
bind = $mainMod, mouse_right, workspace, m-1
bind = $mainMod, mouse_left, workspace, m+1
# go to previous or next workspace with mainMod + arrow keys
bind = $mainMod, left, workspace, r-1
@ -289,8 +296,13 @@ bind = $mainMod CTRL, right, focusmonitor, +1
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Zoom to cursor
bind = $mainMod, mouse_down, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2 * 1.25; if (factor < 1) {factor = 1}; print factor}')"
bind = $mainMod, mouse_up, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2 / 1.25; if (factor < 1) {factor = 1}; print factor}')"
bind = $mainMod SHIFT, mouse_up, exec, hyprctl keyword cursor:zoom_factor 1
# Suspend
bind = , XF86Sleep, exec, systemctl suspend
bindl = , XF86Sleep, exec, systemctl suspend
bind = $mainMod, L, exec, hyprlock
# Brightness
@ -323,7 +335,8 @@ exec = import-gsettings
exec-once = ~/bin/hyprfloatfix.sh
exec-once = xhost +si:localuser:root
exec-once = swaybg -o \* -i /home/jinks/Pictures/Wallpapers/Icetwigs.jpg -m fill
exec-once = waybar -c .config/waybar/config-hypr -s .config/waybar/style-hypr.css
exec-once = waybar -c ~/.config/waybar/siren/config -s ~/.config/waybar/siren/style.css
exec-once = hyprpanel
exec-once = hypridle
exec-once = swaync
exec-once = solaar -w hide
@ -333,7 +346,7 @@ exec-once = gammastep-indicator -l 53.04:7.44
exec-once = nextcloud
exec-once = pulsecontrol
exec-once = swayosd-server
#exec-once = systemctl --user start hyprpolkitagent
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = sleep 5 && systemctl --user start hyprpolkitagent
#exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = element-desktop