Compare commits

...

7 commits

8 changed files with 12 additions and 4 deletions

View file

@ -11,6 +11,7 @@ icons = "awesome4"
[[block]] [[block]]
block = "cpu" block = "cpu"
format = " $icon $utilization "
[[block]] [[block]]
block = "custom" block = "custom"

1
boot/grub Normal file
View file

@ -0,0 +1 @@
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 cryptdevice=UUID=392ab4dc-51e3-49ef-a047-c528e335abe2:cryptlvm root=/dev/zephyrus-vg/root nvidia_drm.modeset=1 nvidia_drm.fbdev=1 amd_iommu=on vfio-pci.ids=10de:249d,10de:228b,10ec:8168"

2
boot/mkinitcpio.conf Normal file
View file

@ -0,0 +1,2 @@
MODULES=()
HOOKS=(base udev autodetect modconf keyboard keymap consolefont block encrypt lvm2 filesystems fsck kms)

View file

@ -7,6 +7,7 @@ bind = $mainMod, Q, killactive,
bind = $mainMod SHIFT, E, exit, bind = $mainMod SHIFT, E, exit,
bind = $mainMod, E, exec, dolphin bind = $mainMod, E, exec, dolphin
bind = $mainMod, B, exec, firefox bind = $mainMod, B, exec, firefox
bind = $mainMod, O, exec, obsidian
bind = $mainMod SHIFT, SPACE, togglefloating, bind = $mainMod SHIFT, SPACE, togglefloating,
bind = $mainMod, R, exec, wofi --show drun bind = $mainMod, R, exec, wofi --show drun
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle

View file

@ -1,5 +1,5 @@
# Hyprland GPU backend # Hyprland GPU backend
# env = WLR_DRM_DEVICES,/dev/dri/card0 # env = WLR_DRM_DEVICES,/dev/dri/card1
# Backend # Backend
env = GDK_BACKEND, wayland,x11 env = GDK_BACKEND, wayland,x11
@ -31,8 +31,10 @@ env = MOZ_ENABLE_WAYLAND, 1
# NVIDIA # NVIDIA
env = LIBVA_DRIVER_NAME,nvidia env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland 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 = WLR_NO_HARDWARE_CURSORS,1 env = WLR_NO_HARDWARE_CURSORS,1
# env = __EGL_VENDOR_LIBRARY_FILENAMES,/usr/share/glvnd/egl_vendor.d/50_mesa.json
# env = __GLX_VENDOR_LIBRARY_NAME,mesa
env = HYPRLAND_HEADERS = /usr/include/hyprland env = HYPRLAND_HEADERS = /usr/include/hyprland

View file

@ -3,7 +3,7 @@
exec-once = swaync exec-once = swaync
exec-once = waybar exec-once = waybar
exec-once = hyprpaper exec-once = hyprpaper
exec-once = artix-pipewire-launcher exec-once = artix-pipewire-launcher restart
exec-once = /usr/lib/xdg-desktop-portal-hyprland exec-once = /usr/lib/xdg-desktop-portal-hyprland
exec-once = swayosd-server exec-once = swayosd-server
exec-once = udiskie exec-once = udiskie

View file

@ -2,6 +2,7 @@
# Workspace 4 # Workspace 4
windowrule = workspace 9 silent, ^(WebCord)$ windowrule = workspace 9 silent, ^(WebCord)$
windowrule = workspace 9 silent, ^(Element)$
# Floating windows # Floating windows
windowrule = float, ^(connman-gtk)$ windowrule = float, ^(connman-gtk)$

View file

@ -39,9 +39,9 @@ fi
if type "x11-toggle-primary-gpu" > /dev/null; then if type "x11-toggle-primary-gpu" > /dev/null; then
if [ "$(x11-toggle-primary-gpu get)" == "NVIDIA" ]; then if [ "$(x11-toggle-primary-gpu get)" == "NVIDIA" ]; then
xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
fi fi
fi fi
xrandr --auto
setxkbmap fr setxkbmap fr
exec i3 exec i3