summaryrefslogtreecommitdiffstatshomepage
path: root/sway/.config
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-06-01 22:48:11 -0500
committerToby Vincent <tobyv13@gmail.com>2022-06-01 22:48:11 -0500
commit2619335ddabf738b736832febfd92b970581faa6 (patch)
tree895807b147e77e36dcf0449ec09c94264a5e8e24 /sway/.config
parent530e5b6dc64beae47229ecf5cf3eb575e9cc3133 (diff)
feat(sway): improve swaylock styles and move to rofi menu
Diffstat (limited to 'sway/.config')
-rw-r--r--sway/.config/sway/config8
-rw-r--r--sway/.config/swaylock/config37
2 files changed, 41 insertions, 4 deletions
diff --git a/sway/.config/sway/config b/sway/.config/sway/config
index 1317826..678f8de 100644
--- a/sway/.config/sway/config
+++ b/sway/.config/sway/config
@@ -7,8 +7,8 @@ set $mod Mod4
set $term $TERMINAL
# Menu
-set $menu yofi apps | xargs swaymsg exec --
-set $menu_all yofi binapps | xargs swaymsg exec --
+set $menu exec rofi -modi "run,drun" -show drun -show-icons
+set $menu_all exec rofi -modi "run,drun" -show run -show-icons
# set $menu exec app-launcher | xargs swaymsg exec --
# set $menu j4-dmenu-desktop | wofi --show drun -i | xargs swaymsg exec --
@@ -24,7 +24,7 @@ set $highlight #bb9af7
set $wallpaper ~/img/3840x2160-dark-archlinux.png
# System commands
-set $lock_cmd ~/.local/bin/lock
+set $lock_cmd swaylock --grace 10 --fade-in 1
set $sleep_cmd systemctl suspend
# Set color for focused window
@@ -208,7 +208,7 @@ exec mako
# Clipboard manager
exec wl-paste --type text --watch clipman store --no-persist
-bindsym $mod+v exec clipman pick --tool=CUSTOM --tool-args='yofi dialog'
+bindsym $mod+v exec clipman pick --tool=rofi
include @sysconfdir@/sway/config.d/*
diff --git a/sway/.config/swaylock/config b/sway/.config/swaylock/config
new file mode 100644
index 0000000..5b407ac
--- /dev/null
+++ b/sway/.config/swaylock/config
@@ -0,0 +1,37 @@
+daemonize
+screenshots
+clock
+submit-on-touch
+indicator
+indicator-radius=100
+indicator-thickness=7
+effect-blur=7x5
+effect-vignette=0.5:0.5
+ring-color=bb00cc
+key-hl-color=880033
+line-color=00000000
+inside-color=00000088
+separator-color=00000000
+
+#key-hl-color=ebdbb2
+#inside-color=28282888
+#inside-clear-color=d7992188
+#inside-caps-lock-color=45858888
+#inside-ver-color=45858888
+#inside-wrong-color=cc241d88
+#line-color=00000000
+#line-clear-color=00000000
+#line-caps-lock-color=00000000
+#line-ver-color=00000000
+#line-wrong-color=00000000
+#ring-color=d65d0e
+#ring-clear-color=d65d0e
+#ring-caps-lock-color=d65d0e
+#ring-ver-color=d65d0e
+#ring-wrong-color=d65d0e
+#text-color=ebdbb2
+#text-clear-color=ebdbb2
+#text-caps-lock-color=ebdbb2
+#text-ver-color=ebdbb2
+#text-wrong-color=ebdbb2
+#separator-color=00000000