From 3bda47fbbc1d8fb2d4f801e6f12b6404a5d4d66d Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Thu, 20 Jan 2022 21:53:07 -0500 Subject: [PATCH] Added and changed to zenburn theme globally --- Xresources => Xresources.gruvbox | 0 Xresources.zenburn | 83 ++++++++ config/kitty/zenburn.conf | 3 +- .../rofi/{config.rasi => config.rasi.gruvbox} | 0 config/rofi/config.rasi.zenburn | 192 ++++++++++++++++++ install.sh | 10 +- 6 files changed, 283 insertions(+), 5 deletions(-) rename Xresources => Xresources.gruvbox (100%) create mode 100644 Xresources.zenburn rename config/rofi/{config.rasi => config.rasi.gruvbox} (100%) create mode 100644 config/rofi/config.rasi.zenburn diff --git a/Xresources b/Xresources.gruvbox similarity index 100% rename from Xresources rename to Xresources.gruvbox diff --git a/Xresources.zenburn b/Xresources.zenburn new file mode 100644 index 0000000..3647f22 --- /dev/null +++ b/Xresources.zenburn @@ -0,0 +1,83 @@ +! ----------------------------------------------------------------------------- +! Based on: gruvbox-dark.xresources +! Description: Retro groove colorscheme generalized +! Source: https://github.com/morhetz/gruvbox-generalized +! ----------------------------------------------------------------------------- + +! Laptop screen DPI +Xft.dpi: 216 + +Xft.autohint: 0 +Xft.lcdfilter: lcddefault +Xft.hintstyle: hintfull +Xft.hinting: 1 +Xft.antialias: 1 +Xft.rgba: rgb + +*background: #3f3f3f +*foreground: #dcdccc +! Black + DarkGrey +*color0: #282828 +*color8: #709080 +! DarkRed + Red +*color1: #705050 +*color9: #dca3a3 +! DarkGreen + Green +*color2: #60b48a +*color10: #c3bf9f +! DarkYellow + Yellow +*color3: #f0deae +*color11: #dfcf9f +! DarkBlue + Blue +*color4: #506070 +*color12: #94bff3 +! DarkMagenta + Magenta +*color5: #dc8cc3 +*color13: #ec93d3 +! DarkCyan + Cyan +*color6: #8cd0d3 +*color14: #93e0e3 +! LightGrey + White +*color7: #dcdccc +*color15: #ffffff + +!!! urxvt +URxvt.perl-ext-common: default,matcher +URxvt*buffered: true +URxvt*saveLines: 5000 +URxvt*cursorBlink: true +URxvt*borderless: 1 +URxvt*internalBorder: 20 +URxvt*scrollBar: false +URxvt.url-launcher: /usr/bin/xdg-open +URxvt.matcher.button: 1 +URxvt.clipboard.autocopy: true + +! do not scroll with output +URxvt*scrollTtyOutput: false +! scroll in relation to buffer (with mouse scroll or Shift+Page Up) +URxvt*scrollWithBuffer: true +! scroll back to the bottom on keypress +URxvt*scrollTtyKeypress: true +! disable scrollback buffer in secondary screen (allows scrolling pager when using 'less' etc) +URxvt.secondaryScreen: 1 +URxvt.secondaryScroll: 0 +! Disable printing the terminal contents when pressing PrintScreen. +URxvt.print-pipe: "cat > /dev/null" +!! copy/paste +! disable default ctrl-shift binding +URxvt.iso14755: false +URxvt.iso14755_52: false +! disable default copy/paste bindings +URxvt.keysym.Control-Meta-c: builtin-string: +URxvt.keysym.Control-Meta-v: builtin-string: +! new copy/paste bindings +URxvt.keysym.Shift-Control-V: eval:paste_clipboard +URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard +!! font +!URxvt.letterSpace: -1 +URxvt.font: xft:Hack:regular:size=12, \ + xft:Font Awesome 5 Brands:Regular:size=10, \ + xft:Font Awesome 5 Free:Solid:size=10, \ + xft:Font Awesome 5 Free:Regular:size=10 + diff --git a/config/kitty/zenburn.conf b/config/kitty/zenburn.conf index ee74ea0..54e610a 100644 --- a/config/kitty/zenburn.conf +++ b/config/kitty/zenburn.conf @@ -22,5 +22,4 @@ color6 #8cd0d3 color14 #93e0e3 color7 #dcdccc color15 #ffffff -selection_foreground #3f3f3f - +selection_foreground #3f3f3f diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi.gruvbox similarity index 100% rename from config/rofi/config.rasi rename to config/rofi/config.rasi.gruvbox diff --git a/config/rofi/config.rasi.zenburn b/config/rofi/config.rasi.zenburn new file mode 100644 index 0000000..694ccd0 --- /dev/null +++ b/config/rofi/config.rasi.zenburn @@ -0,0 +1,192 @@ + +/*-*- mode: css; -*-*/ +/** ROFI Color theme */ + +configuration { + modi: "combi"; + combi-modi: "window,drun,run,ssh"; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; + scroll-method: 1; + display-ssh: "ssh"; + display-run: "#! "; + display-drun: ""; + display-window: ""; + display-combi: "請選擇"; + show-icons: true; +} + +/** + * User: Qball + * Copyright: Dave Davenport + */ +* { + foreground: #dcdccc; + backlight: #ccffeedd; + background-color: transparent; + dark: #434443; + black: #3F3F3F; + black-2: #4f4f4f; + tblack-2: #3f3f3fcc; + red: #CC9393; + red-2: #9C6363; + green: #7F9F7F; + green-2: #5F7F5F; + yellow: #F0DFAF; + yellow-2: #D0BF8F; + blue: #8CD0D3; + blue-2: #6CA0A3; + magenta: #DC8CC3; + magenta-2: #CB7BB2; + cyan: #93E0E3; + tcyan: #93E0E3de; + cyan-2: #82CFD2; + white: #DCDCCC; + white-2: #FFFFEF; + highlight: underline bold #6CA0A3; + transparent: rgba(0,0,0,0); + font: "Hack 12"; +} + +window { + location: center; + anchor: center; + transparency: "screenshot"; + padding: 10px; + border: 0px; + radius: 15px; + color: @magenta; + background-color: @transparent; + spacing: 0; + children: [vertb, mainbox]; + orientation: horizontal; + font: "Hack 12"; +} + +mainbox { + spacing: 0; + children: [ inputbar, message, listview ]; +} + +message { + border-color: @foreground; + border: 0px 2px 2px 2px; + padding: 5; + background-color: @yellow; + font: "Hack 12"; + color: @black; +} + +inputbar { + color: @foreground; + padding: 11px; + background-color: @dark; + border: 2px 2px 2px 2px; + border-radius: 0px 0px 0px 0px; + border-color: @foreground; + font: "Hack 12"; +} + +entry,prompt,case-indicator { + text-font: inherit; + text-color:inherit; +} + +listview { + padding: 8px; + border-radius: 0px 0px 0px 0px; + border-color: @foreground; + border: 0px 2px 2px 2px; + background-color: #1c1c1ccc; + dynamic: true; + lines: 20; +} + +element { + padding: 3px; + vertical-align: 0.5; + background-color: @dark; + color: @dark; + font:inherit; +} + +element selected normal { + color: @black; + background-color: @foreground; +} + +element normal active { + foreground: @red-2; + color: @green-2; + background-color:@yellow-2; +} + +element normal.urgent { + foreground: @red; +} + +element normal normal { + background-color: @tblack; +} + +element alternate normal { + background-color: @black; +} + +element alternate.active { + foreground: @red; +} + +element alternate.urgent { + foreground: @red; +} + +element selected.active { + color: @black; + background-color: @foreground; +} + +element selected.urgent { + background-color: @red-2; + foreground: @foreground; +} + + +vertb { + expand: false; + // children: [ Dummy0, sidebar, dummy1 ]; +} + +dummy0, dummy1 { + expand: true; +} + +sidebar { + expand: false; + orientation: vertical; + spacing: 0px; + border: 0px 0px 0px 0px; +} + +button { + font: "FontAwesome 26"; + padding: 6px; + border: 2px 0px 2px 2px; + border-radius: 4px 0px 0px 4px; + background-color: @tblack-2; + border-color: @foreground; + color: @foreground; + horizontal-align: 0.5; +} + +button selected normal { + color: @dark; + border: 2px 0px 2px 2px; + background-color: @backlight; + border-color: @foreground; +} + +element-icon { + padding: 2px 0px; + size: 32px; +} diff --git a/install.sh b/install.sh index 68851c6..aec875d 100755 --- a/install.sh +++ b/install.sh @@ -48,20 +48,23 @@ ln -sf $dotfiles_dir/profile ~/.profile ln -sf $dotfiles_dir/emacs.d ~/.emacs.d ln -sf $dotfiles_dir/xinitrc ~/.xinitrc ln -sf $dotfiles_dir/vimrc ~/.vimrc -ln -sf $dotfiles_dir/Xresources ~/.Xresources +#ln -sf $dotfiles_dir/Xresources.gruvbox ~/.Xresources +ln -sf $dotfiles_dir/Xresources.zenburn ~/.Xresources # Create $config_dir, sub-directories, and symlinks mkdir -p $config_dir/{bspwm,dunst,kitty,nvim,polybar,rofi,sxhkd} ln -sf $dotfiles_dir/config/bspwm/bspwmrc $config_dir/bspwm/bspwmrc ln -sf $dotfiles_dir/config/dunst/dunstrc $config_dir/dunst/dunstrc ln -sf $dotfiles_dir/config/kitty/kitty.conf $config_dir/kitty/kitty.conf -ln -sf $dotfiles_dir/config/kitty/gruvbox.conf $config_dir/kitty/gruvbox.conf +#ln -sf $dotfiles_dir/config/kitty/gruvbox.conf $config_dir/kitty/gruvbox.conf +ln -sf $dotfiles_dir/config/kitty/zenburn.conf $config_dir/kitty/zenburn.conf ln -sf $dotfiles_dir/config/nvim/init.vim $config_dir/nvim/init.vim ln -sf $dotfiles_dir/config/polybar/config.ini $config_dir/polybar/config.ini ln -sf $dotfiles_dir/config/polybar/colors.ini $config_dir/polybar/colors.ini ln -sf $dotfiles_dir/config/polybar/modules.ini $config_dir/polybar/modules.ini ln -sf $dotfiles_dir/config/polybar/custom_modules.ini $config_dir/polybar/custom_modules.ini -ln -sf $dotfiles_dir/config/rofi/config.rasi $config_dir/rofi/config.rasi +#ln -sf $dotfiles_dir/config/rofi/config.rasi.gruvbox $config_dir/rofi/config.rasi +ln -sf $dotfiles_dir/config/rofi/config.rasi.zenburn $config_dir/rofi/config.rasi ln -sf $dotfiles_dir/config/sxhkd/sxhkdrc $config_dir/sxhkd/sxhkdrc # Create $bin_dir and symlinks @@ -73,4 +76,5 @@ ln -sf $dotfiles_dir/bin/toggle-wifi $bin_dir # Finishing up source ~/.bashrc source ~/.bash_profile +source ~/.profile xrdb ~/.Xresources