Add special dmenu script (for dunst)

Update some other configs
This commit is contained in:
Tobias Reisinger 2024-04-11 00:40:44 +02:00
parent f6e666a877
commit 8938998093
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 10 additions and 5 deletions

5
.bin/dmenu Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$XDG_CONFIG_HOME/environment"
cat - | $DMENU

View file

@ -104,7 +104,7 @@ hosts = []
group = 'chat' group = 'chat'
[apps.teamspeak-notify-move] [apps.teamspeak-notify-move]
command = 'ts-control events-move' command = 'ts-control events'
delay = 5 delay = 5
hosts = [] hosts = []
group = 'chat' group = 'chat'

View file

@ -242,7 +242,7 @@
### Misc/Advanced ### ### Misc/Advanced ###
# dmenu path. # dmenu path.
dmenu = /usr/bin/dmenu -p dunst: dmenu = {{ env.HOME }}/.bin/dmenu -p dunst:
# Browser for opening urls in context menu. # Browser for opening urls in context menu.
browser = /usr/bin/xdg-open browser = /usr/bin/xdg-open
@ -314,7 +314,7 @@
# These values can be strung together for each mouse event, and # These values can be strung together for each mouse event, and
# will be executed in sequence. # will be executed in sequence.
mouse_left_click = close_current mouse_left_click = close_current
mouse_middle_click = do_action, close_current mouse_middle_click = open_url
mouse_right_click = close_all mouse_right_click = close_all
# Experimental features that may or may not work correctly. Do not expect them # Experimental features that may or may not work correctly. Do not expect them

View file

@ -2,7 +2,7 @@
export AUTOSTART_DISPLAY="Hyprland" export AUTOSTART_DISPLAY="Hyprland"
export MONITOR_PRIMARY="DisplayPort-0" export MONITOR_PRIMARY="DP-1"
export MONITOR_SECONDARY="HDMI-A-0" export MONITOR_SECONDARY="HDMI-A-1"
export DUNST_MONITOR="$MONITOR_SECONDARY" export DUNST_MONITOR="$MONITOR_SECONDARY"