Updated rofi configuration

This commit is contained in:
Damien Broqua 2020-04-25 20:09:18 +02:00
parent e3d2384a89
commit bf9d2be8d0
2 changed files with 121 additions and 72 deletions

View file

@ -25,8 +25,7 @@ bindsym Control+q kill
# start dmenu (a program launcher) # start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run -fn 'Droid Sans Mono-8' bindsym $mod+d exec dmenu_run -fn 'Droid Sans Mono-8'
#bindsym Mod1+space exec dmenu_run -fn 'Droid Sans Mono-8' bindsym Mod1+space exec "rofi -show combi"
bindsym Mod1+space exec "rofi -lines 12 -padding 18 -width 60 -location 0 -show drun -sidebar-mode -columns 3 -font 'Noto Sans 8'"
# There also is the (new) i3-dmenu-desktop which only displays applications # There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that # shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed. # installed.

View file

@ -1,77 +1,127 @@
! Define base colors ! ------------------------------------------------------------------------------
#define WHITE #ffffff ! Colour Configuration
#define BLACK #101010 ! ------------------------------------------------------------------------------
#define BLACK_LIGHT #cecece
#define GREY_EXTRA_LIGHT #f2f2f2
! Blue
#define BLUE_EXTRA_LIGHT #4bb8fd
#define BLUE_SUPER_LIGHT #2aa7e7
#define BLUE_LIGHT #0071ff
#define BLUE #004f9e
#define BLUE_DARK #1d202f
! Purple
#define PURPLE_LIGHT #a020f0
! Red
#define RED_EXTRA_LIGHT #ff361e
#define RED_SUPER_LIGHT #ec0048
#define RED_LIGHT #ef0051
! Green
#define GREEN_LIGHT #93ff00
! Amber
#define AMBER_LIGHT #ffc005
! special
*.foreground: #d8dee8
*.background: #2f343f
*.cursorColor: #b48ead
! General settins ! black
URxvt.geometry: 94x47 *.color0 : #4b5262
URxvt.saveLines: 10000 *.color8 : #434a5a
URxvt.scrollBar: true
URxvt.scrollBar_right: true
URxvt.scrollColor: BLUE_EXTRA_LIGHT
URxvt.scrollBar_floating: true
URxvt.scrollstyle: plain
URxvt.cursorBlink: true
URxvt.cursorUnderline: true
! Colors ! red
! Blue *.color1 : #bf616a
URxvt.depth: 32 *.color9 : #b3555e
URxvt.background: rgba:5e5e/5e5e/5e5e/AAAA
URxvt.foreground: BLACK_LIGHT
URxvt.cursorColor: BLUE_EXTRA_LIGHT
URxvt.color0: BLACK
URxvt.color1: RED_EXTRA_LIGHT
URxvt.color2: GREEN_LIGHT
URxvt.color3: WHITE
URxvt.color4: BLUE
URxvt.color5: RED_SUPER_LIGHT
URxvt.color6: BLUE_SUPER_LIGHT
URxvt.color7: BLACK_LIGHT
URxvt.color8: BLUE_DARK
URxvt.color9: RED_EXTRA_LIGHT
URxvt.color10: AMBER_LIGHT
URxvt.color11: GREEN_LIGHT
URxvt.color12: BLUE_LIGHT
URxvt.color13: RED_LIGHT
URxvt.color14: BLUE_EXTRA_LIGHT
URxvt.color15: PURPLE_LIGHT
! Fonts ! green
URxvt.font: xft:DejaVu Sans Mono:size=8:antialias=true:hinting=true *.color2 : #a3be8c
URxvt.boldFont: xft:DejaVu Sans Mono:size=8 *.color10 : #93ae7c
URxvt.boldItalicFont: xft:DejaVu Sans Mono:italic:size=8
! Extensions ! yellow
URxvt.perl-ext-common: default,matcher,tabbed *.color3 : #ebcb8b
! Tab *.color11 : #dbbb7b
URxvt.tabbed.tabbar-fg: 4
URxvt.tabbed.tabbar-bg: 0
URxvt.tabbed.tab-fg: 7
URxvt.tabbed.tab-bg: 14
! Auto click
URxvt.url-launcher: /usr/bin/xdg-open
URxvt.matcher.button: 1 ! blue
URxvt.matcher.rend.0: Uline Bold fg5 *.color4 : #81a1c1
*.color12 : #7191b1
! Icon ! magenta
URxvt.iconFile: /usr/share/icons/Tango/scalable/apps/terminal.svg *.color5 : #b48ead
*.color13 : #a6809f
! cyan
*.color6 : #89d0bA
*.color14 : #7dbba8
! white
*.color7 : #e5e9f0
*.color15 : #d1d5dc
! ------------------------------------------------------------------------------
! Font configuration
! ------------------------------------------------------------------------------
URxvt*font: xft:M+ 1mn:regular:size=8
URxvt*boldFont: xft:M+ 1mn:bold:size=8
URxvt*italicFont: xft:M+ 1mn:italic:size=8
URxvt*boldItalicFont: xft:M+ 1mn:bold italic:size=8
! ------------------------------------------------------------------------------
! Xft Font Configuration
! ------------------------------------------------------------------------------
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintslight
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb
! ------------------------------------------------------------------------------
! URxvt configs
! ------------------------------------------------------------------------------
! font spacing
URxvt*letterSpace: 0
URxvt.lineSpace: 0
! general settings
URxvt*saveline: 15000
URxvt*termName: rxvt-256color
URxvt*iso14755: false
URxvt*urgentOnBell: true
! appearance
URxvt*depth: 24
URxvt*scrollBar: false
URxvt*scrollBar_right: false
URxvt*internalBorder: 24
URxvt*externalBorder: 0
URxvt.geometry: 84x22
! perl extensions
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select
! macros for clipboard and selection
URxvt.copyCommand: xclip -i -selection clipboard
URxvt.pasteCommand: xclip -o -selection clipboard
URxvt.keysym.M-c: perl:clipboard:copy
URxvt.keysym.M-v: perl:clipboard:paste
URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
URxvt.keysym.M-Escape: perl:keyboard-select:activate
URxvt.keysym.M-s: perl:keyboard-select:search
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.urlLauncher: firefox
URxvt.underlineURLs: true
URxvt.urlButton: 1
! scroll one line
URxvt.keysym.Shift-Up: command:\033]720;1\007
URxvt.keysym.Shift-Down: command:\033]721;1\007
! control arrow
URxvt.keysym.Control-Up: \033[1;5A
URxvt.keysym.Control-Down: \033[1;5B
URxvt.keysym.Control-Right: \033[1;5C
URxvt.keysym.Control-Left: \033[1;5D
! ------------------------------------------------------------------------------
! Rofi configs
! ------------------------------------------------------------------------------
rofi.lines: 12
rofi.modi: combi
rofi.combi-modi: window,ssh,run,drun
rofi.font: Droid Sans Mono 8
! ------------------------------------------------------------------------------
! Dmenu configs
! ------------------------------------------------------------------------------
dmenu.selforeground: #d8dee9
dmenu.background: #2e3440
dmenu.selbackground: #bf616a
dmenu.foreground: #d8dee9