Use rofi instead of dmenu

This commit is contained in:
Jake Howard 2017-12-18 00:32:10 +00:00
parent 618b692ae2
commit 35b9d09939
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 36 additions and 1 deletions

View file

@ -88,6 +88,7 @@ node default {
'python2-virtualenv',
'qt5-styleplugins',
'redis',
'rofi',
'screenfetch',
'sl',
'slack-desktop',

View file

@ -0,0 +1,21 @@
! ------------------------------------------------------------------------------
! ROFI Color theme
! ------------------------------------------------------------------------------
rofi.color-enabled: true
rofi.color-window: #393939, #393939, #268bd2
rofi.color-normal: #393939, #ffffff, #393939, #268bd2, #ffffff
rofi.color-active: #393939, #268bd2, #393939, #268bd2, #205171
rofi.color-urgent: #393939, #f3843d, #393939, #268bd2, #ffc39c
rofi.show-icons: true
rofi.modi: window,ssh,drun
rofi.no-show-match: true
rofi.lines: 10
rofi.width: 40
rofi.sort: true
rofi.matching: glob
rofi.kb-mode-next: Alt+Right
rofi.kb-mode-previous: Alt+Left
rofi.ssh-command: {terminal} -e "{ssh-client} {host}"

View file

@ -48,4 +48,16 @@ class config {
mode => '0644',
source => 'puppet:///modules/config/gitignore_global'
}
file { 'Rofi config directory':
ensure => directory,
mode => '0644',
path => '/home/jake/.config/rofi'
} ->
file { 'Rofi config':
ensure => file,
mode => '0644',
path => '/home/jake/.config/rofi/config',
source => 'puppet:///modules/config/rofi.conf'
}
}

View file

@ -19,7 +19,8 @@ bindsym XF86AudioPrev exec playerctl previous
# Applications
bindsym $mod+K exec --no-startup-id keepassxc
bindsym $mod+l exec --no-startup-id i3lock -ftc 000000
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
bindsym $mod+d exec --no-startup-id rofi -show drun -sidebar-mode
bindsym $mod+Tab exec --no-startup-id rofi -show window
bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+n exec --no-startup-id nautilus