summaryrefslogtreecommitdiff
path: root/.config/sway/config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.config/sway/config1
-rw-r--r--.config/sway/config.d/keybinds4
-rw-r--r--.config/sway/config.d/theme4
3 files changed, 7 insertions, 2 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