From b48acc0e53021c3f1ba97dcd6524a0dc0343c23a Mon Sep 17 00:00:00 2001 From: zachir Date: Wed, 3 May 2023 12:07:30 -0500 Subject: use kde polkit in hyprland for now --- hypr/hyprland.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 0f9c730..71b1457 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -9,6 +9,7 @@ monitor = , preferred, auto, 1 # Execute your favorite apps at launch # exec-once = waybar & hyprpaper & firefox exec-once = ~/.config/autostart.sh +exec-once = /usr/lib/polkit-kde-authentication-agent-1 #}}} # Source a file (multi-file configs) -- cgit v1.2.3 From bc48847b188a75e88affa98b5f5ac2f61fd37735 Mon Sep 17 00:00:00 2001 From: zachir Date: Wed, 3 May 2023 12:08:00 -0500 Subject: set hyprpaper for all displays I use --- hypr/hyprpaper.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf index fe52262..1b8480c 100644 --- a/hypr/hyprpaper.conf +++ b/hypr/hyprpaper.conf @@ -5,6 +5,8 @@ preload = ~/background.jpg #set the default wallpaper(s) seen on inital workspace(s) --depending on the number of monitors used wallpaper = eDP-1,~/background.jpg +wallpaper = HDMI-A-1,~/background.jpg +wallpaper = DP-1,~/background.jpg #if more than one monitor in use, can load a 2nd image #wallpaper = monitor2,~/background.jpg # .. more monitors -- cgit v1.2.3 From bdec612a036960c34155e79ccf9d6db084fbdc68 Mon Sep 17 00:00:00 2001 From: zachir Date: Wed, 3 May 2023 12:08:37 -0500 Subject: launch waybar directly, set GTK theme, and don't use caffeine in wayland --- autostart.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/autostart.sh b/autostart.sh index e09638b..eb60e3b 100755 --- a/autostart.sh +++ b/autostart.sh @@ -19,16 +19,20 @@ killandrun () { if [ -n "${WAYLAND_DISPLAY}${DISPLAY}" ]; then notify-sound.sh off & - runifnot caffeine if [ -n "$WAYLAND_DISPLAY" ]; then runifnot swayidle - launch_waybar.sh "$(crcparse WC)" + #launch_waybar.sh "$(crcparse WC)" + runifnot waybar -c ~/.config/waybar/config-"$(basename "$(crcparse WC)")" + gsettings set $gnome-schema gtk-theme 'Plata-Noir-Compact' + gsettings set $gnome-schema icon-theme 'Mint-Y-Dark-Blue' + gsettings set $gnome-schema cursor-theme 'Adwaita' killandrun hyprpaper if [ "$(crcparse WC | xargs basename)" = "Hyprland" ]; then xrdb ~/.Xresources fi else #runifnot picom + runifnot caffeine runifnot xss-lock slockd runifnot sxhkd if "$(type xmonad >/dev/null 2>&1)"; then -- cgit v1.2.3 From 83f9866edcf2b1a3656e3757f98adb8258eee3fc Mon Sep 17 00:00:00 2001 From: zachir Date: Wed, 3 May 2023 12:09:22 -0500 Subject: remove temp icon and don't set output in config-Hyprland --- waybar/config-Hyprland | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/waybar/config-Hyprland b/waybar/config-Hyprland index 1d4743a..8325c86 100644 --- a/waybar/config-Hyprland +++ b/waybar/config-Hyprland @@ -2,7 +2,7 @@ "layer": "top", "position": "top", "height": 36, - "output": "%%DISPLAY%%", + //"output": "%%DISPLAY%%", "spacing": 4, //"margin-top": 5, //"margin-bottom":5, @@ -74,7 +74,7 @@ // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "critical-threshold": 80, // "format-critical": "{temperatureC}°C {icon}", - "format": "{temperatureC}°C {icon}", + "format": "{temperatureC}°C", "format-icons": ["", "", ""] }, "backlight": { -- cgit v1.2.3 From eadc1e0ed8ecc5ce939fcc1f8c7bf21e154eb518 Mon Sep 17 00:00:00 2001 From: zachir Date: Wed, 3 May 2023 12:27:40 -0500 Subject: using only master layout for hyprland for now, configuring it --- hypr/hyprland.conf | 62 +++++++++++++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 84c6f23..7a315d0 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -101,10 +101,11 @@ dwindle { #{{{ Master layout options master { special_scale_factor = 0.55 + mfact = 0.69 # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more - new_is_master = true - new_on_top = false - no_gaps_when_only = false + new_is_master = false + new_on_top = true + no_gaps_when_only = true orientation = left inherit_fullscreen = true } @@ -148,39 +149,42 @@ $secdMod = SUPER #{{{ Layout toggle bind # Layout toggle -bind = $mainMod $secdMod, A, exec, hypr-layout -t +#bind = $mainMod $secdMod, A, exec, hypr-layout -t #}}} #{{{ Master layout binds # Master layout binds -#bind = $mainMod+SHIFT, Return, layoutmsg, swapwithmaster auto #MASTER -#bind = $mainMod+SHIFT, J, layoutmsg, swapnext #MASTER -#bind = $mainMod+SHIFT, K, layoutmsg, swapprev #MASTER -#bind = $mainMod, H, layoutmsg, addmaster #MASTER -#bind = $mainMod, L, layoutmsg, removemaster #MASTER -#bind = $mainMod, J, movefocus, d #MASTER -#bind = $mainMod, K, movefocus, u #MASTER +bind = $mainMod+SHIFT, Return, layoutmsg, swapwithmaster auto #MASTER +bind = $mainMod+SHIFT, J, layoutmsg, swapnext #MASTER +bind = $mainMod+SHIFT, K, layoutmsg, swapprev #MASTER +bind = $mainMod+SHIFT, H, layoutmsg, addmaster #MASTER +bind = $mainMod+SHIFT, L, layoutmsg, removemaster #MASTER +bindr = $mainMod, H, splitratio, -0.01 #MASTER +bindr = $mainMod, L, splitratio, +0.01 #MASTER +bind = $mainMod, O, splitratio, exact 0.69 #MASTER +bind = $mainMod, J, movefocus, d #MASTER +bind = $mainMod, K, movefocus, u #MASTER #}}} #{{{ Dwindle layout binds -# Dwindle layout binds -bind = $mainMod, P, pseudo, #DWINDLE -bind = $mainMod $secdMod, S, togglesplit, #DWINDLE -# Move focus with mainMod + HJKL -bind = $mainMod, H, movefocus, l #DWINDLE -bind = $mainMod, L, movefocus, r #DWINDLE -bind = $mainMod, K, movefocus, u #DWINDLE -bind = $mainMod, J, movefocus, d #DWINDLE -# Move window with mainMod + HJKL -bind = $mainMod SHIFT, L, movewindow, r #DWINDLE -bind = $mainMod SHIFT, H, movewindow, l #DWINDLE -bind = $mainMod SHIFT, J, movewindow, d #DWINDLE -bind = $mainMod SHIFT, K, movewindow, u #DWINDLE -# Resize clients with mainMod + secdMod + HJKL -binde = $mainMod $secdMod, L, resizeactive, 10 0 #DWINDLE -binde = $mainMod $secdMod, H, resizeactive, -10 0 #DWINDLE -binde = $mainMod $secdMod, K, resizeactive, 0 -10 #DWINDLE -binde = $mainMod $secdMod, J, resizeactive, 0 10 #DWINDLE +## Dwindle layout binds +#bind = $mainMod, P, pseudo, #DWINDLE +#bind = $mainMod $secdMod, S, togglesplit, #DWINDLE +## Move focus with mainMod + HJKL +#bind = $mainMod, H, movefocus, l #DWINDLE +#bind = $mainMod, L, movefocus, r #DWINDLE +#bind = $mainMod, K, movefocus, u #DWINDLE +#bind = $mainMod, J, movefocus, d #DWINDLE +## Move window with mainMod + HJKL +#bind = $mainMod SHIFT, L, movewindow, r #DWINDLE +#bind = $mainMod SHIFT, H, movewindow, l #DWINDLE +#bind = $mainMod SHIFT, J, movewindow, d #DWINDLE +#bind = $mainMod SHIFT, K, movewindow, u #DWINDLE +## Resize clients with mainMod + secdMod + HJKL +#binde = $mainMod $secdMod, L, resizeactive, 10 0 #DWINDLE +#binde = $mainMod $secdMod, H, resizeactive, -10 0 #DWINDLE +#binde = $mainMod $secdMod, K, resizeactive, 0 -10 #DWINDLE +#binde = $mainMod $secdMod, J, resizeactive, 0 10 #DWINDLE #}}} #{{{ Group binds -- cgit v1.2.3 From 35ac94c2a3e307ee3d7681558722d0247149ebb7 Mon Sep 17 00:00:00 2001 From: zachir Date: Sun, 14 May 2023 11:48:00 -0500 Subject: not using mako anyways (dunst is fine for wayland) --- mako/config | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 mako/config diff --git a/mako/config b/mako/config deleted file mode 100644 index 426a0c2..0000000 --- a/mako/config +++ /dev/null @@ -1,37 +0,0 @@ -max-history=5 -sort=-time - -on-button-left=dismiss -on-button-middle=none -on-button-right=invoke-default-action -on-touch=dismiss -on-notify=exec notify-sound.sh - -font=mononoki Nerd Font Mono 12 -background-color=#000000FF -text-color=#FFFFFFFF -width=300 -height=100 -outer-margin=0 -margin=10 -padding=5 -border-size=2 -border-color=#999999FF -border-radius=3 -progress-color=over #5588AAFF -icons=1 -max-icon-size=64 -icon-path= -icon-location=left -markup=1 -actions=1 -history=0 -text-alignment=left -default-timeout=5000 -ignore-timeout=0 -group-by=none -max-visible=5 -output= -layer=top -anchor=top-right - -- cgit v1.2.3 From 8763971809a31691c11225313617a5a180d1ecad Mon Sep 17 00:00:00 2001 From: zachir Date: Sun, 14 May 2023 11:48:31 -0500 Subject: autostart: add hyprpaper and portmaster --- autostart.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autostart.sh b/autostart.sh index eb60e3b..dbf7bed 100755 --- a/autostart.sh +++ b/autostart.sh @@ -21,12 +21,12 @@ if [ -n "${WAYLAND_DISPLAY}${DISPLAY}" ]; then notify-sound.sh off & if [ -n "$WAYLAND_DISPLAY" ]; then runifnot swayidle + killandrun hyprpaper #launch_waybar.sh "$(crcparse WC)" runifnot waybar -c ~/.config/waybar/config-"$(basename "$(crcparse WC)")" gsettings set $gnome-schema gtk-theme 'Plata-Noir-Compact' gsettings set $gnome-schema icon-theme 'Mint-Y-Dark-Blue' gsettings set $gnome-schema cursor-theme 'Adwaita' - killandrun hyprpaper if [ "$(crcparse WC | xargs basename)" = "Hyprland" ]; then xrdb ~/.Xresources fi @@ -43,6 +43,7 @@ if [ -n "${WAYLAND_DISPLAY}${DISPLAY}" ]; then xwallpaper --zoom ~/background.jpg setxkbmap -option "caps:escape" fi + runifnot portmaster-start --data=/opt/safing/portmaster notifier fi [ -x "$XDG_CONFIG_HOME/computerrc.sh" ] && "$XDG_CONFIG_HOME/computerrc.sh" -- cgit v1.2.3 From 1a4629b58203a411c58861444f3825bd2d032669 Mon Sep 17 00:00:00 2001 From: zachir Date: Sun, 14 May 2023 11:48:52 -0500 Subject: hyprland: want master focus on swap, not auto --- hypr/hyprland.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 7a315d0..de38451 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -154,7 +154,7 @@ $secdMod = SUPER #{{{ Master layout binds # Master layout binds -bind = $mainMod+SHIFT, Return, layoutmsg, swapwithmaster auto #MASTER +bind = $mainMod+SHIFT, Return, layoutmsg, swapwithmaster master #MASTER bind = $mainMod+SHIFT, J, layoutmsg, swapnext #MASTER bind = $mainMod+SHIFT, K, layoutmsg, swapprev #MASTER bind = $mainMod+SHIFT, H, layoutmsg, addmaster #MASTER -- cgit v1.2.3 From b0dc2813be420b05176e90b4e079ee5deddd4e5b Mon Sep 17 00:00:00 2001 From: zachir Date: Sun, 14 May 2023 11:49:25 -0500 Subject: add portmaster path and completion to zsh --- zsh/.zshenv | 1 + zsh/.zshrc | 1 + 2 files changed, 2 insertions(+) diff --git a/zsh/.zshenv b/zsh/.zshenv index 2fe0467..45d92ad 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -95,6 +95,7 @@ export PATH="$PATH:$GOPATH/bin" export PATH="$PATH:/opt/REAPER" export PATH="$PATH:/usr/local/bin" export PATH="$PATH:/usr/local/sbin" +export PATH="$PATH:/opt/safing/portmaster" export PATH="$PATH:/var/lib/flatpak/exports/bin" export PATH="$PATH:/usr/bin" export PATH="$PATH:/usr/sbin" diff --git a/zsh/.zshrc b/zsh/.zshrc index a24a43a..d397cf3 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -96,3 +96,4 @@ bindkey -- '^[[B' down-line-or-beg [[ -n "${key[Delete]}" ]] && bindkey -- "${key[Delete]}" delete-char #eval "$(starship init zsh)" +eval "$(portmaster-start --data=/opt/safing/portmaster completion zsh)" -- cgit v1.2.3 From 83c89f9eb6bfddebce959bcc370f28e356d42cdb Mon Sep 17 00:00:00 2001 From: zachir Date: Sun, 14 May 2023 11:50:13 -0500 Subject: ignore pcmanfm-qt in addition to pcmanfm --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index fc2e354..4f34bf9 100644 --- a/.gitignore +++ b/.gitignore @@ -61,6 +61,7 @@ poezio/ pmbootstrap.cfg pipewire/media-session.d/ PCSX2/ +pcmanfm-qt/ pcmanfm/ pavucontrol.ini openrazer/ -- cgit v1.2.3