From e6ff4348a2f8d4ce911dbaaed05f38f7cf31cbb6 Mon Sep 17 00:00:00 2001 From: CadaverLab Date: Sat, 3 Feb 2018 17:11:09 -0300 Subject: [PATCH] Rofi theme: sbarr (needs a better name) and the usual fixes and tweaks --- .config/bspwm/autostart | 9 +- .config/compton.conf | 27 ++-- .config/ncmpcpp/config | 18 +-- .config/nvim/init.vim | 15 ++- .config/ranger/rc.conf | 14 +- .config/ranger/rifle.conf | 7 +- .config/ranger/scope.sh | 2 +- .config/rofi/config.rasi | 113 ++-------------- .config/sxhkd/sxhkdrc | 2 +- .irssi/bronze.theme | 13 +- .local/share/applications/abiword.desktop | 1 - .local/share/applications/atom.desktop | 10 -- .local/share/applications/qutebrowser.desktop | 2 - .local/share/rofi/themes/sbarr.rasi | 124 ++++++++++++++++++ .xinitrc | 2 +- .zshrc | 1 + bin/crear | 12 ++ 17 files changed, 208 insertions(+), 164 deletions(-) delete mode 100755 .local/share/applications/atom.desktop create mode 100644 .local/share/rofi/themes/sbarr.rasi create mode 100755 bin/crear diff --git a/.config/bspwm/autostart b/.config/bspwm/autostart index a54f0ec..86c6f4c 100644 --- a/.config/bspwm/autostart +++ b/.config/bspwm/autostart @@ -1,8 +1,9 @@ +sleep 5s xfce4-power-manager & -compton & -redshift -c ~/.config/redshift/redshift.conf & +#nm-applet & +#compton -b & dunst -conf ~/.config/dunst/dunstrc & -sleep 10s +sleep 15s +redshift -c ~/.config/redshift/redshift.conf & mpd & -update-checker 24h & mailnag & diff --git a/.config/compton.conf b/.config/compton.conf index 911871d..7c09df3 100644 --- a/.config/compton.conf +++ b/.config/compton.conf @@ -1,6 +1,7 @@ backend = "glx"; paint-on-overlay = true; vsync = "opengl-swc"; +refresh-rate = 0; glx-copy-from-front = false; sw-opti = true; glx-use-copysubbuffermesa = true; @@ -8,15 +9,15 @@ glx-swap-method = "undefined"; shadow = true; clear-shadow = true; -shadow-radius = 3; -shadow-offset-x = -0.4; -shadow-offset-y = -0.4; +shadow-radius = 5; +shadow-offset-x = -0.8; +shadow-offset-y = -0.8; no-dock-shadow = true; no-dnd-shadow = true; -shadow-opacity = 0.4; -shadow-red = 0.0; -shadow-green = 0.0; -shadow-blue = 0.0; +shadow-opacity = 0.8; +shadow-red = 0.05; +shadow-green = 0.05; +shadow-blue = 0.05; menu-opacity = 1.0; frame-opacity = 0.8; @@ -29,7 +30,6 @@ detect-client-opacity = true; shadow-ignore-shaped = true; inactive-opacity-override = false; mark-wmwin-focused = true; -#mark-ovredir-focused = true; use-ewmh-active-win = true; detect-transient = true; detect-client-leader = true; @@ -44,9 +44,7 @@ blur-background-frame = true; blur-background-fixed = false; blur-kern = "3x3box"; - opacity-rule = [ -# "99:class_g = 'Firefox'", "34:class_g = 'Bspwm' && class_i = 'presel_feedback'", "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" ]; @@ -67,10 +65,8 @@ shadow-exclude = [ "class_g = 'maim'" ]; - opacity-exclude = [ "class_g = 'mpv'", - "class_g = 'Rofi'", "class_g = 'Firefox'", "name *?= 'Notification'", "class_g ?= 'Notify-osd'", @@ -83,10 +79,10 @@ opacity-exclude = [ "class_g = 'maim'" ]; - blur-background-exclude = [ "class_g = 'slop'", "class_g = 'maim'", + "class_g = 'Rofi'", # "class_g = 'Termite'", "_GTK_FRAME_EXTENTS@:c" ]; @@ -95,6 +91,11 @@ blur-background-frame-exclude = [ # "class_g = 'Termite'", ]; +focus-exclude = [ + "_NET_WM_NAME@:s = 'rofi'", + "class_g = 'Rofi'" +]; + #Window type settings wintypes: { diff --git a/.config/ncmpcpp/config b/.config/ncmpcpp/config index 07794a1..fb9b68d 100644 --- a/.config/ncmpcpp/config +++ b/.config/ncmpcpp/config @@ -10,9 +10,9 @@ mpd_music_dir = "~/Music/Albums" visualizer_fifo_path = "/tmp/mpd.fifo" visualizer_output_name = "mpd spectrum" visualizer_type = "wave_filled" (wave wave_filled spectrum ellipse) -visualizer_in_stereo = yes +visualizer_in_stereo = no visualizer_color = "red,yellow,green,cyan,blue,red,yellow,green,cyan,blue,red,yellow,green,cyan,blue,red" -visualizer_look = ●▮ +visualizer_look = ●┃ visualizer_sync_interval = 10 # COLORS @@ -21,17 +21,17 @@ discard_colors_if_item_is_selected = yes alternative_ui_separator_color = yellow main_window_color = cyan header_window_color = cyan -volume_color = magenta -state_line_color = yellow -statusbar_color = red +volume_color = red +state_line_color = white +statusbar_color = magenta # HEADER alternative_header_first_line_format = "$8%t$9" alternative_header_second_line_format = "$b$8{%a}|{%A} - %b$9$/b" # SONG -song_list_format = "$3 %a $R $8 %t $5 %n $6 %l" -song_status_format = "{$5%A$9 - }$4%b$9" +song_list_format = "$4 %a $R $8 %t $5 %n $6 %l" +song_status_format = "{$5%A$9 - }$3%b" song_columns_list_format = "(40)[red]{a} (46)[yellow]{tr} (6f)[blue]{nr} (8f)[magenta]{lr}" song_window_title_format = "{%a - }{%t}{ [%b]}|{%f}" @@ -42,7 +42,7 @@ selected_item_prefix = "$9" selected_item_suffix = "$9" current_item_prefix = "$(white)$r" current_item_suffix = "$/r$(end)" -browser_playlist_prefix = "$7playlist$9" +browser_playlist_prefix = "$7list$9" # PROGRESS BAR progressbar_look = "━ " @@ -63,7 +63,7 @@ browser_sort_mode = mtime media_library_sort_by_mtime = yes # UI -titles_visibility = yes +titles_visibility = no header_visibility = no header_text_scrolling = no statusbar_visibility = yes diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 441277b..d2e6dc2 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -17,7 +17,6 @@ Plug 'junegunn/vim-plug' Plug 'junegunn/goyo.vim', { 'for': 'mail'} Plug 'ryanoasis/vim-devicons' - Plug 'vimwiki/vimwiki' Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'hecal3/vim-leader-guide' Plug 'christoomey/vim-tmux-navigator' @@ -85,6 +84,7 @@ set foldlevelstart=10 set foldnestmax=10 " Deepest fold is 10 levels set foldmethod=marker " Fold based on indent + set fillchars=vert:\│ set modelines=2 set modeline set scrolloff=7 " Keep this many lines padding when scrolling @@ -137,7 +137,7 @@ set statusline= set statusline+=%#SpecialKey# - set statusline+=%{StatuslineGit()} + set statusline+=\ %{StatuslineGit()} set statusline+=%#CursorLineNr# set statusline+=\ %F set statusline+=\ %y @@ -149,6 +149,7 @@ set statusline+=\ %l:%c\ (%p%%) set statusline+=%#Keyword# set statusline+=\ %{winnr()} + set statusline+=\ " }}} " Read-Only files {{{ @@ -263,6 +264,8 @@ " }}} " Goyo {{{ + let g:goyo_height = "90%" + function! s:goyo_enter() set showmode let b:quitting = 0 @@ -287,10 +290,6 @@ autocmd! User GoyoLeave call goyo_leave() "}}} -" VimWiki {{{ - let g:vimwiki_list = [{'path': '~/Documents/wiki/', 'path_html': '~/Documents/wiki/html/'}] -" }}} - " NerdTree {{{ autocmd StdinReadPre * let s:std_in=1 let NERDTreeIgnore=['\~$', '.o$', 'bower_components', 'node_modules', '__pycache__'] @@ -318,6 +317,7 @@ " }}} " LaTeX {{{ + let g:tex_flavor = "latex" let g:livepreview_previewer = 'mupdf' let g:vimtex_view_method = 'zathura' " }}} @@ -483,8 +483,9 @@ au BufRead,BufNewFile *.md set filetype=markdown au BufRead,BufNewFile *.conf set filetype=dosini au BufRead,BufNewFile *.bash* set filetype=sh - au BufRead,BufNewFile todo* set filetype=todo + au BufRead,BufNewFile todo* set filetype=todo au BufNewFile,BufRead sxhkdrc,*.sxhkdrc set ft=sxhkdrc + au BufRead,BufNewFile *.gd set filetype=gdscript aug END " Settings for these file types diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index 37ff76e..4fdda51 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -47,10 +47,10 @@ set vcs_backend_hg disabled set vcs_backend_bzr disabled # Use one of the supported image preview protocols -set preview_images false +set preview_images true # Set the preview image method -set preview_images_method culo +#set preview_images_method w3m # Use a unicode "..." character to mark cut-off filenames? set unicode_ellipsis false @@ -122,7 +122,7 @@ set flushinput true # Padding on the right when there's no preview? # This allows you to click into the space to run the file. -set padding_right false +set padding_right true # Save bookmarks (used with mX and `X) instantly? # This helps to synchronize bookmarks between multiple ranger @@ -247,7 +247,7 @@ map @ console -p6 shell %%s map # console shell -p%space #map s console shell%space map r chain draw_possible_programs; console open_with%%space -map f console find%space +#map f console find%space map cd console cd%space # Change the line mode @@ -289,7 +289,7 @@ map move to=-1 map move down=1 pages=True map move up=1 pages=True map move right=1 -#map console delete +map console delete map console touch%space # VIM-like @@ -350,7 +350,7 @@ map a rename_append map A eval fm.open_console('rename ' + fm.thisfile.relative_path.replace("%", "%%")) map I eval fm.open_console('rename ' + fm.thisfile.relative_path.replace("%", "%%"), position=7) -# These are provided by the pmount plugin +# These are provided by the pmount plugin. added for reference # Mount = Alt m # Unmount = Alt M # List mounted = Alt N @@ -396,6 +396,7 @@ map yj eval fm.copy(dirarg=dict(down=1), narg=quantifier) map yk eval fm.copy(dirarg=dict(up=1), narg=quantifier) # Searching +map f console scout -ftsea%space map / console search%space map n search_next map N search_next forward=False @@ -603,7 +604,6 @@ map xc shell chmod -x %s map mkd console mkdir%space map sc console shell ln -sT%space map bg shell hsetroot -fill %f -map bgs shell hsetroot -fill %f && echo hsetroot -fill %f > ~/bin/walset map rec shell ~/bin/video.sh map Ma shell mpc add "%s" map Ms shell mpc play diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf index 5fb8c70..8ed4e87 100644 --- a/.config/ranger/rifle.conf +++ b/.config/ranger/rifle.conf @@ -175,9 +175,9 @@ ext mobi, has ebook-viewer, X, flag f = ebook-viewer -- "$@" mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@" mime ^image/svg, has display, X, flag f = display -- "$@" -mime ^image, has imv, X, flag f = imv -sd -e kakwafont:10 -- "$@" -r +mime ^image, has imv, X, flag f = imv -sd -e ibmplexmono:10 -- "$@" -r mime ^image, has pqiv, X, flag f = pqiv -- "$@" -mime ^image, has sxiv, X, flag f = sxiv -- "$@" +mime ^image, has sxiv, X, flag f = sxiv-rifle -- "$@" mime ^image, has feh, X, flag f = feh -- "$@" mime ^image, has mirage, X, flag f = mirage -- "$@" mime ^image, has ristretto, X, flag f = ristretto "$@" @@ -186,6 +186,9 @@ mime ^image, has eom, X, flag f = eom -- "$@" mime ^image, has nomacs, X, flag f = nomacs -- "$@" mime ^image, has gimp, X, flag f = gimp -- "$@" ext xcf, X, flag f = gimp -- "$@" +ext gif, has sxiv, X, flag f = sxiv -a -- "$@" +ext gif, has mpv, X, flag f = mpv --loop=0 -- "$@" +ext blend, has blender, X, flag f = blender -- "$@" #------------------------------------------- # Archives diff --git a/.config/ranger/scope.sh b/.config/ranger/scope.sh index 3502112..8cb7f8a 100755 --- a/.config/ranger/scope.sh +++ b/.config/ranger/scope.sh @@ -143,7 +143,7 @@ handle_mime() { fi highlight --replace-tabs="${HIGHLIGHT_TABWIDTH}" --out-format="${highlight_format}" \ --style="${HIGHLIGHT_STYLE}" --force -- "${FILE_PATH}" && exit 5 - # pygmentize -f "${pygmentize_format}" -O "style=${PYGMENTIZE_STYLE}" -- "${FILE_PATH}" && exit 5 + pygmentize -f "${pygmentize_format}" -O "style=${PYGMENTIZE_STYLE}" -- "${FILE_PATH}" && exit 5 exit 2;; # Image diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index 898f61f..ee9309b 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -1,22 +1,16 @@ configuration { - modi: "run,drun"; - width: 100; - lines: 1; - columns: 1; - font: "ibm plex sans 12"; + modi: "run,drun,window"; + combi-modi: "run,drun,window"; bw: 0; - location: 2; - padding: 5; yoffset: 0; xoffset: 0; - fixed-num-lines: true; - show-icons: false; + show-icons: true; terminal: "termite"; ssh-client: "ssh"; - ssh-command: "{terminal} -e {ssh-client} {host}"; + ssh-command: "termite -t 'Connecting to {host}' -e '{ssh-client} {host}'"; run-command: "{cmd}"; run-list-command: ""; - run-shell-command: "{terminal} --hold -e {cmd}"; + run-shell-command: "termite --hold -e {cmd}"; window-command: "xkill -id {window}"; drun-icon-theme: "papirus"; disable-history: true; @@ -24,113 +18,30 @@ configuration { levenshtein-sort: false; case-sensitive: false; cycle: true; - sidebar-mode: false; + sidebar-mode: true; eh: 1; auto-select: true; parse-hosts: false; parse-known-hosts: true; - /*combi-modi: "window,run";*/ matching: "fuzzy"; tokenize: true; m: "-5"; line-margin: 2; line-padding: 1; - /*filter: ;*/ separator-style: "none"; hide-scrollbar: true; fullscreen: false; fake-transparency: false; dpi: -1; threads: 0; - scrollbar-width: 8; scroll-method: 1; - /*fake-background: "screenshot";*/ window-format: "{w} {i}{c} {t}"; click-to-exit: true; - show-match: true; - theme: "dmenu2.rasi"; - /*color-normal: ;*/ - /*color-urgent: ;*/ - /*color-active: ;*/ - /*color-window: ;*/ - plugin-path: "/usr/lib/rofi"; + show-match: false; + drun-match-fields: "name,exec"; + combi-hide-mode-prefix: true; pid: "/run/user/1000/rofi.pid"; - /*display-window: ;*/ - /*display-windowcd: ;*/ - display-run: ""; - /*display-ssh: ;*/ - display-drun: ""; - /*display-combi: ;*/ - /*display-keys: ;*/ - kb-primary-paste: "Control+V,Shift+Insert"; - kb-secondary-paste: "Control+v,Insert"; - kb-clear-line: "Control+w"; - kb-move-front: "Control+a"; - kb-move-end: "Control+e"; - kb-move-word-back: "Alt+b"; - kb-move-word-forward: "Alt+f"; - kb-move-char-back: "Left,Control+b"; - kb-move-char-forward: "Right,Control+f"; - kb-remove-word-back: "Control+Alt+h,Control+BackSpace"; - kb-remove-word-forward: "Control+Alt+d"; - kb-remove-char-forward: "Delete,Control+d"; - kb-remove-char-back: "BackSpace,Control+h"; - kb-remove-to-eol: "Control+k"; - kb-remove-to-sol: "Control+u"; - kb-accept-entry: "Control+j,Control+m,Return,KP_Enter"; - kb-accept-custom: "Control+Return"; - kb-accept-alt: "Shift+Return"; - kb-delete-entry: "Shift+Delete"; - kb-mode-next: "Shift+Right,Control+Tab"; - kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab"; - kb-row-left: "Control+Page_Up"; - kb-row-right: "Control+Page_Down"; - kb-row-up: "Up,Control+p,ISO_Left_Tab"; - kb-row-down: "Down,Control+n"; - kb-row-tab: "Tab"; - kb-page-prev: "Page_Up"; - kb-page-next: "Page_Down"; - kb-row-first: "Home,KP_Home"; - kb-row-last: "End,KP_End"; - kb-row-select: "Control+space"; - kb-screenshot: "Alt+S"; - kb-toggle-case-sensitivity: "grave,dead_grave"; - kb-toggle-sort: "Alt+grave"; - kb-cancel: "Escape,Control+g,Control+bracketleft"; - kb-custom-1: "Alt+1"; - kb-custom-2: "Alt+2"; - kb-custom-3: "Alt+3"; - kb-custom-4: "Alt+4"; - kb-custom-5: "Alt+5"; - kb-custom-6: "Alt+6"; - kb-custom-7: "Alt+7"; - kb-custom-8: "Alt+8"; - kb-custom-9: "Alt+9"; - kb-custom-10: "Alt+0"; - kb-custom-11: "Alt+exclam"; - kb-custom-12: "Alt+at"; - kb-custom-13: "Alt+numbersign"; - kb-custom-14: "Alt+dollar"; - kb-custom-15: "Alt+percent"; - kb-custom-16: "Alt+dead_circumflex"; - kb-custom-17: "Alt+ampersand"; - kb-custom-18: "Alt+asterisk"; - kb-custom-19: "Alt+parenleft"; - kb-select-1: "Super+1"; - kb-select-2: "Super+2"; - kb-select-3: "Super+3"; - kb-select-4: "Super+4"; - kb-select-5: "Super+5"; - kb-select-6: "Super+6"; - kb-select-7: "Super+7"; - kb-select-8: "Super+8"; - kb-select-9: "Super+9"; - kb-select-10: "Super+0"; - ml-row-left: "Mouse6"; - ml-row-right: "Mouse7"; - ml-row-up: "Mouse4"; - ml-row-down: "Mouse5"; - me-select-entry: "Mouse1"; - me-accept-entry: "MouseD1"; - me-accept-custom: "Control+MouseD1"; + display-window: "Window"; + display-run: "Execute"; + display-drun: "Activate"; } diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 1ba6fb8..50da6fe 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -37,7 +37,7 @@ super + {m,b,v,q,s,z,e,x} {mousepad,firefox,pavucontrol,oblogout,xwinmosaic,termite,thunar,skyterm} super + {space,r} - rofi -show {drun,run} + rofi -show {drun,run} -theme sbarr ctrl + alt + x xkill diff --git a/.irssi/bronze.theme b/.irssi/bronze.theme index 2cfe932..bab36aa 100644 --- a/.irssi/bronze.theme +++ b/.irssi/bronze.theme @@ -46,10 +46,10 @@ abstracts = { menick = "%y$*%y"; # generic one that's used by most actions - action = "%I%P$* %y│%P"; + action = "%I%P$* %P"; # own action, both private/public - ownaction = "%I%P$* %y│%P"; + ownaction = "%I%P$* %P"; # own action with target, both private/public ownaction_target = "{action $*}"; @@ -100,6 +100,9 @@ abstracts = { sbaway = "%b(%Naway%b)%N"; sbservertag = "%b:%N$0%b(%N^X%b)"; sbnickmode = "%w$0%N$1"; + + sb_act_msg = "%Y$*"; + sb_act_hilight = "%M$*"; }; @@ -108,10 +111,10 @@ formats = { line_start_irssi = "{line_start}"; join = "%n %y ├─┄┄ %gjoin: %C{channick $0} %c(%c{nickhost %c$1}%c)"; part = "%n %y ┄┄─┤ %gpart: %C{channick $0} %c(%c{nickhost %c$1}%c)"; - quit = "%n %y ━┥ %rquit: %C{channick $0} {reason %Y$2}"; + quit = "%n %y ┈┈┼ %rquit: %C{channick $0} {reason %Y$2}"; kick = "%n %y ╾┄┄┼ %b{channick $0} %nwas kicked by $2 %w{reason %R$3}"; - nick_changed = " %y┄┼┄ %w{channick $0}%y is now %W{channick $1}"; - your_nick_changed = " %y┄┼┄ %w{channick $0}%y >> %W{channick $1}"; + nick_changed = " %y┄┼┄┄ %w{channick $0}%y is now %W{channick $1}"; + your_nick_changed = " %y┄┼┄┄ %w{channick $0}%y >> %W{channick $1}"; new_topic = "%y ┌─┄┄─────┘%n\012%y │ %wtopic %W'$2' %wset by $0\012%y └─┄┄─┄┄──┐ "; endofnames = "%y └─┄┄─┄┄──┐ %btotal: {hilight $2} ops, {hilight $3} halfops, {hilight $4} voices, {hilight $5} normies%n"; #nick padding diff --git a/.local/share/applications/abiword.desktop b/.local/share/applications/abiword.desktop index 0b74ed8..5a41313 100755 --- a/.local/share/applications/abiword.desktop +++ b/.local/share/applications/abiword.desktop @@ -8,7 +8,6 @@ StartupNotify=true X-Desktop-File-Install-Version=0.9 MimeType=application/x-abiword;text/x-abiword;text/x-xml-abiword;text/plain;application/msword;application/rtf;application/vnd.plain;application/xhtml+xml;text/html;application/x-crossmark;application/docbook+xml;application/x-t602;application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.sun.xml.writer;application/vnd.stardivision.writer;text/vnd.wap.wml;application/wordperfect6;application/wordperfect5.1;application/vnd.wordperfect;application/x-abicollab; Name=AbiWord -GenericName=Word Processor Comment=Compose, edit, and view documents Comment[de]=AbiWord Textverarbeitung GenericName[es]=Procesador de textos diff --git a/.local/share/applications/atom.desktop b/.local/share/applications/atom.desktop deleted file mode 100755 index 4473033..0000000 --- a/.local/share/applications/atom.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Name=Atom -Comment=A hackable text editor for the 21st Century -GenericName=Text Editor -Exec=electron --app=/usr/lib/atom --disable-gpu %F -Icon=atom -Type=Application -StartupNotify=true -Categories=GNOME;GTK;Utility;TextEditor;Development; -MimeType=text/plain; diff --git a/.local/share/applications/qutebrowser.desktop b/.local/share/applications/qutebrowser.desktop index 097dba9..d1a50ac 100755 --- a/.local/share/applications/qutebrowser.desktop +++ b/.local/share/applications/qutebrowser.desktop @@ -1,9 +1,7 @@ [Desktop Entry] Name=qutebrowser -GenericName=Web Browser Icon=qutebrowser Type=Application -Categories=Network;WebBrowser; Exec=qutebrowser --backend webengine %u Terminal=false StartupNotify=false diff --git a/.local/share/rofi/themes/sbarr.rasi b/.local/share/rofi/themes/sbarr.rasi new file mode 100644 index 0000000..ca21ff4 --- /dev/null +++ b/.local/share/rofi/themes/sbarr.rasi @@ -0,0 +1,124 @@ +* { + background-color: #080808; + text-color: #d3d7cf; + selbg: #215d9c; + actbg: #262626; + urgbg: #e53935; + winbg: #26c6da; + + selected-normal-foreground: @winbg; + normal-foreground: @text-color; + selected-normal-background: @actbg; + normal-background: @background-color; + + selected-urgent-foreground: @background-color; + urgent-foreground: @text-color; + selected-urgent-background: @urgbg; + urgent-background: @background-color; + + selected-active-foreground: @winbg; + active-foreground: @text-color; + selected-active-background: @actbg; + active-background: @selbg; + + font: "IBM Plex Sans 10"; + margin: 0; + padding: 0; +} + +#window { + location: west; + anchor: west; + height: 100%; + width: 22%; + orientation: horizontal; + children: [mainbox]; +} + +#mainbox { + spacing: 0.8em; + children: [ entry,listview,sidebar ]; +} + +#button { padding: 5px 2px; } + +#button selected { + background-color: @active-background; + text-color: @background-color; +} + +#inputbar { + padding: 5px; + spacing: 5px; +} + +#listview { + spacing: 0.5em; + dynamic: false; + cycle: true; +} + +#element { padding: 10px; } + +#entry { + expand: false; + text-color: @normal-foreground; + vertical-align: 1; + padding: 5px; +} + +#element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} + +#element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} + +#element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} + +#element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; + border: 0 5px solid 0 0; + border-color: @active-background; +} + +#element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} + +#element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} + +#element.alternate.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} + +#element.alternate.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} + +#element.alternate.active { + background-color: @active-background; + text-color: @active-foreground; +} + +#prompt { + padding: 5px 7px; + text-align: center; + text-color: @background-color; + background-color: @selected-normal-background; +} + +/* vim:ft=css */ diff --git a/.xinitrc b/.xinitrc index 8aa7d29..5abbb99 100755 --- a/.xinitrc +++ b/.xinitrc @@ -19,7 +19,7 @@ setxkbmap -option caps:escape wmname LG3D & /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & xsetroot -cursor_name left_ptr & -hsetroot -fill /home/deadguy/Pictures/wallpaper/nuvb6.png & +hsetroot -fill /home/deadguy/Pictures/wallpaper/algorave-wp-1366-2.png & unclutter & sxhkd & exec bspwm diff --git a/.zshrc b/.zshrc index df1097c..f71bb41 100644 --- a/.zshrc +++ b/.zshrc @@ -509,6 +509,7 @@ export PATH="/usr/lib/ccache/bin/:$PATH" alias sr='sr -browser=lynx' # open in cli browser alias surfraw='surfraw -browser=$BROWSER' # open in gui browser alias pacman-mirrors='sudo pacman-mirrors' + alias foxdot='python -m FoxDot' # MAXIMUM VERBOSITY YIELDS MAXIMUM RESULTS alias chmod='chmod -v' diff --git a/bin/crear b/bin/crear new file mode 100755 index 0000000..8bb35dd --- /dev/null +++ b/bin/crear @@ -0,0 +1,12 @@ +#!/bin/bash + +FOLDER="$HOME/bin" +FILE="$FOLDER/$1" + +if [[ -f $FILE ]]; then + echo -e "There's a file called that already..." +else + echo -e "#!/bin/bash\n\n" > $FILE + chmod +x $FILE + $EDITOR $FILE +fi