stuff
This commit is contained in:
parent
c9826d2b66
commit
8654b6087b
|
@ -62,7 +62,7 @@ bindsym $mod+Shift+Return exec alacritty -e tmux a
|
|||
bindsym $mod+Shift+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+d exec --no-startup-id dmenu_run
|
||||
bindsym $mod+d exec --no-startup-id dmenu_run -i -b
|
||||
# A more modern dmenu replacement is rofi:
|
||||
# bindcode $mod+40 exec "rofi -modi drun,run -show drun"
|
||||
# There also is i3-dmenu-desktop which only displays applications shipping a
|
||||
|
@ -235,11 +235,12 @@ mode "$mode_music" {
|
|||
}
|
||||
|
||||
bindsym $mod+Shift+B mode "$mode_explorer"
|
||||
set $mode_explorer (b)ooks, (y)outube, (m)ovies
|
||||
set $mode_explorer (b)ooks, (y)outube, (m)ovies, (a)udiobooks
|
||||
mode "$mode_explorer" {
|
||||
bindsym m exec /home/naiji/.local/bin/dexplorer m dmenu, mode "default"
|
||||
bindsym y exec /home/naiji/.local/bin/dexplorer y dmenu, mode "default"
|
||||
bindsym b exec /home/naiji/.local/bin/dexplorer b dmenu, mode "default"
|
||||
bindsym a exec /home/naiji/.local/bin/dexplorer a dmenu, mode "default"
|
||||
|
||||
# exit system mode: "Enter" or "Escape"
|
||||
bindsym Return mode "default"
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
app="fzf"
|
||||
[ ! -z $2 ] && [ $2 == "dmenu" ] && app="dmenu";
|
||||
[ ! -z $2 ] && [ $2 == "dmenu" ] && app="dmenu -i -b";
|
||||
|
||||
|
||||
[ $1 == "b" ] && zathura "$(find ~/Mounts/hdd2/Books/ -type f | $app)";
|
||||
[ $1 == "y" ] && mpv "$(find ~/Mounts/hdd2/YouTube/ -type f | $app)";
|
||||
[ $1 == "m" ] && mpv "$(find ~/Mounts/hdd2/Movies\ \&\ Series/ -type f | $app)";
|
||||
[ $1 == "a" ] && mpv "$(find ~/Mounts/hdd2/Audiobooks/ | $app)";
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
kill $(ps aux | dmenu | awk '{print $2;}')
|
||||
kill $(ps aux | dmenu -b | awk '{print $2;}')
|
||||
|
|
Loading…
Reference in New Issue