[feat] Add hyprpaper ( Also keep linux-wallpaperengine in the back burner )

This commit is contained in:
Uttarayan
2023-05-30 03:36:05 +05:30
parent 400c102e36
commit 4acb6136e0
3 changed files with 30 additions and 14 deletions

View File

@@ -11,8 +11,9 @@ bind = $mainMod, d, exec, anyrun
bind = $mainMod, Space, exec, anyrun
bind = $mainMod, p, pseudo, # dwindle
bind = $mainModShift, v, togglesplit, # dwindle
bind = $mainMod, a, exec, swaync-client -t
# Volume
# Audio
bind = ,xf86audioraisevolume, exec, swayosd --output-volume raise
bind = ,xf86audiolowervolume, exec, swayosd --output-volume lower
bind = ,xf86audiomute, exec, swayosd --output-volume mute-toggle
@@ -62,16 +63,16 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
wsbind = 1,DP-3
wsbind = 2,DP-3
wsbind = 3,DP-3
wsbind = 4,DP-3
wsbind = 5,DP-3
wsbind = 6,DP-3
wsbind = 7,DP-2
wsbind = 8,DP-2
wsbind = 9,DP-2
wsbind = 10,DP-2
workspace = 1, monitor:DP-3
workspace = 2, monitor:DP-3
workspace = 3, monitor:DP-3
workspace = 4, monitor:DP-3
workspace = 5, monitor:DP-3
workspace = 6, monitor:DP-3
workspace = 7, monitor:DP-2
workspace = 8, monitor:DP-2
workspace = 9, monitor:DP-2
workspace = 10, monitor:DP-2
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1

View File

@@ -9,8 +9,8 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,auto
monitor=DP-2, 2560x1440, 0x0, 1,transform, 1
monitor=DP-3, 2560x1440, 1440x539,1
monitor=DP-2, 2560x1440@170, 0x0, 1,transform, 1
monitor=DP-3, 2560x1440@170, 1440x539,1
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
@@ -25,6 +25,11 @@ env = MOZ_ENABLE_WAYLAND,1
# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox
exec-once = swayosd
exec-once = hyprpaper
exec-once = swaync
exec-once=/usr/lib/polkit-kde-authentication-agent-1
# exec-once = linux-wallpaperengine --screen-root DP-2 2207659298
# exec-once = linux-wallpaperengine --screen-root DP-3 2207659298
# Source a file (multi-file configs)
source = ~/.config/hypr/binds.conf
@@ -42,7 +47,7 @@ input {
follow_mouse = 1
touchpad {
natural_scroll = false
natural_scroll = true
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}

View File

@@ -0,0 +1,10 @@
preload = /home/fs0c131y/.local/share/dotfiles/images/wallpaper.jpg
#if more than one preload is desired then continue to preload other backgrounds
# preload = /path/to/next_image.png
# .. more preloads
#set the default wallpaper(s) seen on inital workspace(s) --depending on the number of monitors used
wallpaper = DP-2,/home/fs0c131y/.local/share/dotfiles/images/wallpaper.jpg
#if more than one monitor in use, can load a 2nd image
wallpaper = DP-3,/home/fs0c131y/.local/share/dotfiles/images/wallpaper.jpg
# .. more monitors