diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 5427bce..de61d24 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -103,17 +103,18 @@ misc { # example window rules # for windows named/classed as abc and xyz windowrule=opaque,firefox -windowrule=float,dolphin windowrule=float,org.freedesktop.impl.portal.desktop.kde -windowrule=size 60% 60%,dolphin +windowrule=float,thunar +windowrule=size 60% 60%,thunar +windowrule=center,thunar windowrule=float,org.gnome.Nautilus windowrule=size 60% 60%,org.gnome.Nautilus -windowrule=float,mpv windowrule=float,imv windowrule=float,title:Picture-in-Picture +windowrule=center,title:Picture-in-Picture +windowrule=float,mpv windowrule=size 90% 76%,mpv windowrule=center,mpv -windowrule=center,title:Picture-in-Picture windowrule=opaque,mpv windowrule=workspace 1,mpv windowrule=size 90% 90%,title:Picture-in-Picture @@ -135,7 +136,7 @@ windowrule=workspace 1,title:presentation-window bind = SUPER,RETURN,exec,alacritty bind = SUPER,C,killactive, bind = SUPERSHIFT,Q,exit, -bind = SUPERSHIFT,D,exec,dolphin +bind = SUPERSHIFT,D,exec,thunar bind = SUPERSHIFT,N,exec,nautilus bind = SUPERSHIFT,F,togglefloating, bindr = SUPER,Super_L,exec,/home/chris/bin/launcher.sh diff --git a/guix/home.scm b/guix/home.scm index 618ea78..caa7d81 100644 --- a/guix/home.scm +++ b/guix/home.scm @@ -108,6 +108,7 @@ "phinger-cursors-theme" "firefox" "icecat" + "ydotool" "qutebrowser" "nyxt" "openjdk" @@ -123,13 +124,14 @@ "kio" "kio-fuse" "kio-extras" - "nautilus" + ;; "nautilus" "thunar" "dconf" "dconf-editor" - "tracker" - "tracker-miners" + ;; "tracker" + ;; "tracker-miners" "gvfs" + "xfconf" "kfind" "kiconthemes" "ark" @@ -143,6 +145,9 @@ "perl-image-exiftool" "srt" "distrobox" + "libreoffice" + ;; "nemo" + ;; "thunar" ;; "tridactyl-native" "qtwayland@5.15.8" "qtdeclarative@5.15.8" @@ -303,15 +308,17 @@ `(("PATH" . "$PATH:/home/chris/bin:/home/chris/.nix-profile/bin") ("XDG_DATA_DIRS" . "$XDG_DATA_DIRS:$HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share") ("RTC_USE_PIPEWIRE" . "true") - ("GDK_BACKEND" . "wayland") + ("GDK_BACKEND" . "wayland,x11") ("WLR_DRM_NO_ATOMIC" . "1") ("WLR_BACKEND" . "vulkan") ("WLR_RENDERER" . "vulkan") ("WLR_NO_HARDWARE_CURSORS" . "1") - ("GTK_USE_PORTAL" . "1") + ("GTK_USE_PORTAL" . "0") + ("XCURSOR_THEME" . "phinger-cursors-light") ("EDITOR" . "emacsclient -t -a") ("VISUAL" . "emacsclient -c -a") - ("QT_QPA_PLATFORM" . "wayland-egl") + ("QT_QPA_PLATFORM" . "wayland;xcb") + ("QT_AUTO_SCREEN_SCALE_FACTOR" . "1") ("SDL_VIDEODRIVER" . "wayland") ("MOZ_ENABLE_WAYLAND" . "1") ("CLUTTER_BACKEND" . "wayland") @@ -363,7 +370,7 @@ gtk-application-prefer-dark-theme=true gtk-button-images=true gtk-decoration-layout=icon:minimize,maximize,close gtk-enable-animations=true -gtk-font-name=VictorMono Nerd Font, 11 +gtk-font-name=VictorMono Nerd Font 11 gtk-icon-theme-name=Papirus-Dark gtk-menu-images=true gtk-modules=colorreload-gtk-module:window-decorations-gtk-module:appmenu-gtk-module @@ -371,6 +378,10 @@ gtk-primary-button-warps-slider=true gtk-shell-shows-menubar=1 gtk-theme-name=Snazzy gtk-toolbar-style=3 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle=hintfull +gtk-xft-rgba=none #gtk-xft-dpi=98304 ")) ;; ("gtk-3.0/gtk.css" ,(plain-file "gtk.css" " @@ -441,6 +452,7 @@ Inherits=phinger-cursors-light ("video/H265" . "mpv.desktop") ("video/H266" . "mpv.desktop") ("video/vnd.youtube.yt" . "mpv.desktop") + ("inode/directory" . "thunar.desktop") ("application/x-extension-htm" . "firefox.desktop") ("application/x-extension-html" . "firefox.desktop") ("application/x-extension-shtml" . "firefox.desktop") diff --git a/guix/kaladin.scm b/guix/kaladin.scm index c43f098..2c0a897 100644 --- a/guix/kaladin.scm +++ b/guix/kaladin.scm @@ -26,7 +26,8 @@ (host-name "kaladin") (packages (append (map specification->package - '("xf86-video-amdgpu")) + '("xf86-video-amdgpu" + "radeontop")) base-system-packages)) (file-systems (cons* (file-system diff --git a/scripts/voldown b/scripts/voldown index 1ca2004..a59f3f7 100755 --- a/scripts/voldown +++ b/scripts/voldown @@ -2,13 +2,15 @@ # killall volup # killall voldown +dunstctl close pamixer --allow-boost -d 5 pw-play ~/.guix-home/profile/share/sounds/freedesktop/stereo/audio-volume-change.oga & volume=$(pulsemixer --get-volume | awk '{print $1}') echo $volume > /tmp/vol +notify-send $volume -eww open volume & +# eww open volume & -sleep 3 +# sleep 3 -eww close volume +# eww close volume diff --git a/scripts/volup b/scripts/volup index ea3a53a..865e140 100755 --- a/scripts/volup +++ b/scripts/volup @@ -2,13 +2,15 @@ # killall volup # killall voldown +dunstctl close pamixer --allow-boost -i 5 pw-play ~/.guix-home/profile/share/sounds/freedesktop/stereo/audio-volume-change.oga & volume=$(pulsemixer --get-volume | awk '{print $1}') echo $volume > /tmp/vol +notify-send $volume -eww open volume & +# eww open volume & -sleep 3 +# sleep 3 -eww close volume +# eww close volume