some nix spesific stuff

This commit is contained in:
Zastian Pretorius
2024-02-01 10:59:54 +00:00
parent 190dfc4fa0
commit e1bd5bb506
5 changed files with 516 additions and 214 deletions

View File

@@ -16,33 +16,34 @@ env = XDG_SESSION_DESKTOP,hyprland
env = MOZ_ENABLE_WAYLAND,1
env = LIBVA_DRIVER_NAME,amdgpu
env = QT_QPA_PLATFORMTHEME,qt6ct
env = WLR_DRM_NO_ATOMIC,1
exec-once=eww open bar
exec-once=systemctl --user restart xdg-desktop-portal
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once=~/.config/script/waylock.sh
exec-once=~/.azotebg-hyprland
exec-once=hyprpaper
exec-once=foot -s
exec-once=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
# exec-once=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # Arch way
exec-once=/nix/store/$(ls -la /nix/store | grep 'polkit-gnome' | grep '^d' | awk '$0=$NF')/libexec/polkit-gnome-authentication-agent-1
exec-once=autoadb scrcpy -s '{}'
exec-once=hyprctl setcursor oreo_purple_cursors 16
exec-once=fcitx5 -d
monitor=DP-2,1920x1080@60,0x0,1
monitor=DP-1,1920x1080@60,1920x0,1
monitor=HDMI-A-2,1920x1080@60,0x0,1
monitor=DP-1,2560x1440@60,1920x0,1
#,bitdepth,10
#monitor=DP-3,1920x1080@60,4480x0,1
#monitor=DP-3,transform,1
workspace=HDMI-A-1,10
workspace=HDMI-A-2,10
#workspace=HDMI-A-1,1
workspace=DP-2,1
workspace=DP-2,2
workspace=DP-2,3
workspace=DP-2,4
workspace=DP-2,5
workspace=DP-2,6
workspace=DP-2,7
workspace=DP-2,8
workspace=DP-2,9
workspace=HDMI-A-1,10
workspace=DP-1,1
workspace=DP-1,2
workspace=DP-1,3
workspace=DP-1,4
workspace=DP-1,5
workspace=DP-1,6
workspace=DP-1,7
workspace=DP-1,8
workspace=DP-1,9
misc:disable_hyprland_logo=true
@@ -71,6 +72,7 @@ general {
col.inactive_border=0x66333333
layout=master
apply_sens_to_raw=1 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
allow_tearing = true
}
group {
@@ -122,6 +124,9 @@ windowrule=float,scrcpy
windowrule=size 412 876, scrcpy
windowrule=center, scrcpy
#tearing rules
windowrulev2 = immediate, title:^(DOOMEternal)$
# rofi
windowrule = float, Rofi
blurls=rofi
@@ -137,6 +142,11 @@ windowrule=move 724 358,title:^(kami)$
windowrule=tile,WebApp-ytmusic4224
windowrule=tile,WebApp-discord5149
windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
windowrulev2 = noblur,class:^(xwaylandvideobridge)$
#windowrule=workspace 10,krita
#windowrule=workspace 10,inkscape
#windowrule=workspace 10,Gimp-2.10

View File

@@ -0,0 +1,18 @@
preload = ~/Pictures/Wallpapers/133.png
#if more than one preload is desired then continue to preload other backgrounds
preload = ~/Pictures/Wallpapers/138.png
# .. more preloads
#set the default wallpaper(s) seen on initial workspace(s) --depending on the number of monitors used
wallpaper = DP-1,~/Pictures/Wallpapers/133.png
#if more than one monitor in use, can load a 2nd image
wallpaper = HDMI-A-2,~/Pictures/Wallpapers/138.png
# .. more monitors
#
#enable splash text rendering over the wallpaper
# splash = true
#fully disable ipc
# ipc = off