commit efefe6e516389558a92fb83b142e7726003f29f8 Author: Pablo Cárdenas <pablo-cardenas@outlook.com> Date: Wed, 10 Jan 2018 05:55:02 -0500 Initial Commit Diffstat:
| A | X11/.Xresources | | | 3 | +++ |
| A | X11/.Xresources.d/fonts | | | 6 | ++++++ |
| A | X11/.Xresources.d/rxvt-unicode | | | 40 | ++++++++++++++++++++++++++++++++++++++++ |
| A | X11/.Xresources.d/themes/gruvbox-dark.xresources | | | 37 | +++++++++++++++++++++++++++++++++++++ |
| A | X11/.Xresources.d/themes/gruvbox-light.xresources | | | 36 | ++++++++++++++++++++++++++++++++++++ |
| A | X11/.xinitrc | | | 32 | ++++++++++++++++++++++++++++++++ |
| A | bash/.bash_logout | | | 2 | ++ |
| A | bash/.bash_profile | | | 5 | +++++ |
| A | bash/.bashrc | | | 26 | ++++++++++++++++++++++++++ |
| A | compton/.compton.conf | | | 49 | +++++++++++++++++++++++++++++++++++++++++++++++++ |
| A | conky/.conkyrc | | | 74 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| A | git/.gitconfig | | | 3 | +++ |
| A | i3/.config/i3/config | | | 148 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| A | octave/.octaverc | | | 6 | ++++++ |
| A | openbox/.config/openbox/autostart | | | 2 | ++ |
| A | openbox/.config/openbox/environment | | | 10 | ++++++++++ |
| A | openbox/.config/openbox/menu.xml | | | 74 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| A | openbox/.config/openbox/rc.xml | | | 784 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| A | tint2/.config/tint2/tint2rc | | | 194 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| A | tint2/.config/tint2/vertical-neutral-icons.tint2rc | | | 212 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| A | tmux/.tmux.conf | | | 2 | ++ |
| A | vim/.vim/gvimrc | | | 27 | +++++++++++++++++++++++++++ |
| A | vim/.vim/vimrc | | | 120 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
23 files changed, 1892 insertions(+), 0 deletions(-)
diff --git a/X11/.Xresources b/X11/.Xresources @@ -0,0 +1,3 @@ +#include ".Xresources.d/themes/gruvbox-light.xresources" +#include ".Xresources.d/rxvt-unicode" +#include ".Xresources.d/fonts" diff --git a/X11/.Xresources.d/fonts b/X11/.Xresources.d/fonts @@ -0,0 +1,6 @@ +Xft.autohint: 1 +Xft.lcdfilter: lcddefault +Xft.hintstyle: hintfull +Xft.hinting: 1 +Xft.antialias: 1 +Xft.rgba: rgb diff --git a/X11/.Xresources.d/rxvt-unicode b/X11/.Xresources.d/rxvt-unicode @@ -0,0 +1,40 @@ +URxvt*geometry: 80x30 +URxvt*font: xft:xos4 Terminus:pixelsize=12 +URxvt*boldFont: xft:xos4 Terminus:pixelsize=12 +URxvt.intensityStyles: false +URxvt.scrollBar: false +URxvt.internalBorder: 0 +URxvt.saveLines: 20000 + +!Total Transparency +!urxvt.background: black +!urxvt.foreground: white +!urxvt.tintColor: white +!urxvt.fading: 15 +!urxvt.fadeColor: black +!urxvt.shading: 75 +!urxvt.inheritPixmap: true +!urxvt.pointerColor: black +!urxvt.pointerColor2: white + +!Fake Transparency +!urxvt*transparent: true +!urxvt*shading: 30 + +!True Transparency +!URxvt*depth: 32 +!URxvt*background: rgba:2828/2828/2828/C000 +!URxvt*background: rgba:0000/0000/0000/C000 + + +! Para clases 480p +!URxvt*font: xft:xos4 Terminus:pixelsize=16:bold +!URxvt*boldFont: xft:xos4 Terminus:pixelsize=16:bold +!URxvt.cursorBlink: true + +! Para clases 720p +!URxvt*font: xft:Dejavu Sans Mono:size=13:style=Regular +!URxvt*boldFont: xft:Dejavu Sans Mono:size=13:style=Bold +!URxvt*italicFont: xft:Dejavu Sans Mono:size=13:style=Italic +!URxvt*boldItalicFont: xft:Dejavu Sans Mono:size=13:style=Bold Italic +!URxvt.cursorBlink: true diff --git a/X11/.Xresources.d/themes/gruvbox-dark.xresources b/X11/.Xresources.d/themes/gruvbox-dark.xresources @@ -0,0 +1,37 @@ +! ----------------------------------------------------------------------------- +! File: gruvbox-dark.xresources +! Description: Retro groove colorscheme generalized +! Author: morhetz <morhetz@gmail.com> +! Source: https://github.com/morhetz/gruvbox-generalized +! Last Modified: 6 Sep 2014 +! ----------------------------------------------------------------------------- + +! hard contrast: *background: #1d2021 +*background: #282828 +! soft contrast: *background: #32302f +*foreground: #ebdbb2 +! Black + DarkGrey +!*color0: #282828 +*color0: #000000 +*color8: #928374 +! DarkRed + Red +*color1: #cc241d +*color9: #fb4934 +! DarkGreen + Green +*color2: #98971a +*color10: #b8bb26 +! DarkYellow + Yellow +*color3: #d79921 +*color11: #fabd2f +! DarkBlue + Blue +*color4: #458588 +*color12: #83a598 +! DarkMagenta + Magenta +*color5: #b16286 +*color13: #d3869b +! DarkCyan + Cyan +*color6: #689d6a +*color14: #8ec07c +! LightGrey + White +*color7: #a89984 +*color15: #ebdbb2 diff --git a/X11/.Xresources.d/themes/gruvbox-light.xresources b/X11/.Xresources.d/themes/gruvbox-light.xresources @@ -0,0 +1,36 @@ +! ----------------------------------------------------------------------------- +! File: gruvbox-light.xresources +! Description: Retro groove colorscheme generalized +! Author: morhetz <morhetz@gmail.com> +! Source: https://github.com/morhetz/gruvbox-generalized +! Last Modified: 6 Sep 2014 +! ----------------------------------------------------------------------------- + +! hard contrast: *background: #f9f5d7 +*background: #fbf1c7 +! soft contrast: *background: #f2e5bc +*foreground: #3c3836 +! Black + DarkGrey +*color0: #fdf4c1 +*color8: #928374 +! DarkRed + Red +*color1: #cc241d +*color9: #9d0006 +! DarkGreen + Green +*color2: #98971a +*color10: #79740e +! DarkYellow + Yellow +*color3: #d79921 +*color11: #b57614 +! DarkBlue + Blue +*color4: #458588 +*color12: #076678 +! DarkMagenta + Magenta +*color5: #b16286 +*color13: #8f3f71 +! DarkCyan + Cyan +*color6: #689d6a +*color14: #427b58 +! LightGrey + White +*color7: #7c6f64 +*color15: #3c3836 diff --git a/X11/.xinitrc b/X11/.xinitrc @@ -0,0 +1,32 @@ +#!/bin/sh + +# merge in defaults and keymaps +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/Xresources +sysmodmap=/etc/X11/xinit/Xmodmap +[[ -f $sysresources ]] && xrdb -merge $sysresources +[[ -f $sysmodmap ]] && xmodmap $sysmodmap +[[ -f $userresources ]] && xrdb -merge "$userresources" +[[ -f $usermodmap ]] && xmodmap "$usermodmap" + +# start some nice programs +if [ -d /etc/X11/xinit/xinitrc.d ] ; then + for f in /etc/X11/xinit/xinitrc.d/?* ; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +setxkbmap es +[[ -d /usr/share/fonts/terminus ]] && xset +fp /usr/share/fonts/terminus + +#command -v compton >/dev/null 2>&1 && compton -b & + +session=${1:-i3} +case $session in + i3|i3wm ) exec i3;; + openbox ) exec openbox-session;; + # No known session, try to run it as command + * ) exec $1;; +esac diff --git a/bash/.bash_logout b/bash/.bash_logout @@ -0,0 +1,2 @@ +# Clear the screen for security's sake. +clear diff --git a/bash/.bash_profile b/bash/.bash_profile @@ -0,0 +1,5 @@ +# This file is sourced by bash for login shells. The following line +# runs your .bashrc and is recommended by the bash info pages. +if [[ -f ~/.bashrc ]] ; then + . ~/.bashrc +fi diff --git a/bash/.bashrc b/bash/.bashrc @@ -0,0 +1,26 @@ +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +# History operations: modify the way command history is stored. +HISTCONTROL=ignoreboth # don't put duplicate lines on history +shopt -s histappend # append to history instead of overwriting +HISTSIZE=1000 # max number of commands to save in history +HISTFILESIZE=2000 # max number of lines in history file + +# Re-evaluate window size after each command. Useful on X terminals +shopt -s checkwinsize + +if [ -f /etc/bash_completion ] && ! shopt -oq posix; then + . /etc/bash_completion +fi + +# Enable colors if the program is available +if [ -x /usr/bin/dircolors ]; then + alias ls='ls --color=auto' + alias grep='grep --color=auto' + alias fgrep='fgrep --color=auto' + alias egrep='egrep --color=auto' +fi + +# Para clases +#export PS1='\[\033[01;31m\]$\[\033[00m\] ' diff --git a/compton/.compton.conf b/compton/.compton.conf @@ -0,0 +1,49 @@ +# Shadow +shadow = true; +no-dnd-shadow = true; +no-dock-shadow = true; +clear-shadow = true; +shadow-radius = 6; +shadow-offset-x = -8; +shadow-offset-y = -8; +shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'", "x = 0 && y = 0 && override_redirect = true"]; +shadow-ignore-shaped = false; + +# Opacity + +# Fading has been disabled. + +# Other +backend = "xrender" +mark-wmwin-focused = true; +mark-ovredir-focused = true; +# use-ewmh-active-win = true; +detect-rounded-corners = true; +detect-client-opacity = true; +refresh-rate = 0; +vsync = "none"; +dbe = false; +paint-on-overlay = true; +# sw-opti = true; +# unredir-if-possible = true; +# unredir-if-possible-delay = 5000; +# unredir-if-possible-exclude = [ ]; +focus-exclude = [ "class_g = 'Cairo-clock'", "x = 0 && y = 0 && override_redirect = true" ]; +detect-transient = true; +detect-client-leader = true; +invert-color-include = [ ]; +# resize-damage = 1; + +# GLX backend +# glx-no-stencil = true; +glx-copy-from-front = false; +# glx-use-copysubbuffermesa = true; +# glx-no-rebind-pixmap = true; +glx-swap-method = "undefined"; +# glx-use-gpushader4 = true; + +# Window type settings +wintypes: +{ + tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; }; +}; diff --git a/conky/.conkyrc b/conky/.conkyrc @@ -0,0 +1,74 @@ +-- vim: ts=4 sw=4 noet ai cindent syntax=lua + +conky.config = { + alignment = 'top_right', + background = false, + border_width = 1, + cpu_avg_samples = 2, + default_color = 'white', + default_outline_color = 'white', + default_shade_color = 'white', + draw_borders = false, + draw_graph_borders = true, + draw_outline = false, + draw_shades = false, + use_xft = true, + font = 'xos4 Terminus:pixelsize=12', + gap_x = 5, + gap_y = 20, + minimum_height = 5, + minimum_width = 5, + net_avg_samples = 2, + no_buffers = true, + out_to_console = false, + out_to_stderr = false, + extra_newline = false, + own_window = false, + own_window_class = 'Conky', + own_window_type = 'desktop', + stippled_borders = 0, + update_interval = 1.0, + uppercase = false, + use_spacer = 'none', + show_graph_scale = false, + show_graph_range = false +} + +conky.text = [[ +${font xos4 Terminus:pixelsize=14}SYSTEM $hr $font +${color grey}Host: $color${nodename} +${color grey}Uptime: $color$uptime +${color grey}Kernel: $color$kernel +${color grey}Processes: $color$processes \ +${color grey}Running: $color$running_processes + +${font xos4 Terminus:pixelsize=14}CPU $hr $font +${color grey}Frequency: $color$freq MHz +${color grey}CPU 0:$color ${cpu cpu0}% ${cpubar cpu0 4} +${color grey}CPU 1:$color ${cpu cpu1}% ${cpubar cpu1 4} +${color grey}CPU 2:$color ${cpu cpu2}% ${cpubar cpu2 4} +${color grey}CPU 3:$color ${cpu cpu3}% ${cpubar cpu3 4} + +${font xos4 Terminus:pixelsize=14}MEMORY $hr $font +${color grey}RAM: $color$mem/$memmax $memperc% ${membar 6} +${color grey}Swap: $color$swap/$swapmax $swapperc% ${swapbar 6} + +${font xos4 Terminus:pixelsize=14}File systems $hr $font +${color grey}/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /} +${color grey}/home $color${fs_used /home}/${fs_size /home} ${fs_bar 6 /home} + +${font xos4 Terminus:pixelsize=14}NETWORKING $hr $font +${color grey}enp4s0: + ${color grey}↑ $color${upspeedf enp4s0}K/${totalup enp4s0}$alignr\ +${color grey}↓ $color${alignr}${downspeedf enp4s0}K/${totaldown enp4s0} +${color grey}wlp9s0: + ${color grey}↑ $color${upspeedf wlp9s0}K/${totalup wlp9s0}$alignr\ +${color grey}↓ $color${alignr}${downspeedf wlp9s0}K/${totaldown wlp9s0} + +${font xos4 Terminus:pixelsize=14}TOP $hr $font${color grey} +Name PID CPU% MEM% +$color${top name 1} ${color gray}${top pid 1} $color${top cpu 1} ${color gray}${top mem 1} +${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} +${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} +${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} +]] diff --git a/git/.gitconfig b/git/.gitconfig @@ -0,0 +1,3 @@ +[user] + name = Pablo Cárdenas + email = pablo-cardenas@outlook.com diff --git a/i3/.config/i3/config b/i3/.config/i3/config @@ -0,0 +1,148 @@ +set $mod Mod4 + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +font pango:xos4 Terminus 12px + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# start a terminal +bindsym $mod+Return exec i3-sensible-terminal + +# kill focused window +bindsym $mod+Shift+q kill + +# start dmenu (a program launcher) +bindsym $mod+d exec dmenu_run -i -fn 'xos4 Terminus:pixelsize=12' + +# change focus +bindsym $mod+j focus left +bindsym $mod+k focus down +bindsym $mod+l focus up +bindsym $mod+semicolon focus right +bindsym $mod+ntilde focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+j move left +bindsym $mod+Shift+k move down +bindsym $mod+Shift+l move up +bindsym $mod+Shift+semicolon move right +bindsym $mod+Shift+ntilde move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +bindsym $mod+Shift+a focus child + +# switch to workspace +bindsym $mod+1 workspace 1 +bindsym $mod+2 workspace 2 +bindsym $mod+3 workspace 3 +bindsym $mod+4 workspace 4 +bindsym $mod+5 workspace 5 +bindsym $mod+6 workspace 6 +bindsym $mod+7 workspace 7 +bindsym $mod+8 workspace 8 +bindsym $mod+9 workspace 9 +bindsym $mod+0 workspace 10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace 1 +bindsym $mod+Shift+2 move container to workspace 2 +bindsym $mod+Shift+3 move container to workspace 3 +bindsym $mod+Shift+4 move container to workspace 4 +bindsym $mod+Shift+5 move container to workspace 5 +bindsym $mod+Shift+6 move container to workspace 6 +bindsym $mod+Shift+7 move container to workspace 7 +bindsym $mod+Shift+8 move container to workspace 8 +bindsym $mod+Shift+9 move container to workspace 9 +bindsym $mod+Shift+0 move container to workspace 10 + +# reload the configuration file +bindsym $mod+Shift+c reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" +# resize window (you can also use the mouse for that) +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym j resize shrink width 10 px or 10 ppt + bindsym k resize grow height 10 px or 10 ppt + bindsym l resize shrink height 10 px or 10 ppt + bindsym semicolon resize grow width 10 px or 10 ppt + bindsym ntilde resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + bindsym Left resize shrink width 10 px or 10 ppt + bindsym Down resize grow height 10 px or 10 ppt + bindsym Up resize shrink height 10 px or 10 ppt + bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + +bindsym $mod+r mode "resize" + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +bar { + status_command i3status +} + + +#Alsa key bindings +bindsym XF86AudioRaiseVolume exec amixer -q set Master 10%+ unmute +bindsym XF86AudioLowerVolume exec amixer -q set Master 10%- unmute +bindysm XF86AudioLowerVolume exec amixer -q set Master toogle + +#Media player key bindings (you need playerctl for this to work.) +bindsym XF86AudioPlay exec playerctl play +bindsym XF86AudioPause exec playerctl pause +bindsym XF86AudioNext exec playerctl next +bindsym XF86AudioPrev exec playerctl previous + +#Brightness key bindings +bindsym XF86MonBrightnessUp exec xbacklight -inc 5 +bindsym XF86MonBrightnessDown exec xbacklight -dec 5 diff --git a/octave/.octaverc b/octave/.octaverc @@ -0,0 +1,6 @@ +edit mode sync +edit home . +EDITOR('vim > /dev/tty 2>&1 < /dev/tty %s') + +% Para clases +PS1 ("octave> ") diff --git a/openbox/.config/openbox/autostart b/openbox/.config/openbox/autostart @@ -0,0 +1,2 @@ +conky --daemonize +tint2 & diff --git a/openbox/.config/openbox/environment b/openbox/.config/openbox/environment @@ -0,0 +1,10 @@ +# +# Set system-wide environment variables here for Openbox +# User-specific variables should be placed in $HOME/.config/openbox/environment +# + +# To set your language for displaying messages and time/date formats, use the following: +#LANG=en_CA.UTF8 + +# To set your keyboard layout, you need to modify your X config: +# http://www.google.com/search?q=how+to+set+keyboard+layout+xorg diff --git a/openbox/.config/openbox/menu.xml b/openbox/.config/openbox/menu.xml @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="UTF-8"?> +<openbox_menu xmlns="http://openbox.org/3.4/menu"> + <menu id="root-menu" label="Openbox 3"> + <separator label="Applications"/> + <item label="Run command"> + <action name="Execute"> + <command>gmrun</command> + </action> + </item> + <item label="Terminal"> + <action name="Execute"> + <command>urxvt</command> + <startupnotify> + <enabled>yes</enabled> + </startupnotify> + </action> + </item> + <item label="Firefox"> + <action name="Execute"> + <command>firefox</command> + <startupnotify> + <enabled>yes</enabled> + <wmclass>Firefox</wmclass> + </startupnotify> + </action> + </item> + <item label="Gvim"> + <action name="Execute"> + <command>gvim</command> + <startupnotify> + <enabled>yes</enabled> + </startupnotify> + </action> + </item> + <item label="File Manager"> + <action name="Execute"> + <command>pcmanfm</command> + <startupnotify> + <enabled>yes</enabled> + </startupnotify> + </action> + </item> + <separator label="System"/> + <menu id="openbox_settings-menu" label="Settings"> + <item label="obconf"> + <action name="Execute"> + <execute>obconf</execute> + </action> + </item> + <item label="obmenu"> + <action name="Execute"> + <execute>obmenu</execute> + </action> + </item> + <item label="lxappearance"> + <action name="Execute"> + <execute>lxappearance</execute> + </action> + </item> + <separator/> + <item label="Reconfigure"> + <action name="Reconfigure"/> + </item> + <item label="Restart"> + <action name="Restart"/> + </item> + </menu> + <item label="Log Out"> + <action name="Exit"> + <prompt>yes</prompt> + </action> + </item> + </menu> +</openbox_menu> diff --git a/openbox/.config/openbox/rc.xml b/openbox/.config/openbox/rc.xml @@ -0,0 +1,784 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Do not edit this file, it will be overwritten on install. + Copy the file to $HOME/.config/openbox/ instead. --> +<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude"> + <resistance> + <strength>10</strength> + <screen_edge_strength>20</screen_edge_strength> + </resistance> + <focus> + <focusNew>yes</focusNew> + <!-- always try to focus new windows when they appear. other rules do + apply --> + <followMouse>no</followMouse> + <!-- move focus to a window when you move the mouse into it --> + <focusLast>yes</focusLast> + <!-- focus the last used window when changing desktops, instead of the one + under the mouse pointer. when followMouse is enabled --> + <underMouse>no</underMouse> + <!-- move focus under the mouse, even when the mouse is not moving --> + <focusDelay>200</focusDelay> + <!-- when followMouse is enabled, the mouse must be inside the window for + this many milliseconds (1000 = 1 sec) before moving focus to it --> + <raiseOnFocus>no</raiseOnFocus> + <!-- when followMouse is enabled, and a window is given focus by moving the + mouse into it, also raise the window --> + </focus> + <placement> + <policy>Smart</policy> + <!-- 'Smart' or 'UnderMouse' --> + <center>yes</center> + <!-- whether to place windows in the center of the free area found or + the top left corner --> + <monitor>Primary</monitor> + <!-- with Smart placement on a multi-monitor system, try to place new windows + on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where + the active window is, 'Primary' - only on the primary monitor --> + <primaryMonitor>1</primaryMonitor> + <!-- The monitor where Openbox should place popup dialogs such as the + focus cycling popup, or the desktop switch popup. It can be an index + from 1, specifying a particular monitor. Or it can be one of the + following: 'Mouse' - where the mouse is, or + 'Active' - where the active window is --> + </placement> + <theme> + <name>Clearlooks</name> + <titleLayout>NLIMC</titleLayout> + <!-- + available characters are NDSLIMC, each can occur at most once. + N: window icon + L: window label (AKA title). + I: iconify + M: maximize + C: close + S: shade (roll up/down) + D: omnipresent (on all desktops). + --> + <keepBorder>yes</keepBorder> + <animateIconify>yes</animateIconify> + <font place="ActiveWindow"> + <name>xos4 Terminus</name> + <size>8</size> + <!-- font size in points --> + <weight>Normal</weight> + <!-- 'bold' or 'normal' --> + <slant>Normal</slant> + <!-- 'italic' or 'normal' --> + </font> + <font place="InactiveWindow"> + <name>xos4 Terminus</name> + <size>8</size> + <!-- font size in points --> + <weight>Normal</weight> + <!-- 'bold' or 'normal' --> + <slant>Normal</slant> + <!-- 'italic' or 'normal' --> + </font> + <font place="MenuHeader"> + <name>xos4 Terminus</name> + <size>9</size> + <!-- font size in points --> + <weight>Normal</weight> + <!-- 'bold' or 'normal' --> + <slant>Normal</slant> + <!-- 'italic' or 'normal' --> + </font> + <font place="MenuItem"> + <name>xos4 Terminus</name> + <size>9</size> + <!-- font size in points --> + <weight>Normal</weight> + <!-- 'bold' or 'normal' --> + <slant>Normal</slant> + <!-- 'italic' or 'normal' --> + </font> + <font place="ActiveOnScreenDisplay"> + <name>xos4 Terminus</name> + <size>9</size> + <!-- font size in points --> + <weight>Normal</weight> + <!-- 'bold' or 'normal' --> + <slant>Normal</slant> + <!-- 'italic' or 'normal' --> + </font> + <font place="InactiveOnScreenDisplay"> + <name>xos4 Terminus</name> + <size>9</size> + <!-- font size in points --> + <weight>Normal</weight> + <!-- 'bold' or 'normal' --> + <slant>Normal</slant> + <!-- 'italic' or 'normal' --> + </font> + </theme> + <desktops> + <!-- this stuff is only used at startup, pagers allow you to change them + during a session + + these are default values to use when other ones are not already set + by other applications, or saved in your session + + use obconf if you want to change these without having to log out + and back in --> + <number>4</number> + <firstdesk>1</firstdesk> + <names> + <!-- set names up here if you want to, like this: + <name>desktop 1</name> + <name>desktop 2</name> + --> + </names> + <popupTime>875</popupTime> + <!-- The number of milliseconds to show the popup for when switching + desktops. Set this to 0 to disable the popup. --> + </desktops> + <resize> + <drawContents>yes</drawContents> + <popupShow>Nonpixel</popupShow> + <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) --> + <popupPosition>Center</popupPosition> + <!-- 'Center', 'Top', or 'Fixed' --> + <popupFixedPosition> + <!-- these are used if popupPosition is set to 'Fixed' --> + <x>10</x> + <!-- positive number for distance from left edge, negative number for + distance from right edge, or 'Center' --> + <y>10</y> + <!-- positive number for distance from top edge, negative number for + distance from bottom edge, or 'Center' --> + </popupFixedPosition> + </resize> + <!-- You can reserve a portion of your screen where windows will not cover when + they are maximized, or when they are initially placed. + Many programs reserve space automatically, but you can use this in other + cases. --> + <margins> + <top>0</top> + <bottom>0</bottom> + <left>0</left> + <right>0</right> + </margins> + <dock> + <position>TopLeft</position> + <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating --> + <floatingX>0</floatingX> + <floatingY>0</floatingY> + <noStrut>no</noStrut> + <stacking>Above</stacking> + <!-- 'Above', 'Normal', or 'Below' --> + <direction>Vertical</direction> + <!-- 'Vertical' or 'Horizontal' --> + <autoHide>no</autoHide> + <hideDelay>300</hideDelay> + <!-- in milliseconds (1000 = 1 second) --> + <showDelay>300</showDelay> + <!-- in milliseconds (1000 = 1 second) --> + <moveButton>Middle</moveButton> + <!-- 'Left', 'Middle', 'Right' --> + </dock> + <keyboard> + <chainQuitKey>C-g</chainQuitKey> + <!-- Keybindings for desktop switching --> + <keybind key="C-A-Left"> + <action name="GoToDesktop"> + <to>left</to> + <wrap>no</wrap> + </action> + </keybind> + <keybind key="C-A-Right"> + <action name="GoToDesktop"> + <to>right</to> + <wrap>no</wrap> + </action> + </keybind> + <keybind key="C-A-Up"> + <action name="GoToDesktop"> + <to>up</to> + <wrap>no</wrap> + </action> + </keybind> + <keybind key="C-A-Down"> + <action name="GoToDesktop"> + <to>down</to> + <wrap>no</wrap> + </action> + </keybind> + <keybind key="S-A-Left"> + <action name="SendToDesktop"> + <to>left</to> + <wrap>no</wrap> + </action> + </keybind> + <keybind key="S-A-Right"> + <action name="SendToDesktop"> + <to>right</to> + <wrap>no</wrap> + </action> + </keybind> + <keybind key="S-A-Up"> + <action name="SendToDesktop"> + <to>up</to> + <wrap>no</wrap> + </action> + </keybind> + <keybind key="S-A-Down"> + <action name="SendToDesktop"> + <to>down</to> + <wrap>no</wrap> + </action> + </keybind> + <keybind key="W-F1"> + <action name="GoToDesktop"> + <to>1</to> + </action> + </keybind> + <keybind key="W-F2"> + <action name="GoToDesktop"> + <to>2</to> + </action> + </keybind> + <keybind key="W-F3"> + <action name="GoToDesktop"> + <to>3</to> + </action> + </keybind> + <keybind key="W-F4"> + <action name="GoToDesktop"> + <to>4</to> + </action> + </keybind> + <keybind key="W-d"> + <action name="ToggleShowDesktop"/> + </keybind> + <!-- Keybindings for windows --> + <keybind key="A-F4"> + <action name="Close"/> + </keybind> + <keybind key="A-Escape"> + <action name="Lower"/> + <action name="FocusToBottom"/> + <action name="Unfocus"/> + </keybind> + <keybind key="A-space"> + <action name="ShowMenu"> + <menu>client-menu</menu> + </action> + </keybind> + <!-- Keybindings for window switching --> + <keybind key="A-Tab"> + <action name="NextWindow"> + <finalactions> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </finalactions> + </action> + </keybind> + <keybind key="A-S-Tab"> + <action name="PreviousWindow"> + <finalactions> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </finalactions> + </action> + </keybind> + <keybind key="C-A-Tab"> + <action name="NextWindow"> + <panels>yes</panels> + <desktop>yes</desktop> + <finalactions> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </finalactions> + </action> + </keybind> + <!-- Keybindings for window switching with the arrow keys --> + <keybind key="W-S-Right"> + <action name="DirectionalCycleWindows"> + <direction>right</direction> + </action> + </keybind> + <keybind key="W-S-Left"> + <action name="DirectionalCycleWindows"> + <direction>left</direction> + </action> + </keybind> + <keybind key="W-S-Up"> + <action name="DirectionalCycleWindows"> + <direction>up</direction> + </action> + </keybind> + <keybind key="W-S-Down"> + <action name="DirectionalCycleWindows"> + <direction>down</direction> + </action> + </keybind> + <!-- Keybindings for running applications --> + <keybind key="W-e"> + <action name="Execute"> + <startupnotify> + <enabled>true</enabled> + <name>Konqueror</name> + </startupnotify> + <command>kfmclient openProfile filemanagement</command> + </action> + </keybind> + </keyboard> + <mouse> + <dragThreshold>1</dragThreshold> + <!-- number of pixels the mouse must move before a drag begins --> + <doubleClickTime>500</doubleClickTime> + <!-- in milliseconds (1000 = 1 second) --> + <screenEdgeWarpTime>400</screenEdgeWarpTime> + <!-- Time before changing desktops when the pointer touches the edge of the + screen while moving a window, in milliseconds (1000 = 1 second). + Set this to 0 to disable warping --> + <screenEdgeWarpMouse>false</screenEdgeWarpMouse> + <!-- Set this to TRUE to move the mouse pointer across the desktop when + switching due to hitting the edge of the screen --> + <context name="Frame"> + <mousebind button="W-Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + </mousebind> + <mousebind button="W-Left" action="Click"> + <action name="Unshade"/> + </mousebind> + <mousebind button="W-Left" action="Drag"> + <action name="Move"/> + </mousebind> + <mousebind button="W-Right" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </mousebind> + <mousebind button="W-Right" action="Drag"> + <action name="Resize"/> + </mousebind> + <mousebind button="W-Middle" action="Press"> + <action name="Lower"/> + <action name="FocusToBottom"/> + <action name="Unfocus"/> + </mousebind> + <mousebind button="W-Up" action="Click"> + <action name="GoToDesktop"> + <to>previous</to> + </action> + </mousebind> + <mousebind button="W-Down" action="Click"> + <action name="GoToDesktop"> + <to>next</to> + </action> + </mousebind> + <mousebind button="C-W-Up" action="Click"> + <action name="GoToDesktop"> + <to>previous</to> + </action> + </mousebind> + <mousebind button="C-W-Down" action="Click"> + <action name="GoToDesktop"> + <to>next</to> + </action> + </mousebind> + <mousebind button="W-S-Up" action="Click"> + <action name="SendToDesktop"> + <to>previous</to> + </action> + </mousebind> + <mousebind button="W-S-Down" action="Click"> + <action name="SendToDesktop"> + <to>next</to> + </action> + </mousebind> + </context> + <context name="Titlebar"> + <mousebind button="Left" action="Drag"> + <action name="Move"/> + </mousebind> + <mousebind button="Left" action="DoubleClick"> + <action name="ToggleMaximize"/> + </mousebind> + <mousebind button="Up" action="Click"> + <action name="if"> + <shaded>no</shaded> + <then> + <action name="Shade"/> + <action name="FocusToBottom"/> + <action name="Unfocus"/> + <action name="Lower"/> + </then> + </action> + </mousebind> + <mousebind button="Down" action="Click"> + <action name="if"> + <shaded>yes</shaded> + <then> + <action name="Unshade"/> + <action name="Raise"/> + </then> + </action> + </mousebind> + </context> + <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </mousebind> + <mousebind button="Middle" action="Press"> + <action name="Lower"/> + <action name="FocusToBottom"/> + <action name="Unfocus"/> + </mousebind> + <mousebind button="Right" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="ShowMenu"> + <menu>client-menu</menu> + </action> + </mousebind> + </context> + <context name="Top"> + <mousebind button="Left" action="Drag"> + <action name="Resize"> + <edge>top</edge> + </action> + </mousebind> + </context> + <context name="Left"> + <mousebind button="Left" action="Drag"> + <action name="Resize"> + <edge>left</edge> + </action> + </mousebind> + </context> + <context name="Right"> + <mousebind button="Left" action="Drag"> + <action name="Resize"> + <edge>right</edge> + </action> + </mousebind> + </context> + <context name="Bottom"> + <mousebind button="Left" action="Drag"> + <action name="Resize"> + <edge>bottom</edge> + </action> + </mousebind> + <mousebind button="Right" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="ShowMenu"> + <menu>client-menu</menu> + </action> + </mousebind> + </context> + <context name="TRCorner BRCorner TLCorner BLCorner"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </mousebind> + <mousebind button="Left" action="Drag"> + <action name="Resize"/> + </mousebind> + </context> + <context name="Client"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + </mousebind> + <mousebind button="Middle" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + </mousebind> + <mousebind button="Right" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + </mousebind> + </context> + <context name="Icon"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + <action name="ShowMenu"> + <menu>client-menu</menu> + </action> + </mousebind> + <mousebind button="Right" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="ShowMenu"> + <menu>client-menu</menu> + </action> + </mousebind> + </context> + <context name="AllDesktops"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </mousebind> + <mousebind button="Left" action="Click"> + <action name="ToggleOmnipresent"/> + </mousebind> + </context> + <context name="Shade"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + </mousebind> + <mousebind button="Left" action="Click"> + <action name="ToggleShade"/> + </mousebind> + </context> + <context name="Iconify"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + </mousebind> + <mousebind button="Left" action="Click"> + <action name="Iconify"/> + </mousebind> + </context> + <context name="Maximize"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </mousebind> + <mousebind button="Middle" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </mousebind> + <mousebind button="Right" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </mousebind> + <mousebind button="Left" action="Click"> + <action name="ToggleMaximize"/> + </mousebind> + <mousebind button="Middle" action="Click"> + <action name="ToggleMaximize"> + <direction>vertical</direction> + </action> + </mousebind> + <mousebind button="Right" action="Click"> + <action name="ToggleMaximize"> + <direction>horizontal</direction> + </action> + </mousebind> + </context> + <context name="Close"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </mousebind> + <mousebind button="Left" action="Click"> + <action name="Close"/> + </mousebind> + </context> + <context name="Desktop"> + <mousebind button="Up" action="Click"> + <action name="GoToDesktop"> + <to>previous</to> + </action> + </mousebind> + <mousebind button="Down" action="Click"> + <action name="GoToDesktop"> + <to>next</to> + </action> + </mousebind> + <mousebind button="W-Up" action="Click"> + <action name="GoToDesktop"> + <to>previous</to> + </action> + </mousebind> + <mousebind button="W-Down" action="Click"> + <action name="GoToDesktop"> + <to>next</to> + </action> + </mousebind> + <mousebind button="C-W-Up" action="Click"> + <action name="GoToDesktop"> + <to>previous</to> + </action> + </mousebind> + <mousebind button="C-W-Down" action="Click"> + <action name="GoToDesktop"> + <to>next</to> + </action> + </mousebind> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + </mousebind> + <mousebind button="Right" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + </mousebind> + </context> + <context name="Root"> + <!-- Menus --> + <mousebind button="Middle" action="Press"> + <action name="ShowMenu"> + <menu>client-list-combined-menu</menu> + </action> + </mousebind> + <mousebind button="Right" action="Press"> + <action name="ShowMenu"> + <menu>root-menu</menu> + </action> + </mousebind> + </context> + <context name="MoveResize"> + <mousebind button="Up" action="Click"> + <action name="GoToDesktop"> + <to>previous</to> + </action> + </mousebind> + <mousebind button="Down" action="Click"> + <action name="GoToDesktop"> + <to>next</to> + </action> + </mousebind> + <mousebind button="W-Up" action="Click"> + <action name="GoToDesktop"> + <to>previous</to> + </action> + </mousebind> + <mousebind button="W-Down" action="Click"> + <action name="GoToDesktop"> + <to>next</to> + </action> + </mousebind> + </context> + </mouse> + <menu> + <!-- You can specify more than one menu file in here and they are all loaded, + just don't make menu ids clash or, well, it'll be kind of pointless --> + <!-- default menu file (or custom one in $HOME/.config/openbox/) --> + <file>menu.xml</file> + <hideDelay>200</hideDelay> + <!-- if a press-release lasts longer than this setting (in milliseconds), the + menu is hidden again --> + <middle>no</middle> + <!-- center submenus vertically about the parent entry --> + <submenuShowDelay>100</submenuShowDelay> + <!-- time to delay before showing a submenu after hovering over the parent + entry. + if this is a negative value, then the delay is infinite and the + submenu will not be shown until it is clicked on --> + <submenuHideDelay>400</submenuHideDelay> + <!-- time to delay before hiding a submenu when selecting another + entry in parent menu + if this is a negative value, then the delay is infinite and the + submenu will not be hidden until a different submenu is opened --> + <showIcons>yes</showIcons> + <!-- controls if icons appear in the client-list-(combined-)menu --> + <manageDesktops>yes</manageDesktops> + <!-- show the manage desktops section in the client-list-(combined-)menu --> + </menu> + <applications> + <!-- + # this is an example with comments through out. use these to make your + # own rules, but without the comments of course. + # you may use one or more of the name/class/role/title/type rules to specify + # windows to match + + <application name="the window's _OB_APP_NAME property (see obxprop)" + class="the window's _OB_APP_CLASS property (see obxprop)" + groupname="the window's _OB_APP_GROUP_NAME property (see obxprop)" + groupclass="the window's _OB_APP_GROUP_CLASS property (see obxprop)" + role="the window's _OB_APP_ROLE property (see obxprop)" + title="the window's _OB_APP_TITLE property (see obxprop)" + type="the window's _OB_APP_TYPE property (see obxprob).. + (if unspecified, then it is 'dialog' for child windows)"> + # you may set only one of name/class/role/title/type, or you may use more + # than one together to restrict your matches. + + # the name, class, role, and title use simple wildcard matching such as those + # used by a shell. you can use * to match any characters and ? to match + # any single character. + + # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock, + # or desktop + + # when multiple rules match a window, they will all be applied, in the + # order that they appear in this list + + + # each rule element can be left out or set to 'default' to specify to not + # change that attribute of the window + + <decor>yes</decor> + # enable or disable window decorations + + <shade>no</shade> + # make the window shaded when it appears, or not + + <position force="no"> + # the position is only used if both an x and y coordinate are provided + # (and not set to 'default') + # when force is "yes", then the window will be placed here even if it + # says you want it placed elsewhere. this is to override buggy + # applications who refuse to behave + <x>center</x> + # a number like 50, or 'center' to center on screen. use a negative number + # to start from the right (or bottom for <y>), ie -50 is 50 pixels from + # the right edge (or bottom). use 'default' to specify using value + # provided by the application, or chosen by openbox, instead. + <y>200</y> + <monitor>1</monitor> + # specifies the monitor in a xinerama setup. + # 1 is the first head, or 'mouse' for wherever the mouse is + </position> + + <size> + # the size to make the window. + <width>20</width> + # a number like 20, or 'default' to use the size given by the application. + # you can use fractions such as 1/2 or percentages such as 75% in which + # case the value is relative to the size of the monitor that the window + # appears on. + <height>30%</height> + </size> + + <focus>yes</focus> + # if the window should try be given focus when it appears. if this is set + # to yes it doesn't guarantee the window will be given focus. some + # restrictions may apply, but Openbox will try to + + <desktop>1</desktop> + # 1 is the first desktop, 'all' for all desktops + + <layer>normal</layer> + # 'above', 'normal', or 'below' + + <iconic>no</iconic> + # make the window iconified when it appears, or not + + <skip_pager>no</skip_pager> + # asks to not be shown in pagers + + <skip_taskbar>no</skip_taskbar> + # asks to not be shown in taskbars. window cycling actions will also + # skip past such windows + + <fullscreen>yes</fullscreen> + # make the window in fullscreen mode when it appears + + <maximized>true</maximized> + # 'Horizontal', 'Vertical' or boolean (yes/no) + </application> + + # end of the example +--> + </applications> +</openbox_config> diff --git a/tint2/.config/tint2/tint2rc b/tint2/.config/tint2/tint2rc @@ -0,0 +1,194 @@ +#---- Generated by tint2conf 2641 ---- +# See https://gitlab.com/o9000/tint2/wikis/Configure for +# full documentation of the configuration options. +#------------------------------------- +# Backgrounds +# Background 1: Panel +rounded = 0 +border_width = 0 +background_color = #000000 60 +border_color = #000000 30 +background_color_hover = #000000 60 +border_color_hover = #000000 30 +background_color_pressed = #000000 60 +border_color_pressed = #000000 30 + +# Background 2: Default task, Iconified task +rounded = 4 +border_width = 1 +background_color = #777777 20 +border_color = #777777 30 +background_color_hover = #aaaaaa 22 +border_color_hover = #eaeaea 44 +background_color_pressed = #555555 4 +border_color_pressed = #eaeaea 44 + +# Background 3: Active task +rounded = 4 +border_width = 1 +background_color = #777777 20 +border_color = #ffffff 40 +background_color_hover = #aaaaaa 22 +border_color_hover = #eaeaea 44 +background_color_pressed = #555555 4 +border_color_pressed = #eaeaea 44 + +# Background 4: Urgent task +rounded = 4 +border_width = 1 +background_color = #aa4400 100 +border_color = #aa7733 100 +background_color_hover = #cc7700 100 +border_color_hover = #aa7733 100 +background_color_pressed = #555555 4 +border_color_pressed = #aa7733 100 + +# Background 5: Tooltip +rounded = 1 +border_width = 1 +background_color = #ffffaa 100 +border_color = #000000 100 +background_color_hover = #ffffaa 100 +border_color_hover = #000000 100 +background_color_pressed = #ffffaa 100 +border_color_pressed = #000000 100 + +#------------------------------------- +# Panel +panel_items = LTSC +panel_size = 100% 25 +panel_margin = 0 0 +panel_padding = 2 0 2 +panel_background_id = 1 +wm_menu = 1 +panel_dock = 0 +panel_position = bottom center horizontal +panel_layer = top +panel_monitor = all +primary_monitor_first = 0 +autohide = 0 +autohide_show_timeout = 0 +autohide_hide_timeout = 0.5 +autohide_height = 2 +strut_policy = follow_size +panel_window_name = tint2 +disable_transparency = 1 +mouse_effects = 1 +font_shadow = 0 +mouse_hover_icon_asb = 100 0 10 +mouse_pressed_icon_asb = 100 0 0 + +#------------------------------------- +# Taskbar +taskbar_mode = single_desktop +taskbar_padding = 0 0 2 +taskbar_background_id = 0 +taskbar_active_background_id = 0 +taskbar_name = 1 +taskbar_hide_inactive_tasks = 0 +taskbar_hide_different_monitor = 0 +taskbar_always_show_all_desktop_tasks = 0 +taskbar_name_padding = 4 2 +taskbar_name_background_id = 0 +taskbar_name_active_background_id = 0 +taskbar_name_font = xos4 Terminus 8 +taskbar_name_font_color = #e3e3e3 100 +taskbar_name_active_font = xos4 Terminus 8 +taskbar_name_active_font_color = #ffffff 100 +taskbar_distribute_size = 0 +taskbar_sort_order = none +task_align = left + +#------------------------------------- +# Task +task_text = 1 +task_icon = 1 +task_centered = 1 +urgent_nb_of_blink = 100000 +task_maximum_size = 150 35 +task_padding = 2 2 4 +task_tooltip = 1 +task_font = xos4 Terminus 8 +task_font_color = #ffffff 100 +task_background_id = 2 +task_active_background_id = 3 +task_urgent_background_id = 4 +task_iconified_background_id = 2 +mouse_left = toggle_iconify +mouse_middle = none +mouse_right = close +mouse_scroll_up = toggle +mouse_scroll_down = iconify + +#------------------------------------- +# System tray (notification area) +systray_padding = 0 4 2 +systray_background_id = 0 +systray_sort = ascending +systray_icon_size = 24 +systray_icon_asb = 100 0 0 +systray_monitor = 1 + +#------------------------------------- +# Launcher +launcher_padding = 2 4 2 +launcher_background_id = 0 +launcher_icon_background_id = 0 +launcher_icon_size = 24 +launcher_icon_asb = 100 0 0 +launcher_icon_theme_override = 0 +startup_notifications = 1 +launcher_tooltip = 1 +launcher_item_app = /usr/share/applications/tint2conf.desktop +launcher_item_app = /usr/local/share/applications/tint2conf.desktop +launcher_item_app = /usr/share/applications/firefox.desktop +launcher_item_app = /usr/share/applications/urxvt-rxvt-unicode.desktop +launcher_item_app = /usr/share/applications/gvim.desktop +launcher_item_app = /usr/share/applications/pcmanfm.desktop + +#------------------------------------- +# Clock +time1_font = xos4 Terminus 8 +time2_font = xos4 Terminus 8 +time1_format = %H:%M +time2_format = %A %d %B +time1_timezone = +time2_timezone = +clock_font_color = #ffffff 100 +clock_padding = 2 0 +clock_background_id = 0 +clock_tooltip = +clock_tooltip_timezone = +clock_lclick_command = +clock_rclick_command = orage +clock_mclick_command = +clock_uwheel_command = +clock_dwheel_command = + +#------------------------------------- +# Battery +battery_tooltip = 1 +battery_low_status = 10 +battery_low_cmd = notify-send "battery low" +battery_font = xos4 Terminus 8 +battery_font_color = #ffffff 100 +battery_padding = 1 0 +battery_background_id = 0 +battery_hide = 101 +battery_lclick_command = +battery_rclick_command = +battery_mclick_command = +battery_uwheel_command = +battery_dwheel_command = +ac_connected_cmd = +ac_disconnected_cmd = + +#------------------------------------- +# Tooltip +tooltip_show_timeout = 0.5 +tooltip_hide_timeout = 0.1 +tooltip_padding = 2 2 +tooltip_background_id = 5 +tooltip_font = xos4 Terminus 8 +tooltip_font_color = #222222 100 + diff --git a/tint2/.config/tint2/vertical-neutral-icons.tint2rc b/tint2/.config/tint2/vertical-neutral-icons.tint2rc @@ -0,0 +1,212 @@ +#---- Generated by tint2conf d2bc ---- +# See https://gitlab.com/o9000/tint2/wikis/Configure for +# full documentation of the configuration options. +#------------------------------------- +# Backgrounds +# Background 1: Battery, Clock, Inactive taskbar, Launcher, Systray +rounded = 0 +border_width = 1 +background_color = #181818 85 +border_color = #303030 85 +background_color_hover = #181818 85 +border_color_hover = #303030 85 +background_color_pressed = #303030 85 +border_color_pressed = #606060 85 + +# Background 2: Active taskbar +rounded = 0 +border_width = 1 +background_color = #404040 85 +border_color = #808080 85 +background_color_hover = #404040 85 +border_color_hover = #808080 85 +background_color_pressed = #404040 85 +border_color_pressed = #808080 85 + +# Background 3: Active task +rounded = 0 +border_width = 1 +background_color = #cfcfcf 50 +border_color = #e7e7e7 50 +background_color_hover = #cfcfcf 50 +border_color_hover = #e7e7e7 50 +background_color_pressed = #cfcfcf 50 +border_color_pressed = #e7e7e7 50 + +# Background 4: Urgent task +rounded = 0 +border_width = 1 +background_color = #cfcfcf 80 +border_color = #e7e7e7 80 +background_color_hover = #cfcfcf 90 +border_color_hover = #e7e7e7 90 +background_color_pressed = #cfcfcf 50 +border_color_pressed = #e7e7e7 50 + +# Background 5: Default task, Iconified task, Launcher icon, Normal task +rounded = 0 +border_width = 1 +background_color = #cfcfcf 0 +border_color = #e7e7e7 0 +background_color_hover = #cfcfcf 30 +border_color_hover = #e7e7e7 30 +background_color_pressed = #cfcfcf 70 +border_color_pressed = #e7e7e7 70 + +# Background 6: Tooltip +rounded = 0 +border_width = 1 +background_color = #181818 85 +border_color = #303030 85 +background_color_hover = #181818 85 +border_color_hover = #303030 85 +background_color_pressed = #181818 85 +border_color_pressed = #303030 85 + +#------------------------------------- +# Panel +panel_items = LTSBC +panel_size = 100% 36 +panel_margin = 0 0 +panel_padding = 0 0 2 +panel_background_id = 0 +wm_menu = 1 +panel_dock = 0 +panel_position = center left vertical +panel_layer = top +panel_monitor = 1 +primary_monitor_first = 1 +autohide = 0 +autohide_show_timeout = 0.3 +autohide_hide_timeout = 2 +autohide_height = 2 +strut_policy = follow_size +panel_window_name = tint2 +disable_transparency = 0 +mouse_effects = 1 +font_shadow = 0 +mouse_hover_icon_asb = 100 0 10 +mouse_pressed_icon_asb = 100 0 25 + +#------------------------------------- +# Taskbar +taskbar_mode = multi_desktop +taskbar_padding = 0 0 1 +taskbar_background_id = 1 +taskbar_active_background_id = 2 +taskbar_name = 0 +taskbar_hide_inactive_tasks = 0 +taskbar_hide_different_monitor = 0 +taskbar_always_show_all_desktop_tasks = 0 +taskbar_name_padding = 0 0 +taskbar_name_background_id = 0 +taskbar_name_active_background_id = 0 +taskbar_name_font = Liberation Sans Bold 10 +taskbar_name_font_color = #000000 100 +taskbar_name_active_font_color = #000000 100 +taskbar_distribute_size = 0 +taskbar_sort_order = none +task_align = left + +#------------------------------------- +# Task +task_text = 1 +task_icon = 1 +task_centered = 0 +urgent_nb_of_blink = 65535 +task_maximum_size = 34 34 +task_padding = 0 0 2 +task_font = Liberation Sans 10 +task_tooltip = 1 +task_font_color = #e7e7e7 80 +task_normal_font_color = #e7e7e7 80 +task_active_font_color = #e7e7e7 86 +task_urgent_font_color = #e7e7e7 100 +task_iconified_font_color = #e7e7e7 66 +task_icon_asb = 90 0 0 +task_normal_icon_asb = 90 0 0 +task_active_icon_asb = 100 0 0 +task_urgent_icon_asb = 100 0 10 +task_iconified_icon_asb = 35 0 0 +task_background_id = 5 +task_normal_background_id = 5 +task_active_background_id = 3 +task_urgent_background_id = 4 +task_iconified_background_id = 5 +mouse_left = toggle_iconify +mouse_middle = close +mouse_right = maximize_restore +mouse_scroll_up = toggle +mouse_scroll_down = iconify + +#------------------------------------- +# System tray (notification area) +systray_padding = 5 5 1 +systray_background_id = 1 +systray_sort = ascending +systray_icon_size = 24 +systray_icon_asb = 100 0 0 +systray_monitor = 1 + +#------------------------------------- +# Launcher +launcher_padding = 5 5 1 +launcher_background_id = 1 +launcher_icon_background_id = 5 +launcher_icon_size = 24 +launcher_icon_asb = 100 0 0 +launcher_icon_theme_override = 0 +startup_notifications = 1 +launcher_tooltip = 1 +launcher_item_app = firefox.desktop +launcher_item_app = thunderbird.desktop +launcher_item_app = pidgin.desktop +launcher_item_app = x-terminal-emulator.desktop + +#------------------------------------- +# Clock +time1_format = %m-%d +time2_format = %H:%M +time1_font = Liberation Sans 8 +time1_timezone = +time2_timezone = +time2_font = Liberation Sans Bold 10 +clock_font_color = #e7e7e7 82 +clock_padding = 1 1 +clock_background_id = 1 +clock_tooltip = %Y-%m-%d %H:%M:%S +clock_tooltip_timezone = +clock_lclick_command = gsimplecal +clock_rclick_command = gsimplecal +clock_mclick_command = gsimplecal +clock_uwheel_command = +clock_dwheel_command = + +#------------------------------------- +# Battery +battery_tooltip = 1 +battery_low_status = 10 +battery_low_cmd = notify-send -u critical "Battery low" +bat1_font = Liberation Sans 10 +bat2_font = Liberation Sans 10 +battery_font_color = #e7e7e7 82 +battery_padding = 1 1 +battery_background_id = 1 +battery_hide = 101 +battery_lclick_command = +battery_rclick_command = +battery_mclick_command = +battery_uwheel_command = +battery_dwheel_command = +ac_connected_cmd = notify-send -u normal "AC connected" +ac_disconnected_cmd = notify-send -u normal "AC disconnected" + +#------------------------------------- +# Tooltip +tooltip_show_timeout = 0 +tooltip_hide_timeout = 0 +tooltip_padding = 3 3 +tooltip_background_id = 6 +tooltip_font_color = #e7e7e7 82 +tooltip_font = Liberation Sans 10 + diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf @@ -0,0 +1,2 @@ +set -g default-terminal tmux-256color # Use 256 colors +set -g history-limit 100000 # Scrollback buffer number of lines diff --git a/vim/.vim/gvimrc b/vim/.vim/gvimrc @@ -0,0 +1,27 @@ +" Disable toolbar and scrollbars +set guioptions-=T +set guioptions-=r +set guioptions-=R +set guioptions-=l +set guioptions-=L + +" Disable menubar +if has("gui_gtk2") || has("x11") || has("win32") || has("win64") + set guioptions-=m +end + +" Pixels between lines +set linespace=1 + +" Window dimensions +set lines=35 +set columns=120 + +" Set font. It depends on which operating system I'm using. +if has("win32") || has("win64") + set guifont=Terminus:h12,Consolas:h11,Courier\ New:h10 +elseif has("gui_gtk2") + set guifont=Terminus\ 12,Monospace\ 10 +elseif has("x11") + set guifont=-*-terminus-*-*-*-*-12-*-*-*-*-*-*-* +endif diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc @@ -0,0 +1,120 @@ +" if vim-plug is not installed +if empty(glob("~/.vim/autoload/plug.vim")) + silent !curl -fLso ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim + autocmd VimEnter * PlugInstall +end + +" Init vim-plug plugins +call plug#begin('~/.vim/plugged/') + +" General purpose plugins +Plug 'tpope/vim-fugitive' +Plug 'airblade/vim-gitgutter' +"Plug 'ctrlpvim/ctrlp.vim' +"Plug 'ap/vim-buftabline' +Plug 'mattn/emmet-vim' +Plug 'editorconfig/editorconfig-vim' +Plug 'scrooloose/nerdtree' +Plug 'ntpeters/vim-better-whitespace' +Plug 'ron89/thesaurus_query.vim' +Plug 'Valloric/YouCompleteMe' +Plug 'rdnetto/YCM-Generator' + +" Language support +Plug 'wlangstroth/vim-racket' +Plug 'tfnico/vim-gradle' +Plug 'tpope/vim-rails' +Plug 'tpope/vim-endwise' +Plug 'alvan/vim-closetag' +Plug 'rust-lang/rust.vim' +Plug 'racer-rust/vim-racer' +Plug 'lervag/vimtex' + +" Colorschemes +Plug 'morhetz/gruvbox' +call plug#end() + +" Stop acting like classic vi +set nocompatible " disable vi compatibility mode +set history=1000 " increase history size +set noswapfile " don't create swapfiles +set nobackup " don't backup, use git! + +" Modify indenting settings +set autoindent " autoindent always ON. +set expandtab " expand tabs to spaces +set shiftwidth=4 " spaces for autoindenting +set softtabstop=4 " remove a full pseudo-TAB when i press <BS> +set tabstop=8 " spaces for <TAB> + +" Modify some other settings about files +set encoding=utf-8 " always use unicode +set backspace=indent,eol,start " backspace always works on insert mode +set hidden + +" Some programming languages work better when only 2 spaces padding is used. +autocmd FileType html,css,sass,scss,javascript setlocal sw=2 sts=2 +autocmd FileType json setlocal sw=2 sts=2 +autocmd FileType ruby,eruby setlocal sw=2 sts=2 +autocmd FileType yaml setlocal sw=2 sts=2 +autocmd FileType tex setlocal sw=2 sts=2 + +" Required for alvan/vim-closetag +let g:closetag_filenames = "*.html,*.xhtml,*.phtml,*.html.erb,*.xml.erb,*.xml" + +" Are we supporting colors? +if &t_Co > 2 || has("gui_running") + syntax on + set colorcolumn=80 + silent! color gruvbox +endif + +" Extra fancyness if full pallete is supported. +if &t_Co >= 256 || has("gui_running") + set cursorline + set cursorcolumn +endif + +set fillchars+=vert:\ " Remove unpleasant pipes from vertical splits + " Sauce on this: http://stackoverflow.com/a/9001540 + +set showmode " always show which more are we in +set laststatus=2 " always show statusbar +set wildmenu " enable visual wildmenu +set nowrap " don't wrap long lines +set number " show line numbers +set relativenumber " show numbers as relative by default +set showmatch " higlight matching parentheses and brackets +let mapleader="," + +set spelllang=es_es +"set thesaurus='~/.vim/thesaurus/es_ES.txt' +let g:tq_language=['es'] +let g:tq_openoffice_en_file="/usr/share/myspell/th_en_US_v2" +let g:tq_openoffice_es_file="/usr/share/myspell/th_es_ES_v2" + +map <Leader>nt :NERDTreeToggle<CR> +let NERDTreeQuitOnOpen=1 +let NERDTreeWinSize=20 + +"let g:ycm_server_python_interpreter = 'python2' +"let g:ycm_path_to_python_interpreter = '/usr/bin/python2' +"let g:ycm_python_binary_path = '/usr/bin/python2' +"let g:ycm_collect_identifiers_from_tags_files = 1 " Let YCM read tags from Ctags file +"let g:ycm_use_ultisnips_completer = 1 " Default 1, just ensure +"let g:ycm_seed_identifiers_with_syntax = 1 " Completion for programming language's keyword +"let g:ycm_complete_in_comments = 1 " Completion in comments +"let g:ycm_complete_in_strings = 1 " Completion in string +let g:ycm_auto_trigger = 0 + +"" Para clases +"set nocuc +"set nornu +"set nonu +"set nuw=2 +"set bg=light +"set ls=1 +"set sts=2 +"set sw=2 +"set mouse=a +"set mouse=a