Browse Source

updates

master
nxll 4 years ago
parent
commit
6ffa018ef0
4 changed files with 60 additions and 70 deletions
  1. 33
    36
      .config/zenbu/templates/.themes/zenbu/gtk-3.0/widgets.css
  2. 2
    2
      .tmux.conf
  3. 3
    10
      .weechat/weechat.conf
  4. 22
    22
      .zshrc

+ 33
- 36
.config/zenbu/templates/.themes/zenbu/gtk-3.0/widgets.css View File

@@ -12,8 +12,6 @@
-GtkExpander-expander-size: 5;
-GtkTreeView-expander-size: 5;

-GtkMenuItem-arrow-scaling: 0.5;

/*-GtkButton-child-displacement-x: 0; default*/
/*-GtkButton-child-displacement-y: 0; default*/
/*-GtkButton-default-border: 0; use CSS margins and padding*/
@@ -24,7 +22,6 @@
/*-GtkRange-stepper-spacing: -1; should be >=0*/

/*-GtkNotebook-initial-gap: 0; default*/
-GtkNotebook-tab-curvature: 0;
/*-GtkNotebook-tab-overlap: 2; default*/

/*-GtkPaned-handle-size: 5; default*/
@@ -44,37 +41,37 @@
color: @fg_color;
}

*:selected:focused,
.view:selected:focused,
.entry:selected:focused
*:selected:focus,
.view:selected:focus,
.entry:selected:focus
{
background-color: @selected_bg_color;
color: @selected_fg_color;
}

*:focused
*:focus
{
color: @border_color;
}

.view:focused,
.entry:focused,
label:focused
.view:focus,
.entry:focus,
label:focus
{
color: @fg_color;
}

treeview.view:focused
treeview.view:focus
{
color: @border_color;
}

treeview.view:focused *
treeview.view:focus *
{
color: @fg_color;
}

*:insensitive
*:disabled
{
background-color: shade(@bg_color, 0.95);
border-color: @insensitive_border_color;
@@ -92,10 +89,10 @@ treeview.view:focused *
/**********************************************/
label,
label:active,
label:insensitive,
label:disabled,
image,
image:active,
image:insensitive
image:disabled
{
background-color: transparent;
border-width: 0;
@@ -156,7 +153,7 @@ trough,
trough > row,
trough > row:hover,
trough > row:selected,
trough > row:selected:focused
trough > row:selected:focus
{
background-color: mix(@fg_color, @bg_color, 0.9);
border-width: 0px;
@@ -167,7 +164,7 @@ trough > row:selected
border-color: @fg_color;
}

trough > row:selected:focused
trough > row:selected:focus
{
border-color: @selected_fg_color;
}
@@ -238,7 +235,7 @@ switch trough:active
color: @selected_fg_color;
}

switch trough:insensitive
switch trough:disabled
{
background-color: shade(@bg_color, 0.95);
}
@@ -252,7 +249,7 @@ slider
background-color: @bg_color;
}

slider:insensitive
slider:disabled
{
}
/**********************************************/
@@ -321,7 +318,7 @@ button:active:hover
background-color: shade(@bg_color, 1.03);
}

button:insensitive
button:disabled
{
background-color: shade(@bg_color, 0.95);
border-color: @insensitive_border_color;
@@ -333,7 +330,7 @@ spinbutton button
border: none;
}

spinbutton button:focused
spinbutton button:focus
{
color: @fg_color;
}
@@ -348,7 +345,7 @@ entry
border-width: 0px;
}

entry:insensitive
entry:disabled
{
background-color: shade(@base_color, 0.95);
}
@@ -358,8 +355,8 @@ entry:insensitive
/**********************************************/
checkbutton,
checkbutton:selected,
checkbutton:selected:focused,
checkbutton:insensitive
checkbutton:selected:focus,
checkbutton:disabled
{
background-color: @base_color;
color: @selected-fg-color;
@@ -367,7 +364,7 @@ checkbutton:insensitive

radio,
radio:selected,
radio:selected:focused
radio:selected:focus
{
background-color: @base_color;
color: @selected_fg_color;
@@ -375,7 +372,7 @@ radio:selected:focused

check,
check:selected,
check:selected:focused
check:selected:focus
{
background-color: @base_color;
color: @selected_fg_color;
@@ -383,17 +380,17 @@ check:selected:focused

radio:hover,
check:hover,
radio:hover:focused,
.check:hover:focused
radio:hover:focus,
.check:hover:focus
{
background-color: @base_color;
border-color: @selected_fg_color;
}

radio:insensitive,
radio:insensitive:selected,
check:insensitive,
check:insensitive:selected
radio:disabled,
radio:disabled:selected,
check:disabled,
check:disabled:selected
{
background-color: shade(@base_color, 0.95);
color: mix(@fg_color, @base_color, 0.5);
@@ -415,7 +412,7 @@ combobox
border-width: 0;
}

combobox:insensitive
combobox:disabled
{
background-color: shade(@bg_color, 0.95);
}
@@ -451,7 +448,7 @@ progressbar progress .row:selected
border-color: @fg_color;
}

progressbar progress .row:selected:focused
progressbar progress .row:selected:focus
{
border-color: @selected_fg_color;
}
@@ -502,8 +499,8 @@ menuitem.check
color: shade(@selected_bg_color, 0.9);
}

menuitem.check:insensitive,
menuitem.radio:insensitive
menuitem.check:disabled,
menuitem.radio:disabled
{
background-color: shade(@base_color, 0.95);
color: mix(@fg_color, @base_color, 0.5);

+ 2
- 2
.tmux.conf View File

@@ -14,8 +14,8 @@ set -g default-shell /usr/bin/zsh
#OPTIONS
set -g prefix ^b
set -g status on
set -g pane-base-index 1
set -g base-index 1
set -g pane-base-index 0
set -g base-index 0
set -g set-titles on
set -g default-terminal "screen-256color"
set-option -g set-titles-string '#{pane_current_command}'

+ 3
- 10
.weechat/weechat.conf View File

@@ -244,11 +244,11 @@ buffers.color_bg = default
buffers.color_delim = default
buffers.color_fg = default
buffers.conditions = ""
buffers.filling_left_right = horizontal
buffers.filling_top_bottom = horizontal
buffers.filling_left_right = vertical
buffers.filling_top_bottom = vertical
buffers.hidden = on
buffers.items = "buffers"
buffers.position = top
buffers.position = left
buffers.priority = 0
buffers.separator = on
buffers.size = 1
@@ -327,13 +327,6 @@ title.type = window

[layout]
default.buffer = "core;weechat;1"
default.buffer = "irc;server.unix;1"
default.buffer = "irc;server.rizon;1"
default.buffer = "irc;unix.#unix;2"
default.buffer = "irc;rizon.#/g/technology;3"
default.buffer = "irc;rizon.#rice;4"
default.buffer = "irc;unix.#gentlemanloser;5"
default.buffer = "irc;unix.dcat;6"
default.window = "1;0;0;0;core;weechat"
default.current = on


+ 22
- 22
.zshrc View File

@@ -32,26 +32,29 @@ setopt HIST_IGNORE_DUPS
PROMPT="%K{8}%F{11} » %K{0}%F{6} [%F{7}%1~%F{6}]%F{2};;%f%k "

#ZSH SYNTAX HIGHTLIGHTING
ZSH_HIGHLIGHT_STYLES[unknown-token]=fg=red.bold
ZSH_HIGHLIGHT_STYLES[reserved-word]=fg=white,standout
ZSH_HIGHLIGHT_STYLES[unknown-token]=fg=red.bold,standout
ZSH_HIGHLIGHT_STYLES[reserved-word]=fg=cyan,bold
ZSH_HIGHLIGHT_STYLES[alias]=fg=none
ZSH_HIGHLIGHT_STYLES[builtin]=fg=none
ZSH_HIGHLIGHT_STYLES[function]=fg=white
ZSH_HIGHLIGHT_STYLES[command]=fg=none
ZSH_HIGHLIGHT_STYLES[precommand]=fg=white
ZSH_HIGHLIGHT_STYLES[commandseparator]=none
ZSH_HIGHLIGHT_STYLES[precommand]=fg=white,bold
ZSH_HIGHLIGHT_STYLES[commandseparator]=fg=green,bold
ZSH_HIGHLIGHT_STYLES[hashed-command]=fg=blue
ZSH_HIGHLIGHT_STYLES[path]=fg=white,bold
ZSH_HIGHLIGHT_STYLES[globbing]=fg=white
ZSH_HIGHLIGHT_STYLES[history-expansion]=fg=white
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]=white
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]=white
ZSH_HIGHLIGHT_STYLES[back-quoted-argument]=white
ZSH_HIGHLIGHT_STYLES[path_pathseparator]=fg=red,bold
ZSH_HIGHLIGHT_STYLES[path_prefix]=fg=yellow
ZSH_HIGHLIGHT_STYLES[path_approx]=fg=yellow,bold
ZSH_HIGHLIGHT_STYLES[globbing]=fg=blue,bold
ZSH_HIGHLIGHT_STYLES[history-expansion]=fg=red,standout
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]=fg=red
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]=fg=red
ZSH_HIGHLIGHT_STYLES[back-quoted-argument]=fg=white
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]=fg=green
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]=fg=green
ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]=fg=magenta
ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]=fg=green
ZSH_HIGHLIGHT_STYLES[assign]=none
ZSH_HIGHLIGHT_STYLES[assign]=fg=white,bold

#ALIAS
alias ..='cd ..'
@@ -62,12 +65,6 @@ alias mv='mv -v'
alias cp='cp -v'
alias df='df -h'
alias ps='ps -ef'
alias bin='cd $HOME/bin'
alias documents='cd $HOME/documents'
alias downloads='cd $HOME/downloads'
alias images='cd $HOME/images'
alias music='cd $HOME/music'
alias videos='cd $HOME/videos'

#PACMAN
alias install='sudo pacman -S'
@@ -77,22 +74,25 @@ alias search='sudo pacman -Ss'
alias cleanup='sudo pacman -Rns $(pacman -Qtdq)'
alias pkgcnt='pacman -Q | wc -l'

#PATHS
alias bin='cd $HOME/bin'
alias documents='cd $HOME/documents'
alias downloads='cd $HOME/downloads'
alias images='cd $HOME/images'
alias music='cd $HOME/music'
alias videos='cd $HOME/videos'

#OTHER
alias v='vim'
alias mktar='tar -cvzf'
alias scr='screenshot'
alias vol='pulsemixer'
alias tcli='transmission-cli'
alias rsync='rsync -rtv'
alias rec='yaxg -w -D 2 -f $HOME/videos/screencasts/%d%b2k%y-%H%M%S'
alias highlight='highlight --out-format=ansi'
alias qr='qrencode -t UTF8'

#TODO
alias todo='echo;echo "$(print " ")$(tput setaf 8)≠ $(tput setaf 2)TODO$(tput sgr0)";cat $HOME/.todo;echo'
alias atodo='echo "$(print " ")$(tput setaf 8)≠ $(tput setaf 4)$(date "+%d/%m")$(tput sgr0)$1" >> $HOME/.todo'
alias rtodo='sed -i '$d' $HOME/.todo'
alias ctodo='rm $HOME/.todo; touch $HOME/.todo'

#FUNCTIONS
ioup_clear()
{

Loading…
Cancel
Save