Dmenu to replace rofi, dmenu history search in zshrc

Tecra-R940
Marvin Johanning 2020-04-03 13:45:22 +02:00
parent c1b85e243a
commit eed88ceb3d
3 changed files with 5 additions and 3 deletions

View File

@ -60,7 +60,7 @@ opacity-rule = [
"99:class_g = 'Chromium'",
"99:name *?= 'Conky'",
"99:class_g = 'Darktable'",
"50:class_g = 'Dmenu'",
"90:class_g = 'dmenu'",
"90:class_g = 'Rofi'",
"99:name *?= 'Event'",
"99:class_g = 'GIMP'",

View File

@ -33,7 +33,7 @@ bindsym $mod+Return exec st
bindsym $mod+Shift+q kill
# start program launcher
bindsym $mod+d exec --no-startup-id rofi -show run
bindsym $mod+d exec --no-startup-id dmenu_run -l 7 -p "Run:"
# launch categorized menu
bindsym $mod+z exec --no-startup-id morc_menu
@ -307,7 +307,7 @@ bindsym $mod+9 exec --no-startup-id blurlock
# Autostart applications
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id nitrogen --restore; sleep 1; compton -b
#exec --no-startup-id manjaro-hello
exec --no-startup-id manjaro-hello
exec --no-startup-id nm-applet
exec --no-startup-id xfce4-power-manager
exec --no-startup-id pamac-tray

2
.zshrc
View File

@ -61,3 +61,5 @@ source ~/.cache/wal/colors-tty.sh
#Path changes
PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"
alias history='cat $HISTFILE | sed -e "s/^:[ \t]*[0-9]*:[0-9]*;//g" | dmenu "$@" -l 7 -p "Command:" | ${SHELL:-"/bin/zsh"}'