Skip to content

Instantly share code, notes, and snippets.

@rawsh
Last active February 11, 2024 11:56
Show Gist options
  • Star 14 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save rawsh/9ae04a2bdbfce513ad0851d9277515d2 to your computer and use it in GitHub Desktop.
Save rawsh/9ae04a2bdbfce513ad0851d9277515d2 to your computer and use it in GitHub Desktop.
.Xresources theme for rofi and terminal
! *----------------------------*
! | Dotfiles - .Xresources |
! *----------------------------*
! This files contains configuration for:
! * terminal colours
! * urxvt
! * rofi
! === Font ===
! *font: xft:inconsolatazi4:size=18
! === Colours ===
! main
*.cursorColor: #000000
*background: #5d729f
*foreground: #34405a
! black
*color0: #151520
*color8: #3c3c5c
! red
*color1: #5e73a0
*color9: #82a0df
! green
*color2: #5671a0
*color10: #789ee1
! yellow
*color3: #5b70a0
*color11: #7f9cdf
! blue
*color4: #4c6ea0
*color12: #6c9ce3
! magenta
*color5: #7a7fa0
*color13: #a5abd8
! cyan
*color6: #5471a0
*color14: #769fe1
! white
*color7: #8581a0
*color15: #b2add7
! === URxvt ===
! Extensions
URxvt*perl-ext-common: default,matcher,vtwheel,clipboard
! Looks
URxvt*font: xft:inconsolatazi4:size=18
URxvt*scrollBar: false
URxvt.internalBorder: 10
! Clickable urls
URxvt.url-select.underline: true
URxvt.url-launcher: /usr/bin/firefox
URxvt.matcher.button: 1
! Change keybinding for copy/paste
URxvt*iso14755: false
URxvt.keysym.Shift-Control-C: perl:clipboard:copy
URxvt.keysym.Shift-Control-V: perl:clipboard:paste
URxvt.letterSpace: -1
URxvt.lineSpace: 2
! === rofi ===
rofi.modi: ssh,window,drun,run
rofi.sidebar-mode: true
rofi.terminal: termite
rofi.ssh-client: ssh
rofi.ssh-command: {terminal} -e "{ssh-client} {host}"
rofi.opacity: 100
rofi.width: 50
rofi.lines: 8
rofi.columns: 1
rofi.font: Inconsolata 24
rofi.fg: #5294E2
rofi.bg: #5d729f
rofi.fg-active: #34405a
rofi.fg-urgent: #34405a
rofi.hlfg-active: #5e73a0
rofi.hlfg-urgent: #5e73a0
rofi.bg-active: #34405a
rofi.bg-urgent: #34405a
rofi.hlbg-active: #5d729f
rofi.hlbg-urgent: #5d729f
rofi.bgalt: #5671a0
rofi.hlfg: #34405a
rofi.hlbg: #34405a
rofi.bc: #789ee1
! State: 'bg', 'fg', 'bgalt', 'hlbg', 'hlfg'
rofi.color-normal: #353944, #FFFFFF, #353944, #5294E2, #FFFFFF
rofi.color-normal: #353944, #FFFFFF, #353944, #5294E2, #FFFFFF
rofi.color-normal: #353944, #FFFFFF, #353944, #5294E2, #FFFFFF
! 'background', 'border'
rofi.color-window: #353944, #404552
rofi.bw: 10
rofi.location: 0
rofi.padding: 20
rofi.levenshtein-sort: true
rofi.case-sensitive: false
rofi.fuzzy: false
rofi.line-margin: 2
rofi.separator-style: solid
rofi.hide-scrollbar: true
rofi.markup-rows: false
rofi.scrollbar-width: 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment