refactor hyprland and add ksnip

This commit is contained in:
Daylin Morgan 2024-03-24 13:01:53 -05:00
parent 207d7b774c
commit 180305c40e
Signed by: daylin
GPG key ID: 950D13E9719334AD
5 changed files with 14 additions and 26 deletions

View file

@ -1,5 +1,6 @@
# exec-once = ~/.config/hypr/start_eww.sh & # exec-once = ~/.config/hypr/start_eww.sh &
# exec-once = flameshot & # exec-once = flameshot &
exec = swww init &
exec-once = dunst -conf ~/.config/hypr/dunstrc & exec-once = dunst -conf ~/.config/hypr/dunstrc &
# exec-once = udiskie & # exec-once = udiskie &
@ -7,8 +8,6 @@ exec-once = xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOB
exec = swayidle & exec = swayidle &
exec = kanshi & exec = kanshi &
exec = swww init &
# exec = hyprpaper &
# TODO: make hyprman kill eww if necessary # TODO: make hyprman kill eww if necessary
exec = pkill eww & hyprman monitors & exec = pkill eww & hyprman monitors &

View file

@ -3,19 +3,21 @@ $term = wezterm
$termStart = wezterm start $termStart = wezterm start
# $term = alacritty # $term = alacritty
# $termStart = alacritty # $termStart = alacritty
env = GRIMBLAST_EDITOR, ksnip
# Program binds # Program binds
bind = $mainMod SHIFT, RETURN, exec, $term bind = $mainMod SHIFT, RETURN, exec, $term
bind = $mainMod, P, exec, ~/.config/rofi/bin/launcher.sh bind = $mainMod, P, exec, ~/.config/rofi/bin/launcher.sh
bind = $mainMod, N, exec, $termStart --class "notes-editor" -e notes-commit bind = $mainMod, N, exec, $termStart --class "notes-editor" -e notes-commit
bind = $mainMod SHIFT, Q, killactive,
bind = $mainMod SHIFT, L, exec, lock bind = $mainMod SHIFT, L, exec, lock
bind = $mainMod, f, fullscreen, 0 bind = $mainMod, S,exec, grimblast copy area
bind = $mainMod SHIFT, f, togglefloating, bind = $mainMod SHIFT,S, exec, grimblast edit area
bind = $mainMod SHIFT, m, exit, bind = $mainMod SHIFT, m, exit,
bind = $mainMod SHIFT, R, exec, hyprctl reload bind = $mainMod SHIFT, R, exec, hyprctl reload
bind = $mainMod SHIFT, Q, killactive,
bind = $mainMod, f, fullscreen, 0
bind = $mainMod SHIFT, f, togglefloating,
# Move focus with mainMod + hjkl # Move focus with mainMod + hjkl
bind = $mainMod, h, movefocus, l bind = $mainMod, h, movefocus, l
@ -56,9 +58,6 @@ bind = $mainMod CTRL, 7, movetoworkspacesilent, 7
bind = $mainMod CTRL, 8, movetoworkspacesilent, 8 bind = $mainMod CTRL, 8, movetoworkspacesilent, 8
bind = $mainMod CTRL, 9, movetoworkspacesilent, 9 bind = $mainMod CTRL, 9, movetoworkspacesilent, 9
bind = $mainMod, S,exec, grimblast copy area
bind = $mainMod SHIFT,S, exec, grimblast save output
bind = , XF86AudioLowerVolume, exec, pamixer --decrease 5 bind = , XF86AudioLowerVolume, exec, pamixer --decrease 5
bind = , XF86RaiseLowerVolume, exec, pamixer --increase 5 bind = , XF86RaiseLowerVolume, exec, pamixer --increase 5
bind = , XF86AudioMute, exec, pamixer --toggle-mute bind = , XF86AudioMute, exec, pamixer --toggle-mute

View file

@ -4,7 +4,7 @@ monitor=,preferred,auto,1
# monitor=DP-3,1920x1080,0x0,1 # monitor=DP-3,1920x1080,0x0,1
# Some default env vars. # Some default env vars.
env = GDK_SCALE=2 env = GDK_SCALE,2
env = XCURSOR_SIZE,24 env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
# env = GTK_THEME, Catppuccin-Mocha-Standard-Rosewater-Dark # env = GTK_THEME, Catppuccin-Mocha-Standard-Rosewater-Dark
@ -67,9 +67,11 @@ misc {
force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
} }
source = ./keys.conf
source = ./windows.conf
source = ./execs.conf
animation=windows,1,5,default,popin 80% animation=windows,1,5,default,popin 80%
animation=workspaces,1,5,default,slidefadevert 20% animation=workspaces,1,5,default,slidefadevert 20%
source = ./conf/keys.conf
source = ./conf/windows.conf
source = ./conf/execs.conf

View file

@ -1,12 +0,0 @@
preload = ~/.config/hypr/wallpapers/ai/painted-landscape/00005-4229950720.png
preload = ~/.config/hypr/wallpapers/ai/painted-landscape/00006-2215131891.png
preload = ~/.config/hypr/wallpapers/ai/painted-landscape/00009-2215131894.png
wallpaper = eDP-1, ~/.config/hypr/wallpapers/ai/painted-landscape/00005-4229950720.png
wallpaper = DP-5, ~/.config/hypr/wallpapers/ai/painted-landscape/00009-2215131894.png
wallpaper = DP-3, ~/.config/hypr/wallpapers/ai/painted-landscape/00009-2215131894.png
wallpaper = DP-6, ~/.config/hypr/wallpapers/ai/painted-landscape/00009-2215131894.png
splash = false