summaryrefslogtreecommitdiff
path: root/.config/sway
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway')
-rwxr-xr-x.config/sway/config1
-rw-r--r--.config/sway/config.d/keybinds4
-rw-r--r--.config/sway/config.d/theme4
-rwxr-xr-x.config/sway/scripts.d/auto.sh14
4 files changed, 8 insertions, 15 deletions
diff --git a/.config/sway/config b/.config/sway/config
index effb3cd..61879fc 100755
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -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
diff --git a/.config/sway/config.d/keybinds b/.config/sway/config.d/keybinds
index 0543339..1bae11e 100644
--- a/.config/sway/config.d/keybinds
+++ b/.config/sway/config.d/keybinds
@@ -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
diff --git a/.config/sway/config.d/theme b/.config/sway/config.d/theme
index e8d2822..661f9e5 100644
--- a/.config/sway/config.d/theme
+++ b/.config/sway/config.d/theme
@@ -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
diff --git a/.config/sway/scripts.d/auto.sh b/.config/sway/scripts.d/auto.sh
index c149f79..b22353d 100755
--- a/.config/sway/scripts.d/auto.sh
+++ b/.config/sway/scripts.d/auto.sh
@@ -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 &