dbus/xdg proper configuration

This commit is contained in:
Freya Murphy 2023-11-28 09:07:49 -05:00
parent 24561a73ba
commit 1b5173bec1
8 changed files with 21 additions and 34 deletions

View file

@ -1,23 +1,16 @@
font=Fira Mono 10
background-color=#1d1b2b
font=monospace 11
background-color=#14171d
border-color=#4d4754
border-size=2
border-radius=5
margin=6
text-color=#c7c6c3
border-radius=3
margin=5
padding=5,8
progress-color=#373c47
default-timeout=5000
layer=overlay
icons=1
[urgency=low]
text-color=#98c379
border-color=#98c379
default-timeout=10000
[urgency=normal]
text-color=#61afef
border-color=#61afef
default-timeout=10000
[urgency=critical]
text-color=#e06c75
border-color=#e06c75

View file

@ -1,5 +1,6 @@
# xdg desktop portal fix
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
# Set super key
set $mod Mod4

View file

@ -49,8 +49,8 @@ bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
# Screenshot
bindsym $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy && notify-send -t 1000 "Screenshot copied to clipboard"
bindsym Print exec grim - | wl-copy && notify-send -t 1000 "Screenshot copied to clipboard"
bindsym $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy -t image/png && notify-send -t 3000 "Sway" "Screenshot copied to clipboard"
bindsym Print exec grim - | wl-copy -t iamge/png && notify-send -t 3000 "Sway" "Full screen copied to clipboard"
bindsym Shift+Print exec slurp -p | grim -g - - | convert - txt:- | tail -n 1 | awk '{print $3}' | wl-copy
# Michelsoft Binbows

View file

@ -30,3 +30,7 @@ layer_effects "wofi" blur enable; shadows enable
### Output configuration
output * bg $bg fill
### Bar
exec env GTK_THEME="Adwaita-dark" waybar

View file

@ -1,19 +1,7 @@
#!/usr/bin/env bash
/usr/lib/xdg-desktop-portal -r &
/usr/lib/xdg-desktop-portal-wlr -r &
mako &
GTK_THEME="Lavanda-Sea-Dark" nm-applet --indicator &
autotiling &
/usr/bin/gnome-keyring-daemon --foreground &
GTK_THEME="Adwaita-dark" waybar &
discord &
element-desktop &
#thunderbird &
thunderbird &

View file

@ -8,13 +8,12 @@ export EDITOR=nvim
# wayland fixes
export _JAVA_AWT_WM_NONREPARENTING=1
export MOZ_ENABLE_WAYLAND=1
export QT_QPA_PLATFORM=wayland-egl
export SDL_VIDEODRIVER=wayland
export XDG_SESSION_TYPE=wayland
export XDG_CURRENT_DESKTOP=sway
export XDG_CONFIG_HOME=$HOME/.config
export MOZ_USE_XINPUT2=1
# xdg
export XDG_CONFIG_HOME=$HOME/.config
export XDG_DATA_HOME=$HOME/.local/share
# ricing
export GTK_THEME=Lavanda-Sea-Dark

1
aur
View file

@ -1,3 +1,4 @@
autotiling
cider
fbterm
mkinitcpio-firmware

View file

@ -62,6 +62,7 @@ python-pynvim
qbittorrent
qemu-full
qt5-wayland
ripgrep
ruby
rustup
sassc