hypr: change a lot of stuff 🐱

This commit is contained in:
retrozinndev
2024-12-07 16:45:07 -03:00
parent 240287a645
commit 813fb9c49a
9 changed files with 25 additions and 28 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
exec-once = /usr/lib/hyprpolkitagent # Experimental Hyprland Polkit Agent exec-once = /usr/lib/hyprpolkitagent # Experimental Hyprland Polkit Agent
exec-once = eww daemon && eww open bar # Daemon + Status Bar exec-once = eww daemon && eww open bar # Daemon + Status Bar
exec-once = GTK_THEME=Adwaita swaync # Run Control Center with Adwaita theme to prevent issues exec-once = dunst # Notification Daemon
exec-once = hyprpaper # Wallpaper exec-once = hyprpaper # Wallpaper
exec-once = hypridle # Idle daemon exec-once = hypridle # Idle daemon
+10 -13
View File
@@ -16,7 +16,6 @@ $screenshotSelect = hyprshot -m region -o $screenshotDir
$media = spotify-launcher $media = spotify-launcher
# Main binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Main binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, K, exec, $terminal bind = $mainMod, K, exec, $terminal
bind = $mainMod, Q, killactive bind = $mainMod, Q, killactive
@@ -26,14 +25,14 @@ bind = $mainMod, SPACE, exec, $menu
bind = $mainMod, P, pseudo, bind = $mainMod, P, pseudo,
bind = $mainMod, J, togglesplit bind = $mainMod, J, togglesplit
bind = $mainMod, F11, fullscreen bind = $mainMod, F11, fullscreen
bind = $mainMod, N, exec, swaync-client -t bind = $mainMod, N, exec, eww open --toggle control-center
bind = $mainMod, L, exec, $lockscreen bind = $mainMod, L, exec, $lockscreen
# Media keys # Media keys
bind = , XF86AudioMedia, exec, $media bind = , XF86AudioMedia, exec, $media
bind = , XF86AudioLowerVolume, exec, pamixer -d 5 # Decrease volume bind = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- # Decrease volume
bind = , XF86AudioRaiseVolume, exec, pamixer -i 5 # Increase volume bind = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ # Increase volume
bind = , XF86AudioMute, exec, pamixer --toggle-mute # Mute bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle # Mute
bind = , XF86AudioPrev, exec, playerctl previous # Previous media bind = , XF86AudioPrev, exec, playerctl previous # Previous media
bind = , XF86AudioNext, exec, playerctl next # Next media bind = , XF86AudioNext, exec, playerctl next # Next media
bind = , XF86AudioPlay, exec, playerctl play-pause # Toggle Play/Pause media bind = , XF86AudioPlay, exec, playerctl play-pause # Toggle Play/Pause media
@@ -46,17 +45,19 @@ bind = , XF86MonBrightnessUp, exec, brightnessctl s +5% # Increase monitor brigh
bind = , Print, exec, $screenshotSelect bind = , Print, exec, $screenshotSelect
bind = $mainMod, Print, exec, $screenshotFull bind = $mainMod, Print, exec, $screenshotFull
# Open wofi clipboard # Open clipboard
bind = $mainMod, V, exec, cliphist list | $dmenu | cliphist decode | xargs -r wl-copy bind = $mainMod, V, exec, cliphist list | $dmenu | cliphist decode | xargs -r wl-copy
# Open wallpaper menu # Open wallpaper menu
bind = $mainMod, W, exec, /usr/bin/env bash $HOME/.config/hypr/scripts/change-wallpaper.sh bind = $mainMod, W, exec, env bash $HOME/.config/hypr/scripts/change-wallpaper.sh
# Reloading stuff # Reload binds
# Waybar # Eww
bind = $mainMod, F7, exec, eww reload bind = $mainMod, F7, exec, eww reload
# Hyprpaper (Wallpaper) # Hyprpaper (Wallpaper)
bind = $mainMod, F8, exec, pkill hyprpaper && hyprpaper bind = $mainMod, F8, exec, pkill hyprpaper && hyprpaper
# Dunst (Notification daemon)
bind = $mainMod, F9, exec, pkill dunst && dunst
# Move focus with mainMod + arrow keys # Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l bind = $mainMod, left, movefocus, l
@@ -104,10 +105,6 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = CTRL $mainMod, right, workspace, e+1 bind = CTRL $mainMod, right, workspace, e+1
bind = CTRL $mainMod, left, workspace, e-1 bind = CTRL $mainMod, left, workspace, e-1
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic bind = $mainMod SHIFT, S, movetoworkspace, special:magic
+1 -1
View File
@@ -4,7 +4,7 @@
############################################# #############################################
# Nvidia Settings # Nvidia Settings
# source = ~/.config/hypr/nvidia.conf source = ~/.config/hypr/nvidia.conf
# Environment # Environment
source = ~/.config/hypr/environment.conf source = ~/.config/hypr/environment.conf
+1 -1
View File
@@ -1,5 +1,5 @@
$wallpaper = /home/joaov/wallpapers/Linux Anime Girl.png $wallpaper = /home/joaov/wallpapers/Miku City Sky.png
splash = true splash = true
preload = $wallpaper preload = $wallpaper
+1 -1
View File
@@ -6,7 +6,7 @@
input { input {
kb_layout = br kb_layout = br
kb_variant = abnt2 kb_variant = abnt2
# kb_model = kb_model = pc105
# kb_options = # kb_options =
# kb_rules = # kb_rules =
+1 -1
View File
@@ -13,5 +13,5 @@
# arg4 -> variable refresh rate for games(optional); # arg4 -> variable refresh rate for games(optional);
# arg5 -> 1: vrr enabled, 0: no vrr. # arg5 -> 1: vrr enabled, 0: no vrr.
monitor = VGA-1, 1920x1080@60, 0x0, 1, vrr, 1 monitor = HDMI-A-1, 1920x1080@75, 0x0, 1, vrr, 1
+1 -2
View File
@@ -4,7 +4,6 @@
##################### #####################
env = LIBVA_DRIVER_NAME, nvidia env = LIBVA_DRIVER_NAME, nvidia
env = XDG_SESSION_TYPE, wayland
env = GBM_BACKEND, nvidia-drm env = GBM_BACKEND, nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME, nvidia env = __GLX_VENDOR_LIBRARY_NAME, nvidia
env = _VK_LAYER_NV_optimus, NVIDIA_only env = _VK_LAYER_NV_optimus, NVIDIA_only
@@ -12,5 +11,5 @@ env = __NV_PRIME_RENDER_OFFLOAD, 1
cursor { cursor {
# Set to true if you have issues # Set to true if you have issues
no_hardware_cursors = false no_hardware_cursors = true
} }
+8 -1
View File
@@ -37,19 +37,24 @@ layerrule = animation fade, waybar
layerrule = animation fade, hyprpaper layerrule = animation fade, hyprpaper
layerrule = animation slide right, swaync-notification-window layerrule = animation slide right, swaync-notification-window
layerrule = animation fade, hyprpicker layerrule = animation fade, hyprpicker
layerrule = animation slide, eww-calendar layerrule = animation fade, eww-calendar
layerrule = animation fade, eww-audio
# Opacity # Opacity
windowrulev2 = opacity .95 .95, class:kitty windowrulev2 = opacity .95 .95, class:kitty
windowrulev2 = opacity .88 .88, class:spotify windowrulev2 = opacity .88 .88, class:spotify
windowrulev2 = opacity .88 .88, class:hyprpolkitagent windowrulev2 = opacity .88 .88, class:hyprpolkitagent
# No blur
windowrulev2 = noblur, class:steam.*
# Blur # Blur
windowrulev2 = noblur, class:^()$, title:^()$ windowrulev2 = noblur, class:^()$, title:^()$
# Window Blur list # Window Blur list
blurls = logout_dialog blurls = logout_dialog
blurls = kitty blurls = kitty
blurls = eww-powermenu
# Layer Blur list # Layer Blur list
layerrule = blur, waybar layerrule = blur, waybar
@@ -60,6 +65,8 @@ layerrule = blur, eww-calendar
layerrule = ignorealpha .5, eww-calendar layerrule = ignorealpha .5, eww-calendar
layerrule = blur, eww-cc layerrule = blur, eww-cc
layerrule = ignorealpha .5, eww-cc layerrule = ignorealpha .5, eww-cc
layerrule = blur, eww-audio
layerrule = ignorealpha .5, eww-audio
# Suppress maximize event from windows # Suppress maximize event from windows
windowrulev2 = suppressevent maximize, class:.* windowrulev2 = suppressevent maximize, class:.*
+1 -7
View File
@@ -44,12 +44,7 @@ Hot_reload_wallpaper() {
Reload_pywal() { Reload_pywal() {
echo "Reloading pywal colorscheme" echo "Reloading pywal colorscheme"
wal -q -s -t -i "$SET_WALLPAPER_FULL" wal -q -t --cols16 darken -i "$SET_WALLPAPER_FULL"
}
Reload_swaync() {
echo "Reloading stylesheet for SwayNC"
swaync-client -rs
} }
Reload_eww() { Reload_eww() {
@@ -83,6 +78,5 @@ Hot_reload_wallpaper
Reload_pywal Reload_pywal
Reload_eww Reload_eww
Update_wallpaper_settings Update_wallpaper_settings
Reload_swaync
exit 0 exit 0