summaryrefslogtreecommitdiff
path: root/.config/sway
diff options
context:
space:
mode:
authorMehdi Sadeghi <mehdi@mehdix.org>2021-06-11 17:13:48 +0200
committerMehdi Sadeghi <mehdi@mehdix.org>2021-06-11 17:14:52 +0200
commitda4ff3db82916d18029cfbdacf3f5866a391b7ba (patch)
treee91b387b0a01fabc350d7658b2fa4922c06569ba /.config/sway
parent5886d668f0216f0cc44894f6d71f97e8d95f255e (diff)
Add jdate to i3status. Use dmenu.
Diffstat (limited to '.config/sway')
-rw-r--r--.config/sway/config9
1 files changed, 6 insertions, 3 deletions
diff --git a/.config/sway/config b/.config/sway/config
index fa47ecc..490e3b7 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -4,11 +4,11 @@ set $down j
set $up k
set $right l
set $mod Mod4
-set $term alacritty -e bash --login
+set $term alacritty
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
-set $menu bemenu-run | xargs swaymsg exec --
+set $menu dmenu_path | dmenu | xargs swaymsg exec --
### Output configuration
#
@@ -237,7 +237,10 @@ bar {
}
bar {
- status_command i3status
+ # i3status does not allow running arbitrary processes.
+ # The man page describes the hack below to make it work.
+ #status_command i3status
+ status_command exec ~/.local/bin/any_position_wrapper.sh
}
# Load machine specific configuration