hyprland conf upd

This commit is contained in:
Your Name 2024-05-08 18:26:35 +03:00
parent ef9e3493d5
commit 5e55a6704e
4 changed files with 28 additions and 17 deletions

View file

@ -8,7 +8,7 @@
programs.hyprland.enable = true; programs.hyprland.enable = true;
programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.hyprland; programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.hyprland;
users.users.delta.packages = with pkgs; [ users.users.delta.packages = with pkgs; [
swww stable.waybar stable.swaynotificationcenter cliphist fzf hyprshot slurp grim swaylock hypridle libnotify brightnessctl pamixer python3 swww stable.waybar stable.swaynotificationcenter cliphist fzf hyprshot slurp grim swaylock hypridle libnotify brightnessctl pamixer python3 grimblast networkmanagerapplet
]; ];
# environment.systemPackages = [ # environment.systemPackages = [
# inputs.hyprland-contrib.packages.${pkgs.system}.grimblast.override { license = licenses.gpl3; } # inputs.hyprland-contrib.packages.${pkgs.system}.grimblast.override { license = licenses.gpl3; }

View file

@ -4,8 +4,8 @@ general {
} }
listener { listener {
timeout = 245 timeout = 200z
before_sleep_cmd = notify-send -h string:x-canonical-private-synchronous:sys-notify -t 2400 -i face-yawn-symbolic 'Sleep' 'will inhibit in minute' before_sleep_cmd = notify-send -h string:x-canonical-private-synchronous:sys-notify -t 2400 -i face-yawn-symbolic 'Sleep' 'will inhibit soon'
} }
` `
listener { listener {

View file

@ -29,9 +29,11 @@ exec-once = swww init
exec-once = sh -c "sleep 1 && swww clear" exec-once = sh -c "sleep 1 && swww clear"
#exec-once = swww img Downloads/PC\ Wallpapers/gifpixel/rooftop.gif #exec-once = swww img Downloads/PC\ Wallpapers/gifpixel/rooftop.gif
#exec-once = mpvpaper '*' -o "video-scale-y=1.1 --gpu-context=wayland --vo=gpu --hwdec=vaapi-copy" videowork/bgloop.webm #exec-once = mpvpaper '*' -o "video-scale-y=1.1 --gpu-context=wayland --vo=gpu --hwdec=vaapi-copy" videowork/bgloop.webm
exec-once = gtk-launch autostart # exec-once = gtk-launch autostart
exec-once =
exec-once = waybar -c ~/.config/waybar/config-online.jsonc exec-once = waybar -c ~/.config/waybar/config-online.jsonc
#exec-once = ags #exec-once = ags
exec-once = nm-applet
exec-once = swaync exec-once = swaync
@ -82,6 +84,8 @@ input {
follow_mouse = 1 follow_mouse = 1
mouse_refocus = false mouse_refocus = false
accel_profile = adaptive
touchpad { touchpad {
natural_scroll = no natural_scroll = no
#disable_while_typing = false #disable_while_typing = false
@ -98,7 +102,7 @@ general {
border_size = 1 border_size = 1
no_border_on_floating = true no_border_on_floating = true
cursor_inactive_timeout = 3 cursor_inactive_timeout = 3
#no_cursor_warps = true no_cursor_warps = true
#col.active_border = rgba(7287fdee) rgba(179299ee) 45deg #col.active_border = rgba(7287fdee) rgba(179299ee) 45deg
col.active_border = rgba(7287fdee) col.active_border = rgba(7287fdee)
@ -190,7 +194,7 @@ master {
gestures { gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
#workspace_swipe_direction_lock = off # workspace_swipe_direction_lock = off
workspace_swipe = true workspace_swipe = true
workspace_swipe_fingers = 3 workspace_swipe_fingers = 3
workspace_swipe_cancel_ratio = 0.15 workspace_swipe_cancel_ratio = 0.15
@ -202,6 +206,7 @@ gestures {
# sensitivity = -0.5 # sensitivity = -0.5
# } # }
# Example windowrule v1 # Example windowrule v1
#windowrule = float, ^(kitty)$ #windowrule = float, ^(kitty)$
windowrule = float,^(pavucontrol)$ windowrule = float,^(pavucontrol)$
@ -238,10 +243,10 @@ windowrulev2 = stayfocused,class:^(swlauncher)$
windowrulev2 = center,class:^(swlauncher)$ windowrulev2 = center,class:^(swlauncher)$
windowrulev2 = size 28% 50%,class:^(swlauncher)$ windowrulev2 = size 28% 50%,class:^(swlauncher)$
windowrulev2 = size 100% 100%,class:^(kitty_drop)$ # windowrulev2 = size 100% 100%,class:^(kitty_drop)$
windowrulev2 = minsize 100%,100%,class:^(kitty_drop)$ # windowrulev2 = minsize 100%,100%,class:^(kitty_drop)$
windowrulev2 = maxsize 100%,100%,class:^(kitty_drop)$ # windowrulev2 = maxsize 100%,100%,class:^(kitty_drop)$
windowrulev2 = center,class:^(kitty_drop)$ # windowrulev2 = center,class:^(kitty_drop)$
windowrulev2 = float,class:^(clipmanager)$ windowrulev2 = float,class:^(clipmanager)$
windowrulev2 = noanim,class:^(clipmanager)$ windowrulev2 = noanim,class:^(clipmanager)$
@ -252,9 +257,10 @@ windowrulev2 = size 60% 45%,class:^(clipmanager)$
#foot clipboard-manager #foot clipboard-manager
windowrulev2 = float,title:^(clipboard_manager)$ windowrulev2 = float,title:^(clipboard_manager)$
windowrulev2 = noanim,title:^(clipboard_manager)$ windowrulev2 = noanim,title:^(clipboard_manager)$
windowrulev2 = stayfocused,title:^(clipboard_manager)$ # windowrulev2 = stayfocused,title:^(clipboard_manager)$
windowrulev2 = center,title:^(clipboard_manager)$ windowrulev2 = center,title:^(clipboard_manager)$
windowrulev2 = size 45% 45%,title:^(clipboard_manager)$ windowrulev2 = size 45% 45%,title:^(clipboard_manager)$
windowrulev2 = pin,title:^(clipboard_manager)$
# windowrulev2 = opacity 0.7,title:^(clipboard_manager)$ # windowrulev2 = opacity 0.7,title:^(clipboard_manager)$
@ -283,7 +289,11 @@ windowrulev2 = noblur, class:^(steam)$
windowrulev2 = noshadow, class:^(steam)$ windowrulev2 = noshadow, class:^(steam)$
windowrule = noblur,^(firefox)$ # disables blur for firefox windowrule = noblur,^(firefox)$ # disables blur for firefox
windowrule = noblur,^(kitty_drop)$ windowrule = noblur,^(kitty_drop)$
windowrulev2 = float,class:^(kitty_drop)$
windowrulev2 = noanim,class:^(kitty_drop)$
windowrulev2 = stayfocused,class:^(kitty_drop)$
#layerrules #layerrules
#layerrule = noanim, swaync-notification-window #layerrule = noanim, swaync-notification-window
@ -308,11 +318,11 @@ bind = $mainMod, U, togglesplit
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
#bind = $mainMod, Q, exec, kitty #open the terminal #bind = $mainMod, Q, exec, kitty #open the terminal
#bind = $mainMod, RETURN, exec, footclient #open the terminal #bind = $mainMod, RETURN, exec, footclient #open the terminal
bind = ALT, RETURN, exec, sh -c "/home/delta/.config/hypr/hdrop -p t -f kitty --class kitty_drop"
bind = $mainMod, RETURN, exec, footclient bind = $mainMod, RETURN, exec, footclient
bind = $mainMod, Q, exec, footclient bind = $mainMod, Q, exec, footclient
bind = SHIFT ALT, X, exec, sh -c "/home/delta/.config/hypr/hdrop -h '60' -f 'keepassxc_lite' --class org.keepassxc.KeePassXC" bind = ALT, RETURN, exec, sh -c "/home/delta/.config/hypr/hdrop -g '30' -h '98' -p t -f kitty --class kitty_drop"
bind = ALT, T, exec, sh -c "/home/delta/.config/hypr/hdrop -h '60' -f 'telegram-desktop' --class org.telegram.desktop" bind = SHIFT ALT, X, exec, sh -c "/home/delta/.config/hypr/hdrop -g '30' -h '60' -f 'keepassxc_lite' --class org.keepassxc.KeePassXC"
bind = ALT, T, exec, sh -c "QT_QPA_PLATFORM=xcb /home/delta/.config/hypr/hdrop -h '60' -g '30' -f 'telegram-desktop' --class org.telegram.desktop"
#bind = $mainMod SHIFT, RETURN, exec, alacritty #open the terminal #bind = $mainMod SHIFT, RETURN, exec, alacritty #open the terminal
# bind = $mainMod, Q, exec, wezterm #open the terminal # bind = $mainMod, Q, exec, wezterm #open the terminal
#bind = $mainMod, Q, exec, alacritty #open the terminal #bind = $mainMod, Q, exec, alacritty #open the terminal
@ -350,8 +360,9 @@ bind = ALT, SPACE, exec, pypr shift_monitors +1 # K R A S I V O
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle
#bind = $mainMod, J, togglesplit, # dwindle #bind = $mainMod, J, togglesplit, # dwindle
#bind = $mainMod, S, exec, grim -g "$(slurp)" - | tee >(swappy -f -) | wl-copy # take a screenshot #bind = $mainMod, S, exec, grim -g "$(slurp)" - | tee >(swappy -f -) | wl-copy # take a screenshot
bind = $mainMod, S, exec, hyprshot -m region --clipboard-only -s # take a screenshot bind = $mainMod, S, exec, grimblast --freeze copy area # take a screenshot
bind = $mainMod, Print, exec, /home/delta/scripts/screenshoter.sh # take a screenshot bind = $mainMod, Print, exec, /home/delta/.config/hypr/grimblast.sh # take a screenshot
# bind = $mainMod, Print, exec, /home/delta/scripts/screenshoter.sh # take a screenshot
bind = ,Print , exec, wl-paste | swappy -f - # take a screenshot bind = ,Print , exec, wl-paste | swappy -f - # take a screenshot
#bind = $mainMod, S, exec, /home/delta/screenshoter.sh # take a screenshot #bind = $mainMod, S, exec, /home/delta/screenshoter.sh # take a screenshot
#bind = $mainMod, S, exec, hyprshot -m output -s -c --clipboard-only # take a screenshot #bind = $mainMod, S, exec, hyprshot -m output -s -c --clipboard-only # take a screenshot

View file

@ -118,7 +118,7 @@
background = "#171717"; background = "#171717";
foreground = "#DCDCCC"; foreground = "#DCDCCC";
background_opacity = "0.8"; background_opacity = "0.8";
remember_window_size = "yes"; remember_window_size = "no";
hide_window_decorations = "yes"; hide_window_decorations = "yes";
remote_control_password = "kitty-notification-password-fish ls"; remote_control_password = "kitty-notification-password-fish ls";
allow_remote_control = "password"; allow_remote_control = "password";