Add rofi config; use rofi as app launcher in i3 on roxy
This commit is contained in:
parent
2ae15042e9
commit
0175c5a4ab
|
|
@ -0,0 +1,19 @@
|
||||||
|
configuration {
|
||||||
|
// Set default modi
|
||||||
|
modi: "window,run,drun";
|
||||||
|
|
||||||
|
// Autodetect DPI
|
||||||
|
dpi: 0;
|
||||||
|
|
||||||
|
// Continuous scrolling (line-by-line instead of page-wise)
|
||||||
|
scroll-method: 1;
|
||||||
|
|
||||||
|
// When running shell commands in a terminal, pause before exiting
|
||||||
|
run-shell-command: "{terminal} -e 'bash -ic \"{cmd} && read\"'";
|
||||||
|
|
||||||
|
// Keybindings: Autocomplete with Tab
|
||||||
|
kb-row-select: "Control+space,Tab";
|
||||||
|
kb-row-tab: "";
|
||||||
|
}
|
||||||
|
|
||||||
|
@theme "/usr/share/rofi/themes/Monokai.rasi"
|
||||||
1
.vimrc
1
.vimrc
|
|
@ -25,6 +25,7 @@ filetype plugin on
|
||||||
|
|
||||||
" Syntax rules for custom file extensions/patterns
|
" Syntax rules for custom file extensions/patterns
|
||||||
autocmd BufNewFile,BufRead *.gitconfig set syntax=gitconfig
|
autocmd BufNewFile,BufRead *.gitconfig set syntax=gitconfig
|
||||||
|
autocmd BufNewFile,BufRead *.rasi set syntax=scss
|
||||||
|
|
||||||
" Indentation for Python (use 4 spaces)
|
" Indentation for Python (use 4 spaces)
|
||||||
"autocmd FileType python setlocal expandtab shiftwidth=4 softtabstop=4
|
"autocmd FileType python setlocal expandtab shiftwidth=4 softtabstop=4
|
||||||
|
|
|
||||||
|
|
@ -104,10 +104,11 @@ for_window [instance="sakura-floating"] floating enable
|
||||||
bindsym $mod+Shift+Return exec sakura --name=sakura-floating
|
bindsym $mod+Shift+Return exec sakura --name=sakura-floating
|
||||||
|
|
||||||
# ~~ Start application launcher
|
# ~~ Start application launcher
|
||||||
# Regular dmenu:
|
bindsym $mod+d exec rofi -show run
|
||||||
bindsym $mod+d exec dmenu_run
|
bindsym $mod+Shift+d exec rofi -show drun
|
||||||
# This one only displays .desktop file applications
|
bindsym $mod+w exec rofi -show window
|
||||||
bindsym $mod+Shift+d exec --no-startup-id i3-dmenu-desktop
|
bindsym $mod+c exec rofi -show calc
|
||||||
|
bindsym $mod+m exec rofi -show emoji
|
||||||
|
|
||||||
# ~~ Kill focused window
|
# ~~ Kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue