From 3e94a3e724c36267fa2e4039e3759473c59e8510 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Sat, 25 Oct 2014 22:26:54 +0200 Subject: Restructured dotfile repo to take advantage of GNU Stow --- .Xresources | 43 - .bashrc | 13 - .compton | 3 - .config/herbstluftwm/autostart | 203 --- .config/herbstluftwm/dependencylist | 12 - .config/herbstluftwm/lock.sh | 7 - .config/herbstluftwm/notify.sh | 30 - .config/herbstluftwm/panel.sh | 219 --- .config/herbstluftwm/popup.sh | 60 - .config/herbstluftwm/start.sh | 13 - .liquidpromptrc | 143 -- .local/share/themes/numix-no-title/index.theme | 10 - .../numix-no-title/metacity-1/metacity-theme-3.xml | 1588 -------------------- .lp_ps1 | 30 - .vimrc | 8 - Makefile | 63 +- README.md | 25 +- bash/.bashrc | 13 + compton/.compton | 3 + herbstluftwm/.config/herbstluftwm/autostart | 203 +++ herbstluftwm/.config/herbstluftwm/dependencylist | 12 + herbstluftwm/.config/herbstluftwm/lock.sh | 7 + herbstluftwm/.config/herbstluftwm/notify.sh | 30 + herbstluftwm/.config/herbstluftwm/panel.sh | 219 +++ herbstluftwm/.config/herbstluftwm/popup.sh | 60 + herbstluftwm/.config/herbstluftwm/start.sh | 13 + liquidprompt/.liquidpromptrc | 143 ++ liquidprompt/.lp_ps1 | 30 + .../.local/share/themes/numix-no-title/index.theme | 10 + .../numix-no-title/metacity-1/metacity-theme-3.xml | 1588 ++++++++++++++++++++ vim/.vimrc | 8 + xorg/.Xresources | 43 + 32 files changed, 2400 insertions(+), 2452 deletions(-) delete mode 100644 .Xresources delete mode 100644 .bashrc delete mode 100644 .compton delete mode 100755 .config/herbstluftwm/autostart delete mode 100644 .config/herbstluftwm/dependencylist delete mode 100755 .config/herbstluftwm/lock.sh delete mode 100755 .config/herbstluftwm/notify.sh delete mode 100755 .config/herbstluftwm/panel.sh delete mode 100755 .config/herbstluftwm/popup.sh delete mode 100755 .config/herbstluftwm/start.sh delete mode 100755 .liquidpromptrc delete mode 100644 .local/share/themes/numix-no-title/index.theme delete mode 100644 .local/share/themes/numix-no-title/metacity-1/metacity-theme-3.xml delete mode 100755 .lp_ps1 delete mode 100644 .vimrc create mode 100644 bash/.bashrc create mode 100644 compton/.compton create mode 100755 herbstluftwm/.config/herbstluftwm/autostart create mode 100644 herbstluftwm/.config/herbstluftwm/dependencylist create mode 100755 herbstluftwm/.config/herbstluftwm/lock.sh create mode 100755 herbstluftwm/.config/herbstluftwm/notify.sh create mode 100755 herbstluftwm/.config/herbstluftwm/panel.sh create mode 100755 herbstluftwm/.config/herbstluftwm/popup.sh create mode 100755 herbstluftwm/.config/herbstluftwm/start.sh create mode 100755 liquidprompt/.liquidpromptrc create mode 100755 liquidprompt/.lp_ps1 create mode 100644 themes/.local/share/themes/numix-no-title/index.theme create mode 100644 themes/.local/share/themes/numix-no-title/metacity-1/metacity-theme-3.xml create mode 100644 vim/.vimrc create mode 100644 xorg/.Xresources diff --git a/.Xresources b/.Xresources deleted file mode 100644 index b489339..0000000 --- a/.Xresources +++ /dev/null @@ -1,43 +0,0 @@ -!*dpi: 145 - -! Font and Fontsize -*faceName: Droid Sans Mono -*faceSize: 11 - -! Colors -*background: #2d2d2d -*foreground: #f9f9f9 - -! Darks -*color0: #2d2d2d -*color8: #333333 - -! Reds -*color1: #690a03 -*color9: #d64937 - -! Greens -*color2: #13a43b -*color10: #6dfb2d - -! Yellows -*color3: #f5a711 -*color11: #ffdc00 - -! Blues -*color4: #0f6cc9 -*color12: #32abd8 - -! Magentas -*color5: #93116b -*color13: #c61f93 - -! Cyanes -*color6: #3cb691 -*color14: #53b4bd - -!Whites -*color7: #d9d9d9 -*color15: #f9f9f9 - -XTerm*selectToClipboard: true diff --git a/.bashrc b/.bashrc deleted file mode 100644 index ee01ef2..0000000 --- a/.bashrc +++ /dev/null @@ -1,13 +0,0 @@ -# -# ~/.bashrc -# - -# If not running interactively, don't do anything -[[ $- != *i* ]] && return - -alias ls='ls --color=auto' -#PS1='[\u@\h \W]\$ ' -PS1='[\d][\t]\u on \h\n\w => ' - -source liquidprompt -archey diff --git a/.compton b/.compton deleted file mode 100644 index 2f736fd..0000000 --- a/.compton +++ /dev/null @@ -1,3 +0,0 @@ -shadow = true; -clear-shadow = true; -shadow-exclude = ["g:si:dmenu"]; diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart deleted file mode 100755 index 109ea43..0000000 --- a/.config/herbstluftwm/autostart +++ /dev/null @@ -1,203 +0,0 @@ -#!/bin/bash - -# this is a simple config for herbstluftwm - -hc() { - herbstclient "$@" -} - -get_x_color() { - xresources=$(cat ~/.Xresources) - color=$(echo $xresources | sed "s/.*\*color$1: \(#[0-9A-Fa-f]*\).*/\1/") - echo $color -} - -hlwm_scripts="$HOME/.config/herbstluftwm" - -#wallpaper -wallpaper=/home/tom/Pictures/fall1.jpg - -#Numix color palette -export WM_LIGHT=$(get_x_color 15) -export WM_LLIGHT=$(get_x_color 7) -export WM_ACCENT=$(get_x_color 9) -export WM_LDARK=$(get_x_color 8) -export WM_DARK=$(get_x_color 0) - -#Panel and window_p -window_p=20 -monitor_w=$(hc list_monitors | sed 's/^[0-9]: \([0-9]*\)x.*$/\1/') -panel_h=24 -panel_w=$(echo "$monitor_w - (2 * $window_p)" | bc) -dmenu_opts="-h $panel_h -w $panel_w -x $window_p -y $window_p -p Run: -nb $WM_DARK -nf $WM_LIGHT -sb $WM_ACCENT -sf $WM_DARK" - -hc emir_hook reload - -# remove all existing keybindings -hc keyunbind --all - -# keybindings -Mod=Mod4 # Use the super key as the main modifier - -hc keybind $Mod-Shift-q quit -hc keybind $Mod-Shift-r reload -hc keybind $Mod-Shift-c close -hc keybind $Mod-Return spawn xterm -hc keybind $Mod-grave spawn dmenu_run $dmenu_opts -hc keybind XF86AudioLowerVolume spawn amixer set Master 5%- -hc keybind XF86AudioRaiseVolume spawn amixer set Master 5%+ - -# basic movement -# focusing clients -hc keybind $Mod-Left focus left -hc keybind $Mod-Down focus down -hc keybind $Mod-Up focus up -hc keybind $Mod-Right focus right -hc keybind $Mod-h focus left -hc keybind $Mod-j focus down -hc keybind $Mod-k focus up -hc keybind $Mod-l focus right - -# moving clients -hc keybind $Mod-Shift-Left shift left -hc keybind $Mod-Shift-Down shift down -hc keybind $Mod-Shift-Up shift up -hc keybind $Mod-Shift-Right shift right -hc keybind $Mod-Shift-h shift left -hc keybind $Mod-Shift-j shift down -hc keybind $Mod-Shift-k shift up -hc keybind $Mod-Shift-l shift right - -# splitting frames -# create an empty frame at the specified direction -hc keybind $Mod-u split bottom 0.5 -hc keybind $Mod-o split right 0.5 -# let the current frame explode into subframes -hc keybind $Mod-Control-space split explode - -# resizing frames -resizestep=0.05 -hc keybind $Mod-Control-h resize left +$resizestep -hc keybind $Mod-Control-j resize down +$resizestep -hc keybind $Mod-Control-k resize up +$resizestep -hc keybind $Mod-Control-l resize right +$resizestep -hc keybind $Mod-Control-Left resize left +$resizestep -hc keybind $Mod-Control-Down resize down +$resizestep -hc keybind $Mod-Control-Up resize up +$resizestep -hc keybind $Mod-Control-Right resize right +$resizestep - -# tags -tag_names=( I II III IV V VI VII VIII IX X ) -tag_keys=( {1..9} 0 ) - -# Selecting workspaces -hc keybind Alt-Control-Left use_index -1 -hc keybind Alt-Control-Right use_index +1 -hc rename default "${tag_names[0]}" || true -for i in ${!tag_names[@]} ; do - hc add "${tag_names[$i]}" - key="${tag_keys[$i]}" - if ! [ -z "$key" ] ; then - hc keybind "$Mod-$key" use_index "$i" - hc keybind "$Mod-Shift-$key" move_index "$i" - fi -done - -# cycle through tags -hc keybind $Mod-period use_index +1 --skip-visible -hc keybind $Mod-comma use_index -1 --skip-visible - -# layouting -hc keybind $Mod-r remove -hc keybind $Mod-space cycle_layout 1 -hc keybind $Mod-s floating toggle -hc keybind $Mod-f fullscreen toggle -hc keybind $Mod-p pseudotile toggle - -# mouse -hc mouseunbind --all -hc mousebind $Mod-Button1 move -hc mousebind $Mod-Button2 zoom -hc mousebind $Mod-Button3 resize - -# focus -hc keybind $Mod-BackSpace cycle_monitor -hc keybind $Mod-Tab cycle_all +1 -hc keybind $Mod-Shift-Tab cycle_all -1 -hc keybind $Mod-c cycle -hc keybind $Mod-i jumpto urgent -hc set focus_follows_mouse 1 - -# theme -hc attr theme.tiling.reset 1 -hc attr theme.floating.reset 1 -hc set frame_border_active_color $WM_LDARK -hc set frame_border_normal_color $WM_DARK -hc set frame_bg_normal_color $WM_LDARK -hc set frame_bg_active_color $WM_DARK -hc set frame_border_width 0 -hc set always_show_frame 0 -hc set frame_bg_transparent 1 -hc set frame_transparent_width 0 -hc set frame_gap 0 - -hc attr theme.active.color $WM_ACCENT -hc attr theme.normal.color $WM_DARK -hc attr theme.urgent.color orange -hc attr theme.inner_width 1 -hc attr theme.inner_color $WM_DARK -hc attr theme.border_width 3 -hc attr theme.floating.border_width 4 -hc attr theme.floating.outer_width 1 -hc attr theme.floating.outer_color $WM_DARK -hc attr theme.active.inner_color $WM_DARK -hc attr theme.active.outer_color $WM_DARK -hc attr theme.background_color $WM_DARK - -hc set window_gap $window_p -hc set frame_padding 0 -hc set smart_window_surroundings 0 -hc set smart_frame_surroundings 1 -hc set mouse_recenter_gap 1 - -# rules -hc unrule -F -#hc rule class=XTerm tag=3 # move all xterms to tag 3 -hc rule focus=on # normally focus new clients -#hc rule focus=off # normally do not focus new clients -# give focus to most common terminals -#hc rule class~'(.*[Rr]xvt.*|.*[Tt]erm|Konsole)' focus=on -hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' pseudotile=on -hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on -hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)' manage=off - -# unlock, just to be sure -hc unlock - -herbstclient set tree_style '╾│ ├└╼─┐' - -#Start panel in all monitors -start_panel() { - for monitor in $(herbstclient list_monitors | cut -d: -f1) ; do - "$1" $monitor $panel_h $window_p & - done -} - -# find the panel -panel=$hlwm_scripts/panel.sh -[ -x "$panel" ] || panel=/etc/xdg/herbstluftwm/panel.sh -if pgrep panel.sh >> /dev/null -then - kill $(pgrep panel.sh) - start_panel $panel -else - start_panel $panel -fi - -$hlwm_scripts/start.sh "xautolock -time 5 -locker $hlwm_scripts/lock.sh" -$hlwm_scripts/start.sh "feh --bg-fill $wallpaper" -$hlwm_scripts/start.sh "compton --config $HOME/.compton" -$hlwm_scripts/start.sh "xrdb -load $HOME/.Xresources" -$hlwm_scripts/start.sh "pulseaudio --start" -$hlwm_scripts/start.sh "dropboxd" -$hlwm_scripts/start.sh "$hlwm_scripts/notify.sh $monitor_w $window_p $panel_h $hlwm_scripts/popup.sh" diff --git a/.config/herbstluftwm/dependencylist b/.config/herbstluftwm/dependencylist deleted file mode 100644 index a18055d..0000000 --- a/.config/herbstluftwm/dependencylist +++ /dev/null @@ -1,12 +0,0 @@ -compton -bar-aint-recursive -bc -wireless_tools -dmenu2 -feh -pulseaudio -alsa-utils -sed -i3lock -scrot -xautolock diff --git a/.config/herbstluftwm/lock.sh b/.config/herbstluftwm/lock.sh deleted file mode 100755 index 04c4638..0000000 --- a/.config/herbstluftwm/lock.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -SCREENCAP="/tmp/lock.png" -scrot $SCREENCAP -convert -gaussian-blur "12x3" $SCREENCAP $SCREENCAP -i3lock -i $SCREENCAP -rm $SCREENCAP diff --git a/.config/herbstluftwm/notify.sh b/.config/herbstluftwm/notify.sh deleted file mode 100755 index 190d496..0000000 --- a/.config/herbstluftwm/notify.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -monitor_w=$1 -window_p=$2 -panel_h=$3 - -popup_w=$(echo "$monitor_w - (2 * $window_p)" | bc) -popup_h=$panel_h -popup_x=$window_p -popup_y=$window_p - -popup_opts="-w $popup_w -h $popup_h -x $popup_x -y $popup_y" - -while true; do - - bat_lvl=$(cat /sys/class/power_supply/BAT1/capacity) - bat_stat=$(cat /sys/class/power_supply/BAT1/status) - - if [[ $bat_lvl -le 5 && $bat_stat == "Discharging" ]]; then - $4 -m "Battery level critical: $bat_lvl%%" -u "high" $popup_opts - elif [[ $bat_lvl -eq 10 && $bat_stat == "Discharging" ]]; then - $4 -m "Battery level low: $bat_lvl%%" $popup_opts - elif [[ $bat_lvl -eq 50 && $bat_stat == "Discharging" ]]; then - $4 -m "Battery level at $bat_lvl%%" $popup_opts - elif [[ $bat_lvl -eq 100 && $bat_stat == "Charging" ]]; then - $4 -m "Battery fully charged" - fi - - sleep 60; -done diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh deleted file mode 100755 index 24d0e12..0000000 --- a/.config/herbstluftwm/panel.sh +++ /dev/null @@ -1,219 +0,0 @@ -#!/bin/bash - -hc() { - "${herbstclient_command[@]:-herbstclient}" "$@" ; -} - -add_alpha_channel(){ - echo "$1" | \ - sed "s/.*#\([0-9a-fA-F]*\).*/#ff\1/" -} - -monitor=${1:-0} -panel_height=$2 -padding=$3 - -light=$(add_alpha_channel $WM_LIGHT) -llight=$(add_alpha_channel $WM_LLIGHT) -accent=$(add_alpha_channel $WM_ACCENT) -ldark=$(add_alpha_channel $WM_LDARK) -dark=$(add_alpha_channel $WM_DARK) - -font="-*-fixed-medium-*-*-*-14-*-*-*-*-*-*-*" -#font="" -selected_bg=$accent -normal_bg=$dark -selected_txt=$dark -normal_txt=$light -inactive_txt=$llight - -geometry=( $(herbstclient monitor_rect "$monitor") ) -if [ -z "$geometry" ] ;then - echo "Invalid monitor $monitor" - exit 1 -fi -# geometry has the format W H X Y -x=$(echo "${geometry[0]} + $padding" | bc) -y=$(echo "${geometry[1]} + $padding" | bc) -panel_width=$(echo "${geometry[2]} - (2 * $padding)" | bc) -bar_opts="-g ${panel_width}x${panel_height}+${x}+${y} -f ${font} -u 2 -B ${normal_bg} -F ${normal_txt}" - -hc pad $monitor $(echo "$panel_height + $padding" | bc) - -if awk -Wv 2>/dev/null | head -1 | grep -q '^mawk'; then - # mawk needs "-W interactive" to line-buffer stdout correctly - # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593504 - uniq_linebuffered() { - awk -W interactive '$0 != l { print ; l=$0 ; fflush(); }' "$@" - } -else - # other awk versions (e.g. gawk) issue a warning with "-W interactive", so - # we don't want to use it there. - uniq_linebuffered() { - awk '$0 != l { print ; l=$0 ; fflush(); }' "$@" - } -fi - -{ - ### Event generator ### - # \t [...] - # e.g. - # date ^fg(#efefef)18:33^fg(#909090), 2013-10-^fg(#efefef)29 - - while true ; do - # Volume - if pgrep pulseaudio > /dev/null ; then - volumes=$(\ - amixer get Master | \ - grep "Mono: Playback"\ - ) - vol=$(\ - echo $volumes | \ - sed "s/.*\[\([0-9]*\)%\].*/\1/"\ - ) - if [ -z $vol ] ; then - echo -e "volume\toff" - elif [ $vol -le 0 ] ; then - echo -e "volume\t%{F$normal_txt}Volume muted" - else - echo -e "volume\t%{F$normal_txt}Volume: $vol%%%{F-}" - fi - else - echo -e "volume\toff" - fi - - # Network - iwconfig=$(iwconfig wlp3s0) - if [ -z $iwconfig ] ; then - echo -e "net\toff" - else - ssid=$(\ - echo $iwconfig | \ - sed "s/.*ESSID:\(\".*\"\).*/\1/" | \ - sed "s/.*\(off\/any\).*/\"\1\"/" | \ - sed "s/.*\"\(.*\)\".*/\1/"\ - ) - if [ $ssid = "off/any" ] ; then - ifconf=$ - echo -e "net\t%{F$normal_txt}Net: No connection%{F-}" - else - echo -e "net\t%{F$normal_txt}Net: $ssid%{F-}" - fi - fi - - # Battery - if $(test -e /sys/class/power_supply/BAT1) ; then - bat_lvl=$(cat /sys/class/power_supply/BAT1/capacity) - if [ $bat_lvl -lt 15 ] ; then - bat_color=$accent - else - bat_color=$normal_txt - fi - state=$(cat /sys/class/power_supply/BAT1/status) - echo -e "battery\t%{F$normal_txt}$state: %{F$bat_color}$bat_lvl%{F$normal_txt}%%%{F-}" - else - echo -e "battery\toff" - fi - - # Time - echo -e $(date +$"date\t%{F$normal_txt}%H:%M:%S %{F$inactive_txt}(%d-%m-%Y)%{F-}") - sleep 1 || break - done > >(uniq_linebuffered) & - childpid=$! - hc --idle - kill $childpid -} 2> /dev/null | { - - IFS=$'\t' read -ra tags <<< "$(hc tag_status $monitor)" - visible=true - date="" - volume="" - battery="" - net="" - windowtitle="" - while true ; do - separator="%{F$accent}|%{F-}" - # draw tags - for i in "${tags[@]}" ; do - case ${i:0:1} in - '#') - echo -n "%{U$accent+u}%{B-}%{F$normal_txt}" - ;; - '+') - echo -n "%{B$accent}%{F$normal_bg}" - ;; - ':') - echo -n "%{B-}%{F$normal_txt}" - ;; - '!') - echo -n "%{B$normal_txt}%{F$normal_bg}" - ;; - *) - echo -n "%{B-}%{F$inactive_txt}" - ;; - esac - echo -n "%{A:tag,${i:1}:} ${i:1} %{A}%{F-}%{B-}%{U-u}" - done - echo -n "$separator" - echo -n "%{B-}%{F-} ${windowtitle//^/^^}" - - #Right part of panel - right="$volume$net$battery$date " - echo -n "%{r}$right" - echo - - # wait for next event - IFS=$'\t' read -ra cmd || break - case "${cmd[0]}" in - tag*) - #echo "resetting tags" >&2 - IFS=$'\t' read -ra tags <<< "$(hc tag_status $monitor)" - ;; - volume) - volume="${cmd[@]:1}" - if [ $volume == "off" ] ; then - volume="" - else - volume="$volume $separator%{B-} " - fi - ;; - net) - net="${cmd[@]:1}" - if [ $net = "off" ] ; then - net="" - else - net="$net $separator%{B-} " - fi - ;; - battery) - battery="${cmd[@]:1}" - if [ $battery == "off" ] ; then - battery="" - else - battery="$battery $separator%{B-} " - fi - ;; - date) - #echo "resetting date" >&2 - date="${cmd[@]:1}" - ;; - focus_changed|window_title_changed) - windowtitle="${cmd[@]:2}" - ;; - esac - done -} 2> /dev/null | bar $bar_opts | { - #Handle clickable areas - while read line; do - IFS=',' read -a c <<< $(echo $line) - case "${c[0]}" in - tag) - herbstclient use "${c[1]}" - echo "herbstclient use \"${c[1]}\"" - ;; - *) - echo "${c[0]}: not valid command" - ;; - esac - done -} diff --git a/.config/herbstluftwm/popup.sh b/.config/herbstluftwm/popup.sh deleted file mode 100755 index 41c5e9c..0000000 --- a/.config/herbstluftwm/popup.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash - -help () { - echo -e "Usage: popup.sh [OPTIONS]" - echo -e "Spawns a popup for a certain amount of time" - echo -e "" - echo -e "Options:" - echo -e " -m MESSAGE\t\tSpecifies message to be displayed" - echo -e " -t TIMEOUT\t\tAmount of time in seconds the popup is displayed" -} - -add_alpha_channel(){ - echo "$1" | \ - sed "s/.*#\([0-9a-fA-F]*\).*/#ff\1/" -} - -timeout=10 -message="" -x=0 -y=0 -width=120 -height=90 -urgency="info" - -while getopts ":m:t:x:y:w:h:u:" opt; do - case $opt in - m) message=$OPTARG ;; - t) timeout=$OPTARG ;; - x) x=$OPTARG ;; - y) y=$OPTARG ;; - w) width=$OPTARG ;; - h) height=$OPTARG ;; - u) urgency=$OPTARG ;; - esac -done - -if test ! $message; then - help -else - light=$(add_alpha_channel $WM_LIGHT) - llight=$(add_alpha_channel $WM_LLIGHT) - accent=$(add_alpha_channel $WM_ACCENT) - ldark=$(add_alpha_channel $WM_LDARK) - dark=$(add_alpha_channel $WM_DARK) - font="-*-fixed-medium-*-*-*-$(echo "$height - 10" | bc)-*-*-*-*-*-*-*" - bar_opts="-f ${font} -B $dark -F $light -g ${width}x${height}+${x}+${y} -u 2" - - t=$(date +%T) - - if [ $urgency == "info" ]; then - prefix="Info:" - elif [ $urgency == "high" ]; then - prefix="!!WARNING:" - fi - - { - echo "%{F$accent} $prefix %{F$light}$message %{F$llight}($t)%{F-}" - sleep $timeout - } | bar $bar_opts -fi diff --git a/.config/herbstluftwm/start.sh b/.config/herbstluftwm/start.sh deleted file mode 100755 index f10fca6..0000000 --- a/.config/herbstluftwm/start.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -opts=($@) - -program=$(echo ${opts[0]} | sed 's/^.*\/\(.*\)/\1/') - -if pgrep $program >> /dev/null -then - killall $program - ${opts[@]} & -else - ${opts[@]} & -fi diff --git a/.liquidpromptrc b/.liquidpromptrc deleted file mode 100755 index 1cb350c..0000000 --- a/.liquidpromptrc +++ /dev/null @@ -1,143 +0,0 @@ - -#################################### -# LIQUID PROMPT CONFIGURATION FILE # -#################################### - -# If you want to use different themes and features, -# you can load the corresponding files here: -#source ~/code/liquidprompt/nojhan.theme - -LP_PS1_FILE="$HOME/.lp_ps1" - -############# -# BEHAVIOUR # -############# - -# Maximal value under which the battery level is displayed -# Recommended value is 75 -LP_BATTERY_THRESHOLD=75 - -# Minimal value after which the load average is displayed -# Recommended value is 60 -LP_LOAD_THRESHOLD=60 - -# Minimal value after which the temperature is displayed (in celsius degrees) -# Recommended value is 60 -LP_TEMP_THRESHOLD=60 - -# The maximum percentage of the screen width used to display the path -# Recommended value is 35 -LP_PATH_LENGTH=35 - -# How many directories to keep at the beginning of a shortened path -# Recommended value is 2 -LP_PATH_KEEP=2 - -# Do you want to display the hostname, even if not connected through network? -# Defaults to 0 (do not display hostname when localy connected) -# set to 1 if you want to always see the hostname -LP_HOSTNAME_ALWAYS=1 - -# Do you want to display the user, even if he is the same than the logged one? -# Defaults to 1 (always display the user) -# set to 0 if you want to hide the logged user (it will always display different users) -LP_USER_ALWAYS=1 - -# Do you want to display the percentages of load/batteries along with their -# corresponding marks? Set to 0 to only print the colored marks. -# Defaults to 1 (display percentages) -LP_PERCENTS_ALWAYS=1 - -# Do you want to use the permissions feature ? -# Recommended value is 1 -LP_ENABLE_PERM=1 - -# Do you want to use the shorten path feature ? -# Recommended value is 1 -LP_ENABLE_SHORTEN_PATH=1 - -# Do you want to use the proxy detection feature ? -# Recommended value is 1 -LP_ENABLE_PROXY=1 - -# Do you want to use the jobs feature ? -# Recommended value is 1 -LP_ENABLE_JOBS=1 - -# Do you want to use the load feature ? -# Recommended value is 1 -LP_ENABLE_LOAD=1 - -# Do you want to use the batt feature ? -# Recommended value is 1 -LP_ENABLE_BATT=1 - -# Do you want to use vcs features with root account -# Recommended value is 0 -LP_ENABLE_VCS_ROOT=0 - -# Do you want to use the git special features ? -# Recommended value is 1 -LP_ENABLE_GIT=1 - -# Do you want to use the svn special features ? -# Recommended value is 1 -LP_ENABLE_SVN=1 - -# Do you want to use the mercurial special features ? -# Recommended value is 1 -LP_ENABLE_HG=1 - -# Do you want to use the fossil special features ? -# Recommended value is 1 -LP_ENABLE_FOSSIL=1 - -# Do you want to use the bzr special features ? -# Recommanded value is 1 -LP_ENABLE_BZR=1 - -# Show time of the last prompt display -# Recommended value is 0 -LP_ENABLE_TIME=1 - -# Show runtime of the last command if over LP_RUNTIME_THRESHOLD -# Recommended value is 0 -LP_ENABLE_RUNTIME=0 - -# Minimal runtime to be displayed -# Recommended value is 2 -LP_RUNTIME_THRESHOLD=2 - -# Display the virtualenv that is currently activated, if any -# Recommended value is 1 -LP_ENABLE_VIRTUALENV=1 - -# Show average system temperature -LP_ENABLE_TEMP=1 - -# When showing time, use an analog clock instead of numeric values. -# The analog clock is "accurate" to the nearest half hour. -# You must have a unicode-capable terminal and a font with the "CLOCK" -# characters. -# Recommended value is 0 -LP_TIME_ANALOG=0 - -# Use the liquid prompt as the title of the terminal window -# The content is not customizable, the implementation is very basic, -# and this may not work properly on exotic terminals, thus the -# recommended value is -# See LP_TITLE_OPEN and LP_TITLE_CLOSE to change escape characters to adapt this -# feature to your specific terminal. -LP_ENABLE_TITLE=0 - -# Enable Title for screen and byobu -LP_ENABLE_SCREEN_TITLE=0 - -# Use differents colors for differents hosts you SSH in -LP_ENABLE_SSH_COLORS=0 - -# Specify a list of complete and colon (":") separated paths in which, all vcs -# will be disabled -LP_DISABLED_VCS_PATH="" - -# vim: set et sts=4 sw=4 tw=120 ft=sh: diff --git a/.local/share/themes/numix-no-title/index.theme b/.local/share/themes/numix-no-title/index.theme deleted file mode 100644 index 33b73d8..0000000 --- a/.local/share/themes/numix-no-title/index.theme +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Type=X-GNOME-Metatheme -Name=Numix - No title -Comment=A modern flat theme -Encoding=UTF-8 - -[X-GNOME-Metatheme] -GtkTheme=Numix - No title -MetacityTheme=Numix - No title -ButtonLayout=:minimize diff --git a/.local/share/themes/numix-no-title/metacity-1/metacity-theme-3.xml b/.local/share/themes/numix-no-title/metacity-1/metacity-theme-3.xml deleted file mode 100644 index 1beaa48..0000000 --- a/.local/share/themes/numix-no-title/metacity-1/metacity-theme-3.xml +++ /dev/null @@ -1,1588 +0,0 @@ - - - - Numix - Satyajit Sahoo - GPL-3.0+ - 11 December 2013 - Numix Mutter Theme - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <title version=">= 3.1" - x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width))) + 2" - y="(0 `max` ((height - title_height) / 2))" - ellipsize_width="width" - color="C_title_focused" /> -</draw_ops> - -<draw_ops name="title_unfocused"> - <title version="< 3.1" - x="(0 `max` ((width - title_width) / 2)) + 2" - y="(0 `max` ((height - title_height) / 2))" - color="C_title_unfocused" /> - <title version=">= 3.1" - x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width))) + 2" - y="(0 `max` ((height - title_height) / 2))" - ellipsize_width="width" - color="C_title_unfocused" /> -</draw_ops> - -<!-- ::: WINDOW DECORATIONS ::: --> -<draw_ops name="entire_background_focused"> - <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> -</draw_ops> - -<draw_ops name="entire_background_unfocused"> - <include name="entire_background_focused" /> -</draw_ops> - -<draw_ops name="titlebar_fill_focused"> - <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> -</draw_ops> - -<draw_ops name="titlebar_fill_attached_focused"> - <include name="entire_background_focused" /> -</draw_ops> - -<draw_ops name="titlebar_fill_unfocused"> - <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> -</draw_ops> - -<draw_ops name="titlebar_focused"> - <include name="titlebar_fill_focused" /> -</draw_ops> - -<draw_ops name="titlebar_attached_focused"> <!-- titlebar for attached and modal dialogs --> - <include name="titlebar_fill_attached_focused" /> -</draw_ops> - -<draw_ops name="rounded_titlebar_focused"> - <include name="titlebar_fill_focused" /> -</draw_ops> - -<draw_ops name="border_focused"> - <rectangle color="C_border_focused" x="0" y="0" width="width-1" height="height-1" filled="false" /> -</draw_ops> - -<draw_ops name="border_unfocused"> - <rectangle color="C_border_unfocused" x="0" y="0" width="width-1" height="height-1" filled="false" /> -</draw_ops> - -<draw_ops name="rounded_border_focused"> - <line color="C_border_focused" x1="2" y1="0" x2="width-3" y2="0" /> - <line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> - <line color="C_border_focused" x1="0" y1="2" x2="0" y2="height-2" /> - <line color="C_border_focused" x1="width-1" y1="2" x2="width-1" y2="height-2" /> - <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> - <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> - <!-- double arcs for darker borders --> - <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> - <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> -</draw_ops> - -<draw_ops name="rounded_border_unfocused"> - <line color="C_border_unfocused" x1="2" y1="0" x2="width-3" y2="0" /> - <line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> - <line color="C_border_unfocused" x1="0" y1="2" x2="0" y2="height-2" /> - <line color="C_border_unfocused" x1="width-1" y1="2" x2="width-1" y2="height-2" /> - <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> - <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> - <!-- double arcs for darker borders --> - <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> - <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> -</draw_ops> - -<draw_ops name="border_right_focused"> - <line - x1="width-1" y1="0" - x2="width-1" y2="height" - color="C_border_focused" /> -</draw_ops> - -<draw_ops name="border_right_unfocused"> - <line - x1="width-1" y1="0" - x2="width-1" y2="height" - color="C_border_unfocused" /> -</draw_ops> - -<draw_ops name="border_left_focused"> - <line - x1="0" y1="0" - x2="0" y2="height" - color="C_border_focused" /> -</draw_ops> - -<draw_ops name="border_left_unfocused"> - <line - x1="0" y1="0" - x2="0" y2="height" - color="C_border_unfocused" /> -</draw_ops> - -<!-- ::: BUTTON ICONS ::: --> -<!-- note: negative values in x or y causes gnome-shell to crash --> -<!-- close icon --> -<draw_ops name="close_focused"> - <line - x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" - x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" - color="C_icons_focused" /> - <line - x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" - x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" - color="C_icons_focused" /> - <line - x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" - x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" - color="C_icons_focused" /> - <line - x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" - color="C_icons_focused" /> - <line - x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" - x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" - color="C_icons_focused" /> - <line - x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" - color="C_icons_focused" /> -</draw_ops> - -<draw_ops name="close_focused_prelight"> - <line - x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" - x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" - color="C_icons_focused_prelight" /> - <line - x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" - x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" - color="C_icons_focused_prelight" /> - <line - x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" - x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" - color="C_icons_focused_prelight" /> - <line - x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" - color="C_icons_focused_prelight" /> - <line - x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" - x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" - color="C_icons_focused_prelight" /> - <line - x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" - color="C_icons_focused_prelight" /> -</draw_ops> - -<draw_ops name="close_focused_pressed"> - <line - x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" - x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" - color="C_icons_focused_pressed" /> - <line - x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" - x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" - color="C_icons_focused_pressed" /> - <line - x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" - x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" - color="C_icons_focused_pressed" /> - <line - x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" - color="C_icons_focused_pressed" /> - <line - x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" - x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" - color="C_icons_focused_pressed" /> - <line - x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" - color="C_icons_focused_pressed" /> -</draw_ops> - -<draw_ops name="close_unfocused"> - <line - x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" - x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" - color="C_icons_unfocused" /> - <line - x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" - x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" - color="C_icons_unfocused" /> - <line - x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" - x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" - color="C_icons_unfocused" /> - <line - x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" - color="C_icons_unfocused" /> - <line - x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" - x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" - color="C_icons_unfocused" /> - <line - x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" - color="C_icons_unfocused" /> -</draw_ops> - -<draw_ops name="close_unfocused_prelight"> - <include name="close_focused_prelight" /> -</draw_ops> - -<draw_ops name="close_unfocused_pressed"> - <include name="close_focused_pressed" /> -</draw_ops> - -<!-- maximize icon --> -<draw_ops name="maximize_focused"> - <rectangle - x="(width-width%3)/3+1" y="(height-height%3)/3+1" - width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" - color="C_icons_focused" /> - <rectangle - x="(width-width%3)/3+2" y="(height-height%3)/3+2" - width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" - color="C_icons_focused" /> -</draw_ops> - -<draw_ops name="maximize_focused_prelight"> - <rectangle - x="(width-width%3)/3+1" y="(height-height%3)/3+1" - width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" - color="C_icons_focused_prelight" /> - <rectangle - x="(width-width%3)/3+2" y="(height-height%3)/3+2" - width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" - color="C_icons_focused_prelight" /> -</draw_ops> - -<draw_ops name="maximize_focused_pressed"> - <rectangle - x="(width-width%3)/3+1" y="(height-height%3)/3+1" - width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" - color="C_icons_focused_pressed" /> - <rectangle - x="(width-width%3)/3+2" y="(height-height%3)/3+2" - width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" - color="C_icons_focused_pressed" /> -</draw_ops> - -<draw_ops name="maximize_unfocused"> - <rectangle - x="(width-width%3)/3+1" y="(height-height%3)/3+1" - width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" - color="C_icons_unfocused" /> - <rectangle - x="(width-width%3)/3+2" y="(height-height%3)/3+2" - width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" - color="C_icons_unfocused" /> -</draw_ops> - -<draw_ops name="maximize_unfocused_prelight"> - <include name="maximize_focused_prelight" /> -</draw_ops> - -<draw_ops name="maximize_unfocused_pressed"> - <include name="maximize_focused_pressed" /> -</draw_ops> - -<!-- unmaximize icon --> -<draw_ops name="unmaximize_focused"> - <rectangle - x="(width-width%3)/3+1" y="(height-height%3)/3+1" - width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" - color="C_icons_focused" /> - <rectangle - x="(width-width%3)/3+2" y="(height-height%3)/3+2" - width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" - color="C_icons_focused" /> -</draw_ops> - -<draw_ops name="unmaximize_focused_prelight"> - <rectangle - x="(width-width%3)/3+1" y="(height-height%3)/3+1" - width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" - color="C_icons_focused_prelight" /> - <rectangle - x="(width-width%3)/3+2" y="(height-height%3)/3+2" - width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" - color="C_icons_focused_prelight" /> -</draw_ops> - -<draw_ops name="unmaximize_focused_pressed"> - <rectangle - x="(width-width%3)/3+1" y="(height-height%3)/3+1" - width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" - color="C_icons_focused_pressed" /> - <rectangle - x="(width-width%3)/3+2" y="(height-height%3)/3+2" - width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" - color="C_icons_focused_pressed" /> -</draw_ops> - -<draw_ops name="unmaximize_unfocused"> - <rectangle - x="(width-width%3)/3+1" y="(height-height%3)/3+1" - width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" - color="C_icons_unfocused" /> - <rectangle - x="(width-width%3)/3+2" y="(height-height%3)/3+2" - width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" - color="C_icons_unfocused" /> -</draw_ops> - -<draw_ops name="unmaximize_unfocused_prelight"> - <include name="unmaximize_focused_prelight" /> -</draw_ops> - -<draw_ops name="unmaximize_unfocused_pressed"> - <include name="unmaximize_focused_pressed" /> -</draw_ops> - -<!-- minimize icon --> -<draw_ops name="minimize_focused"> - <rectangle - x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" - width="width-2*(width-width%3)/3-2" height="2" filled="true" - color="C_icons_focused" /> -</draw_ops> - -<draw_ops name="minimize_focused_prelight"> - <rectangle - x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" - width="width-2*(width-width%3)/3-2" height="2" filled="true" - color="C_icons_focused_prelight" /> -</draw_ops> - -<draw_ops name="minimize_focused_pressed"> - <rectangle - x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" - width="width-2*(width-width%3)/3-2" height="2" filled="true" - color="C_icons_focused_pressed" /> -</draw_ops> - -<draw_ops name="minimize_unfocused"> - <rectangle - x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" - width="width-2*(width-width%3)/3-2" height="2" filled="true" - color="C_icons_unfocused" /> -</draw_ops> - -<draw_ops name="minimize_unfocused_prelight"> - <include name="minimize_focused_prelight" /> -</draw_ops> - -<draw_ops name="minimize_unfocused_pressed"> - <include name="minimize_focused_pressed" /> -</draw_ops> - -<!-- menu icon --> -<draw_ops name="menu_focused"> - <rectangle - x="(width-width%3)/3+2" y="(height-height%3)/3+1" - width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" - color="C_icons_focused" /> - <rectangle - x="(width-width%3)/3+3" y="(height-height%3)/3+2" - width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" - color="C_icons_focused" /> - <rectangle - x="(width-width%3)/3+5" y="height/2-2" - width="width-2*(width-width%3)/3-8" height="2" filled="true" - color="C_icons_focused" /> -</draw_ops> - -<draw_ops name="menu_focused_prelight"> - <rectangle - x="(width-width%3)/3+2" y="(height-height%3)/3+1" - width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" - color="C_icons_focused_prelight" /> - <rectangle - x="(width-width%3)/3+3" y="(height-height%3)/3+2" - width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" - color="C_icons_focused_prelight" /> - <rectangle - x="(width-width%3)/3+5" y="height/2-2" - width="width-2*(width-width%3)/3-8" height="2" filled="true" - color="C_icons_focused_prelight" /> -</draw_ops> - -<draw_ops name="menu_focused_pressed"> - <rectangle - x="(width-width%3)/3+2" y="(height-height%3)/3+1" - width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" - color="C_icons_focused_pressed" /> - <rectangle - x="(width-width%3)/3+3" y="(height-height%3)/3+2" - width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" - color="C_icons_focused_pressed" /> - <rectangle - x="(width-width%3)/3+5" y="height/2-2" - width="width-2*(width-width%3)/3-8" height="2" filled="true" - color="C_icons_focused_pressed" /> -</draw_ops> - -<draw_ops name="menu_unfocused"> - <rectangle - x="(width-width%3)/3+2" y="(height-height%3)/3+1" - width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" - color="C_icons_unfocused" /> - <rectangle - x="(width-width%3)/3+3" y="(height-height%3)/3+2" - width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" - color="C_icons_unfocused" /> - <rectangle - x="(width-width%3)/3+5" y="height/2-2" - width="width-2*(width-width%3)/3-8" height="2" filled="true" - color="C_icons_unfocused" /> -</draw_ops> - -<draw_ops name="menu_unfocused_prelight"> - <include name="menu_focused_prelight" /> -</draw_ops> - -<draw_ops name="menu_unfocused_pressed"> - <include name="menu_focused_pressed" /> -</draw_ops> - -<!-- shade icon --> -<draw_ops name="shade_focused"> - <line - x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" - x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" - color="C_icons_focused" /> - <line - x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" - x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" - color="C_icons_focused" /> - <line - x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" - x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" - color="C_icons_focused" /> - <line - x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" - color="C_icons_focused" /> - <line - x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" - x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" - color="C_icons_focused" /> - <line - x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" - color="C_icons_focused" /> - <rectangle - x="(width-width%3)/3+3" y="height/2-2" - width="width-2*(width-width%3)/3-8" height="6" filled="true" - color="C_icons_focused" /> -</draw_ops> - -<draw_ops name="shade_focused_prelight"> - <line - x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" - x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" - color="C_icons_focused_prelight" /> - <line - x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" - x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" - color="C_icons_focused_prelight" /> - <line - x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" - x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" - color="C_icons_focused_prelight" /> - <line - x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" - color="C_icons_focused_prelight" /> - <line - x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" - x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" - color="C_icons_focused_prelight" /> - <line - x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" - color="C_icons_focused_prelight" /> - <rectangle - x="(width-width%3)/3+3" y="height/2-2" - width="width-2*(width-width%3)/3-8" height="6" filled="true" - color="C_icons_focused_prelight" /> -</draw_ops> - -<draw_ops name="shade_focused_pressed"> - <line - x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" - x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" - color="C_icons_focused_pressed" /> - <line - x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" - x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" - color="C_icons_focused_pressed" /> - <line - x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" - x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" - color="C_icons_focused_pressed" /> - <line - x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" - color="C_icons_focused_pressed" /> - <line - x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" - x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" - color="C_icons_focused_pressed" /> - <line - x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" - color="C_icons_focused_pressed" /> - <rectangle - x="(width-width%3)/3+3" y="height/2-2" - width="width-2*(width-width%3)/3-8" height="6" filled="true" - color="C_icons_focused_pressed" /> -</draw_ops> - -<draw_ops name="shade_unfocused"> - <line - x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" - x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" - color="C_icons_unfocused" /> - <line - x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" - x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" - color="C_icons_unfocused" /> - <line - x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" - x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" - color="C_icons_unfocused" /> - <line - x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" - color="C_icons_unfocused" /> - <line - x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" - x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" - color="C_icons_unfocused" /> - <line - x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" - color="C_icons_unfocused" /> - <rectangle - x="(width-width%3)/3+3" y="height/2-2" - width="width-2*(width-width%3)/3-8" height="6" filled="true" - color="C_icons_unfocused" /> -</draw_ops> - -<draw_ops name="shade_unfocused_prelight"> - <include name="shade_focused_prelight" /> -</draw_ops> - -<draw_ops name="shade_unfocused_pressed"> - <include name="shade_focused_pressed" /> -</draw_ops> - -<!-- unshade icon --> -<draw_ops name="unshade_focused"> - <line - x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" - x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" - color="C_icons_focused" /> - <line - x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" - x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" - color="C_icons_focused" /> - <line - x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" - x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" - color="C_icons_focused" /> - <line - x1="(width-width%3)/3" y1="(height-height%3)/3+4" - x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" - color="C_icons_focused" /> - <line - x1="(width-width%3)/3" y1="(height-height%3)/3+5" - x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" - color="C_icons_focused" /> - <line - x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" - x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" - color="C_icons_focused" /> - <rectangle - x="(width-width%3)/3+3" y="height/2-4" - width="width-2*(width-width%3)/3-8" height="6" filled="true" - color="C_icons_focused" /> -</draw_ops> - -<draw_ops name="unshade_focused_prelight"> - <line - x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" - x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" - color="C_icons_focused_prelight" /> - <line - x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" - x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" - color="C_icons_focused_prelight" /> - <line - x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" - x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" - color="C_icons_focused_prelight" /> - <line - x1="(width-width%3)/3" y1="(height-height%3)/3+4" - x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" - color="C_icons_focused_prelight" /> - <line - x1="(width-width%3)/3" y1="(height-height%3)/3+5" - x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" - color="C_icons_focused_prelight" /> - <line - x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" - x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" - color="C_icons_focused_prelight" /> - <rectangle - x="(width-width%3)/3+3" y="height/2-4" - width="width-2*(width-width%3)/3-8" height="6" filled="true" - color="C_icons_focused_prelight" /> -</draw_ops> - -<draw_ops name="unshade_focused_pressed"> - <line - x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" - x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" - color="C_icons_focused_pressed" /> - <line - x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" - x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" - color="C_icons_focused_pressed" /> - <line - x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" - x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" - color="C_icons_focused_pressed" /> - <line - x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" - color="C_icons_focused_pressed" /> - <line - x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" - x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" - color="C_icons_focused_pressed" /> - <line - x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" - x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" - color="C_icons_focused_pressed" /> - <rectangle - x="(width-width%3)/3+3" y="height/2-2" - width="width-2*(width-width%3)/3-8" height="6" filled="true" - color="C_icons_focused_pressed" /> -</draw_ops> - -<draw_ops name="unshade_unfocused"> - <line - x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" - x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" - color="C_icons_unfocused" /> - <line - x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" - x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" - color="C_icons_unfocused" /> - <line - x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" - x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" - color="C_icons_unfocused" /> - <line - x1="(width-width%3)/3" y1="(height-height%3)/3+4" - x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" - color="C_icons_unfocused" /> - <line - x1="(width-width%3)/3" y1="(height-height%3)/3+5" - x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" - color="C_icons_unfocused" /> - <line - x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" - x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" - color="C_icons_unfocused" /> - <rectangle - x="(width-width%3)/3+3" y="height/2-4" - width="width-2*(width-width%3)/3-8" height="6" filled="true" - color="C_icons_unfocused" /> -</draw_ops> - -<draw_ops name="unshade_unfocused_prelight"> - <include name="unshade_focused_prelight" /> -</draw_ops> - -<draw_ops name="unshade_unfocused_pressed"> - <include name="unshade_focused_pressed" /> -</draw_ops> - -<!-- ::: FRAME STYLES ::: --> -<frame_style name="normal_focused" geometry="normal"> - <piece position="entire_background" draw_ops="entire_background_focused" /> - <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> - <piece position="title" draw_ops="title_focused" /> - <piece position="overlay" draw_ops="rounded_border_focused" /> - <button function="close" state="normal" draw_ops="close_focused" /> - <button function="close" state="prelight" draw_ops="close_focused_prelight" /> - <button function="close" state="pressed" draw_ops="close_focused_pressed" /> - <button function="maximize" state="normal" draw_ops="maximize_focused" /> - <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> - <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> - <button function="minimize" state="normal" draw_ops="minimize_focused" /> - <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> - <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> - <button function="menu" state="normal" draw_ops="menu_focused" /> - <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> - <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> - <button function="shade" state="normal" draw_ops="shade_focused" /> - <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> - <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> - <button function="unshade" state="normal" draw_ops="unshade_focused" /> - <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> - <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> - - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="normal_unfocused" geometry="normal_unfocused"> - <piece position="entire_background" draw_ops="entire_background_unfocused" /> - <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> - <piece position="title" draw_ops="title_unfocused" /> - <piece position="overlay" draw_ops="rounded_border_unfocused" /> - <button function="close" state="normal" draw_ops="close_unfocused" /> - <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> - <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> - <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> - <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> - <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> - <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> - <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> - <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> - <button function="menu" state="normal" draw_ops="menu_unfocused" /> - <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> - <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> - <button function="shade" state="normal" draw_ops="shade_unfocused" /> - <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> - <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> - <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> - <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> - <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="normal_max_focused" geometry="max"> - <piece position="entire_background" draw_ops="entire_background_focused" /> - <piece position="titlebar" draw_ops="titlebar_fill_focused" /> - <piece position="title" draw_ops="title_focused" /> - <button function="close" state="normal" draw_ops="close_focused" /> - <button function="close" state="prelight" draw_ops="close_focused_prelight" /> - <button function="close" state="pressed" draw_ops="close_focused_pressed" /> - <button function="maximize" state="normal" draw_ops="maximize_focused" /> - <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> - <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> - <button function="minimize" state="normal" draw_ops="minimize_focused" /> - <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> - <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> - <button function="menu" state="normal" draw_ops="menu_focused" /> - <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> - <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> - <button function="shade" state="normal" draw_ops="shade_focused" /> - <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> - <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> - <button function="unshade" state="normal" draw_ops="unshade_focused" /> - <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> - <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> - - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="normal_max_unfocused" geometry="max"> - <piece position="entire_background" draw_ops="entire_background_unfocused" /> - <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> - <piece position="title" draw_ops="title_unfocused" /> - <button function="close" state="normal" draw_ops="close_unfocused" /> - <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> - <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> - <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> - <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> - <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> - <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> - <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> - <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> - <button function="menu" state="normal" draw_ops="menu_unfocused" /> - <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> - <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> - <button function="shade" state="normal" draw_ops="shade_unfocused" /> - <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> - <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> - <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> - <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> - <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="normal_max_shaded_focused" geometry="max"> - <piece position="entire_background" draw_ops="entire_background_focused" /> - <piece position="titlebar" draw_ops="titlebar_fill_focused" /> - <piece position="title" draw_ops="title_focused" /> - <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_focused" /></draw_ops></piece> - <button function="close" state="normal" draw_ops="close_focused" /> - <button function="close" state="prelight" draw_ops="close_focused_prelight" /> - <button function="close" state="pressed" draw_ops="close_focused_pressed" /> - <button function="maximize" state="normal" draw_ops="maximize_focused" /> - <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> - <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> - <button function="minimize" state="normal" draw_ops="minimize_focused" /> - <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> - <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> - <button function="menu" state="normal" draw_ops="menu_focused" /> - <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> - <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> - <button function="shade" state="normal" draw_ops="shade_focused" /> - <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> - <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> - <button function="unshade" state="normal" draw_ops="unshade_focused" /> - <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> - <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> - - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="normal_max_shaded_unfocused" geometry="max"> - <piece position="entire_background" draw_ops="entire_background_unfocused" /> - <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> - <piece position="title" draw_ops="title_unfocused" /> - <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_unfocused" /></draw_ops></piece> - <button function="close" state="normal" draw_ops="close_unfocused" /> - <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> - <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> - <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> - <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> - <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> - <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> - <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> - <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> - <button function="menu" state="normal" draw_ops="menu_unfocused" /> - <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> - <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> - <button function="shade" state="normal" draw_ops="shade_unfocused" /> - <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> - <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> - <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> - <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> - <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="dialog_focused" geometry="nobuttons"> - <piece position="entire_background" draw_ops="entire_background_focused" /> - <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> - <piece position="title" draw_ops="title_focused" /> - <piece position="overlay" draw_ops="rounded_border_focused" /> - <button function="close" state="normal" draw_ops="close_focused" /> - <button function="close" state="prelight" draw_ops="close_focused_prelight" /> - <button function="close" state="pressed" draw_ops="close_focused_pressed" /> - <button function="maximize" state="normal" draw_ops="maximize_focused" /> - <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> - <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> - <button function="minimize" state="normal" draw_ops="minimize_focused" /> - <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> - <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> - <button function="menu" state="normal" draw_ops="menu_focused" /> - <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> - <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> - <button function="shade" state="normal" draw_ops="shade_focused" /> - <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> - <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> - <button function="unshade" state="normal" draw_ops="unshade_focused" /> - <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> - <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> - - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="dialog_unfocused" geometry="nobuttons"> - <piece position="entire_background" draw_ops="entire_background_unfocused" /> - <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> - <piece position="title" draw_ops="title_unfocused" /> - <piece position="overlay" draw_ops="rounded_border_unfocused" /> - <button function="close" state="normal" draw_ops="close_unfocused" /> - <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> - <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> - <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> - <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> - <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> - <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> - <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> - <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> - <button function="menu" state="normal" draw_ops="menu_unfocused" /> - <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> - <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> - <button function="shade" state="normal"><draw_ops></draw_ops></button> - <button function="shade" state="prelight"><draw_ops></draw_ops></button> - <button function="shade" state="pressed"><draw_ops></draw_ops></button> - <button function="unshade" state="normal"><draw_ops></draw_ops></button> - <button function="unshade" state="prelight"><draw_ops></draw_ops></button> - <button function="unshade" state="pressed"><draw_ops></draw_ops></button> - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="modal_dialog_focused" geometry="modal"> - <piece position="entire_background" draw_ops="entire_background_focused" /> - <piece position="titlebar" draw_ops="titlebar_attached_focused" /> - <piece position="title" draw_ops="title_focused" /> - <piece position="overlay" draw_ops="border_focused" /> - <button function="close" state="normal" draw_ops="close_focused" /> - <button function="close" state="prelight" draw_ops="close_focused_prelight" /> - <button function="close" state="pressed" draw_ops="close_focused_pressed" /> - <button function="maximize" state="normal" draw_ops="maximize_focused" /> - <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> - <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> - <button function="minimize" state="normal" draw_ops="minimize_focused" /> - <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> - <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> - <button function="menu" state="normal" draw_ops="menu_focused" /> - <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> - <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> - <button function="shade" state="normal" draw_ops="shade_focused" /> - <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> - <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> - <button function="unshade" state="normal" draw_ops="unshade_focused" /> - <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> - <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> - - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button><button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="modal_dialog_unfocused" geometry="modal"> - <piece position="entire_background" draw_ops="entire_background_unfocused" /> - <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> - <piece position="title" draw_ops="title_unfocused" /> - <piece position="overlay" draw_ops="border_unfocused" /> - <button function="close" state="normal" draw_ops="close_unfocused" /> - <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> - <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> - <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> - <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> - <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> - <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> - <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> - <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> - <button function="menu" state="normal" draw_ops="menu_unfocused" /> - <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> - <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> - <button function="shade" state="normal" draw_ops="shade_unfocused" /> - <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> - <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> - <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> - <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> - <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="utility_focused" geometry="small"> - <piece position="entire_background" draw_ops="entire_background_focused" /> - <piece position="titlebar" draw_ops="titlebar_focused" /> - <piece position="title" draw_ops="title_focused" /> - <piece position="overlay" draw_ops="border_focused" /> - <button function="close" state="normal" draw_ops="close_focused" /> - <button function="close" state="prelight" draw_ops="close_focused_prelight" /> - <button function="close" state="pressed" draw_ops="close_focused_pressed" /> - <button function="maximize" state="normal" draw_ops="maximize_focused" /> - <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> - <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> - <button function="minimize" state="normal" draw_ops="minimize_focused" /> - <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> - <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> - <button function="menu" state="normal" draw_ops="menu_focused" /> - <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> - <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> - <button function="shade" state="normal" draw_ops="shade_focused" /> - <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> - <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> - <button function="unshade" state="normal" draw_ops="unshade_focused" /> - <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> - <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> - - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="utility_unfocused" geometry="small_unfocused"> - <piece position="entire_background" draw_ops="entire_background_unfocused" /> - <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> - <piece position="title" draw_ops="title_unfocused" /> - <piece position="overlay" draw_ops="border_unfocused" /> - <button function="close" state="normal" draw_ops="close_unfocused" /> - <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> - <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> - <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> - <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> - <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> - <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> - <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> - <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> - <button function="menu" state="normal" draw_ops="menu_unfocused" /> - <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> - <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> - <button function="shade" state="normal" draw_ops="shade_unfocused" /> - <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> - <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> - <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> - <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> - <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="border_focused" geometry="border"> - <piece position="entire_background" draw_ops="entire_background_focused" /> - <piece position="overlay" draw_ops="border_focused" /> - <button function="close" state="normal"><draw_ops></draw_ops></button> - <button function="close" state="pressed"><draw_ops></draw_ops></button> - <button function="maximize" state="normal"><draw_ops></draw_ops></button> - <button function="maximize" state="pressed"><draw_ops></draw_ops></button> - <button function="minimize" state="normal"><draw_ops></draw_ops></button> - <button function="minimize" state="pressed"><draw_ops></draw_ops></button> - <button function="menu" state="normal"><draw_ops></draw_ops></button> - <button function="menu" state="pressed"><draw_ops></draw_ops></button> - <button function="shade" state="normal"><draw_ops></draw_ops></button> - <button function="shade" state="prelight"><draw_ops></draw_ops></button> - <button function="shade" state="pressed"><draw_ops></draw_ops></button> - <button function="unshade" state="normal"><draw_ops></draw_ops></button> - <button function="unshade" state="prelight"><draw_ops></draw_ops></button> - <button function="unshade" state="pressed"><draw_ops></draw_ops></button> - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="border_unfocused" geometry="border"> - <piece position="entire_background" draw_ops="entire_background_unfocused" /> - <piece position="overlay" draw_ops="border_unfocused" /> - <button function="close" state="normal"><draw_ops></draw_ops></button> - <button function="close" state="pressed"><draw_ops></draw_ops></button> - <button function="maximize" state="normal"><draw_ops></draw_ops></button> - <button function="maximize" state="pressed"><draw_ops></draw_ops></button> - <button function="minimize" state="normal"><draw_ops></draw_ops></button> - <button function="minimize" state="pressed"><draw_ops></draw_ops></button> - <button function="menu" state="normal"><draw_ops></draw_ops></button> - <button function="menu" state="pressed"><draw_ops></draw_ops></button> - <button function="shade" state="normal"><draw_ops></draw_ops></button> - <button function="shade" state="prelight"><draw_ops></draw_ops></button> - <button function="shade" state="pressed"><draw_ops></draw_ops></button> - <button function="unshade" state="normal"><draw_ops></draw_ops></button> - <button function="unshade" state="prelight"><draw_ops></draw_ops></button> - <button function="unshade" state="pressed"><draw_ops></draw_ops></button> - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="borderless" geometry="borderless"> - <button function="close" state="normal"><draw_ops></draw_ops></button> - <button function="close" state="pressed"><draw_ops></draw_ops></button> - <button function="maximize" state="normal"><draw_ops></draw_ops></button> - <button function="maximize" state="pressed"><draw_ops></draw_ops></button> - <button function="minimize" state="normal"><draw_ops></draw_ops></button> - <button function="minimize" state="pressed"><draw_ops></draw_ops></button> - <button function="menu" state="normal"><draw_ops></draw_ops></button> - <button function="menu" state="pressed"><draw_ops></draw_ops></button> - <button function="shade" state="normal"><draw_ops></draw_ops></button> - <button function="shade" state="prelight"><draw_ops></draw_ops></button> - <button function="shade" state="pressed"><draw_ops></draw_ops></button> - <button function="unshade" state="normal"><draw_ops></draw_ops></button> - <button function="unshade" state="prelight"><draw_ops></draw_ops></button> - <button function="unshade" state="pressed"><draw_ops></draw_ops></button> - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="attached_focused" geometry="attached"> - <piece position="entire_background" draw_ops="entire_background_focused" /> - <piece position="titlebar" draw_ops="titlebar_attached_focused" /> - <piece position="title" draw_ops="title_focused" /> - <piece position="overlay" draw_ops="border_focused" /> - <button function="close" state="normal"><draw_ops></draw_ops></button> - <button function="close" state="pressed"><draw_ops></draw_ops></button> - <button function="maximize" state="normal"><draw_ops></draw_ops></button> - <button function="maximize" state="pressed"><draw_ops></draw_ops></button> - <button function="minimize" state="normal"><draw_ops></draw_ops></button> - <button function="minimize" state="pressed"><draw_ops></draw_ops></button> - <button function="menu" state="normal"><draw_ops></draw_ops></button> - <button function="menu" state="pressed"><draw_ops></draw_ops></button> - <button function="shade" state="normal"><draw_ops></draw_ops></button> - <button function="shade" state="prelight"><draw_ops></draw_ops></button> - <button function="shade" state="pressed"><draw_ops></draw_ops></button> - <button function="unshade" state="normal"><draw_ops></draw_ops></button> - <button function="unshade" state="prelight"><draw_ops></draw_ops></button> - <button function="unshade" state="pressed"><draw_ops></draw_ops></button> - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="attached_unfocused" geometry="attached"> - <piece position="entire_background" draw_ops="entire_background_unfocused" /> - <piece position="titlebar" draw_ops="titlebar_attached_focused" /> - <piece position="title" draw_ops="title_unfocused" /> - <piece position="overlay" draw_ops="border_unfocused" /> - <button function="close" state="normal"><draw_ops></draw_ops></button> - <button function="close" state="pressed"><draw_ops></draw_ops></button> - <button function="maximize" state="normal"><draw_ops></draw_ops></button> - <button function="maximize" state="pressed"><draw_ops></draw_ops></button> - <button function="minimize" state="normal"><draw_ops></draw_ops></button> - <button function="minimize" state="pressed"><draw_ops></draw_ops></button> - <button function="menu" state="normal"><draw_ops></draw_ops></button> - <button function="menu" state="pressed"><draw_ops></draw_ops></button> - <button function="shade" state="normal"><draw_ops></draw_ops></button> - <button function="shade" state="prelight"><draw_ops></draw_ops></button> - <button function="shade" state="pressed"><draw_ops></draw_ops></button> - <button function="unshade" state="normal"><draw_ops></draw_ops></button> - <button function="unshade" state="prelight"><draw_ops></draw_ops></button> - <button function="unshade" state="pressed"><draw_ops></draw_ops></button> - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="tiled_left_focused" geometry="tiled_left"> - <piece position="entire_background" draw_ops="entire_background_focused" /> - <piece position="titlebar" draw_ops="titlebar_fill_focused" /> - <piece position="title" draw_ops="title_focused" /> - <piece position="overlay" draw_ops="border_right_focused" /> - <button function="close" state="normal" draw_ops="close_focused" /> - <button function="close" state="prelight" draw_ops="close_focused_prelight" /> - <button function="close" state="pressed" draw_ops="close_focused_pressed" /> - <button function="maximize" state="normal" draw_ops="maximize_focused" /> - <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> - <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> - <button function="minimize" state="normal" draw_ops="minimize_focused" /> - <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> - <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> - <button function="menu" state="normal" draw_ops="menu_focused" /> - <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> - <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> - <button function="shade" state="normal" draw_ops="shade_focused" /> - <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> - <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> - <button function="unshade" state="normal" draw_ops="unshade_focused" /> - <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> - <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> - - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="tiled_left_unfocused" geometry="tiled_left"> - <piece position="entire_background" draw_ops="entire_background_unfocused" /> - <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> - <piece position="title" draw_ops="title_unfocused" /> - <piece position="overlay" draw_ops="border_right_unfocused" /> - <button function="close" state="normal" draw_ops="close_unfocused" /> - <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> - <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> - <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> - <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> - <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> - <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> - <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> - <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> - <button function="menu" state="normal" draw_ops="menu_unfocused" /> - <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> - <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> - <button function="shade" state="normal" draw_ops="shade_unfocused" /> - <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> - <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> - <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> - <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> - <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="tiled_right_focused" geometry="tiled_right"> - <piece position="entire_background" draw_ops="entire_background_focused" /> - <piece position="titlebar" draw_ops="titlebar_fill_focused" /> - <piece position="title" draw_ops="title_focused" /> - <piece position="overlay" draw_ops="border_left_focused" /> - <button function="close" state="normal" draw_ops="close_focused" /> - <button function="close" state="prelight" draw_ops="close_focused_prelight" /> - <button function="close" state="pressed" draw_ops="close_focused_pressed" /> - <button function="maximize" state="normal" draw_ops="maximize_focused" /> - <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> - <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> - <button function="minimize" state="normal" draw_ops="minimize_focused" /> - <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> - <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> - <button function="menu" state="normal" draw_ops="menu_focused" /> - <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> - <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> - <button function="shade" state="normal" draw_ops="shade_focused" /> - <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> - <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> - <button function="unshade" state="normal" draw_ops="unshade_focused" /> - <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> - <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> - - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<frame_style name="tiled_right_unfocused" geometry="tiled_right"> - <piece position="entire_background" draw_ops="entire_background_unfocused" /> - <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> - <piece position="title" draw_ops="title_unfocused" /> - <piece position="overlay" draw_ops="border_left_unfocused" /> - <button function="close" state="normal" draw_ops="close_unfocused" /> - <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> - <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> - <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> - <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> - <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> - <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> - <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> - <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> - <button function="menu" state="normal" draw_ops="menu_unfocused" /> - <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> - <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> - <button function="shade" state="normal" draw_ops="shade_unfocused" /> - <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> - <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> - <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> - <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> - <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<!-- placeholder for unimplementated styles--> -<frame_style name="blank" geometry="normal"> - <button function="close" state="normal"><draw_ops></draw_ops></button> - <button function="close" state="pressed"><draw_ops></draw_ops></button> - <button function="maximize" state="normal"><draw_ops></draw_ops></button> - <button function="maximize" state="pressed"><draw_ops></draw_ops></button> - <button function="minimize" state="normal"><draw_ops></draw_ops></button> - <button function="minimize" state="pressed"><draw_ops></draw_ops></button> - <button function="menu" state="normal"><draw_ops></draw_ops></button> - <button function="menu" state="pressed"><draw_ops></draw_ops></button> - <button function="shade" state="normal"><draw_ops></draw_ops></button> - <button function="shade" state="prelight"><draw_ops></draw_ops></button> - <button function="shade" state="pressed"><draw_ops></draw_ops></button> - <button function="unshade" state="normal"><draw_ops></draw_ops></button> - <button function="unshade" state="prelight"><draw_ops></draw_ops></button> - <button function="unshade" state="pressed"><draw_ops></draw_ops></button> - <button function="above" state="normal"><draw_ops></draw_ops></button> - <button function="above" state="pressed"><draw_ops></draw_ops></button> - <button function="unabove" state="normal"><draw_ops></draw_ops></button> - <button function="unabove" state="pressed"><draw_ops></draw_ops></button> - <button function="stick" state="normal"><draw_ops></draw_ops></button> - <button function="stick" state="pressed"><draw_ops></draw_ops></button> - <button function="unstick" state="normal"><draw_ops></draw_ops></button> - <button function="unstick" state="pressed"><draw_ops></draw_ops></button> -</frame_style> - -<!-- ::: FRAME STYLE SETS ::: --> -<frame_style_set name="normal_style_set"> - <frame focus="yes" state="normal" resize="both" style="normal_focused" /> - <frame focus="no" state="normal" resize="both" style="normal_unfocused" /> - <frame focus="yes" state="maximized" style="normal_max_focused" /> - <frame focus="no" state="maximized" style="normal_max_unfocused" /> - <frame focus="yes" state="shaded" style="normal_focused" /> - <frame focus="no" state="shaded" style="normal_unfocused" /> - <frame focus="yes" state="maximized_and_shaded" style="normal_max_shaded_focused" /> - <frame focus="no" state="maximized_and_shaded" style="normal_max_shaded_unfocused" /> - <frame version=">= 3.3" focus="yes" state="tiled_left" style="tiled_left_focused" /> - <frame version=">= 3.3" focus="no" state="tiled_left" style="tiled_left_unfocused" /> - <frame version=">= 3.3" focus="yes" state="tiled_right" style="tiled_right_focused" /> - <frame version=">= 3.3" focus="no" state="tiled_right" style="tiled_right_unfocused" /> - <frame version=">= 3.3" focus="yes" state="tiled_left_and_shaded" style="tiled_left_focused" /> - <frame version=">= 3.3" focus="no" state="tiled_left_and_shaded" style="tiled_left_unfocused" /> - <frame version=">= 3.3" focus="yes" state="tiled_right_and_shaded" style="tiled_right_focused" /> - <frame version=">= 3.3" focus="no" state="tiled_right_and_shaded" style="tiled_right_unfocused" /> -</frame_style_set> - -<frame_style_set name="dialog_style_set"> - <frame focus="yes" state="normal" resize="both" style="dialog_focused" /> - <frame focus="no" state="normal" resize="both" style="dialog_unfocused" /> - <frame focus="yes" state="maximized" style="blank" /> - <frame focus="no" state="maximized" style="blank" /> - <frame focus="yes" state="shaded" style="dialog_focused" /> - <frame focus="no" state="shaded" style="dialog_unfocused" /> - <frame focus="yes" state="maximized_and_shaded" style="blank" /> - <frame focus="no" state="maximized_and_shaded" style="blank" /> -</frame_style_set> - -<frame_style_set name="modal_dialog_style_set"> - <frame focus="yes" state="normal" resize="both" style="modal_dialog_focused" /> - <frame focus="no" state="normal" resize="both" style="modal_dialog_unfocused" /> - <frame focus="yes" state="maximized" style="blank" /> - <frame focus="no" state="maximized" style="blank" /> - <frame focus="yes" state="shaded" style="modal_dialog_focused" /> - <frame focus="no" state="shaded" style="modal_dialog_unfocused" /> - <frame focus="yes" state="maximized_and_shaded" style="blank" /> - <frame focus="no" state="maximized_and_shaded" style="blank" /> -</frame_style_set> - -<frame_style_set name="utility_style_set"> - <frame focus="yes" state="normal" resize="both" style="utility_focused" /> - <frame focus="no" state="normal" resize="both" style="utility_unfocused" /> - <frame focus="yes" state="maximized" style="blank" /> - <frame focus="no" state="maximized" style="blank" /> - <frame focus="yes" state="shaded" style="utility_focused" /> - <frame focus="no" state="shaded" style="utility_unfocused" /> - <frame focus="yes" state="maximized_and_shaded" style="blank" /> - <frame focus="no" state="maximized_and_shaded" style="blank" /> -</frame_style_set> - -<frame_style_set name="border_style_set"> - <frame focus="yes" state="normal" resize="both" style="border_focused" /> - <frame focus="no" state="normal" resize="both" style="border_unfocused" /> - <frame focus="yes" state="maximized" style="borderless" /> - <frame focus="no" state="maximized" style="borderless" /> - <frame focus="yes" state="shaded" style="blank" /> - <frame focus="no" state="shaded" style="blank" /> - <frame focus="yes" state="maximized_and_shaded" style="blank" /> - <frame focus="no" state="maximized_and_shaded" style="blank" /> -</frame_style_set> - -<frame_style_set name="attached_style_set"> - <frame focus="yes" state="normal" resize="both" style="attached_focused" /> - <frame focus="no" state="normal" resize="both" style="attached_unfocused" /> - <frame focus="yes" state="maximized" style="blank" /> - <frame focus="no" state="maximized" style="blank" /> - <frame focus="yes" state="shaded" style="blank" /> - <frame focus="no" state="shaded" style="blank" /> - <frame focus="yes" state="maximized_and_shaded" style="blank" /> - <frame focus="no" state="maximized_and_shaded" style="blank" /> -</frame_style_set> - -<!-- ::: WINDOWS ::: --> -<window type="normal" style_set="normal_style_set" /> -<window type="dialog" style_set="dialog_style_set" /> -<window type="modal_dialog" style_set="modal_dialog_style_set" /> -<window type="menu" style_set="utility_style_set" /> -<window type="utility" style_set="utility_style_set" /> -<window type="border" style_set="border_style_set" /> -<window version=">= 3.2" type="attached" style_set="attached_style_set" /> - -</metacity_theme> diff --git a/.lp_ps1 b/.lp_ps1 deleted file mode 100755 index 821dcf7..0000000 --- a/.lp_ps1 +++ /dev/null @@ -1,30 +0,0 @@ - -####################################### -# LIQUID PROMPT DEFAULT TEMPLATE FILE # -####################################### - -# Available features: -# LP_BATT battery -# LP_LOAD load -# LP_JOBS screen sessions/running jobs/suspended jobs -# LP_USER user -# LP_HOST hostname -# LP_PERM a colon ":" -# LP_PWD current working directory -# LP_PROXY HTTP proxy -# LP_VCS the content of the current repository -# LP_ERR last error code -# LP_MARK prompt mark -# LP_TIME current time -# LP_RUNTIME runtime of last command -# LP_PS1_PREFIX user-defined general-purpose prefix (default set a generic prompt as the window title) - -# Remember that most features come with their corresponding colors, -# see the README. - -LP_PS1="[\d][\t]\u on \h\n\w${LP_VCS}${LP_MARK}" - -LP_TITLE=$(_lp_title $PS1) -PS1="${LP_TITLE}${PS1}" - -# vim: set et sts=4 sw=4 tw=120 ft=sh: diff --git a/.vimrc b/.vimrc deleted file mode 100644 index 7313a1c..0000000 --- a/.vimrc +++ /dev/null @@ -1,8 +0,0 @@ -syntax on -set number -set background=dark -set tabstop=4 - -autocmd StdinReadPre * let s:std_in=1 -autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif - diff --git a/Makefile b/Makefile index 8d2e9fb..c383450 100644 --- a/Makefile +++ b/Makefile @@ -1,59 +1,10 @@ -PWD=$(shell pwd) +ALL=$(shell ls -p | grep "/") +HOME=$(shell echo ~) -THEMES_DIR = .local/share/themes -CONFIG_DIR = .config -GTK3_DIR = gtk-3.0 - -BASHRC = .bashrc -COMPTON = .compton -GTKCSS = gtk.css -HERBSTLUFT = herbstluftwm -LIQUIDPROMPT = .liquidpromptrc -LP_PS1 = .lp_ps1 -NUMIX = numix-no-title -VIMRC = .vimrc -XRESOURCES = .Xresources - -install: all - -all: bash compton gtk3fix herbstluftwm liquidprompt numix-no-title vim xresources - -bash: - ln -sf $(PWD)/$(BASHRC) ~ - -compton: - ln -sf $(PWD)/$(COMPTON) ~ - -gtk3fix: - mkdir -p ~/$(CONFIG_DIR)/$(GTK3_DIR) - ln -sf $(PWD)/$(CONFIG_DIR)/$(GTK3_DIR)/$(GTKCSS) ~/$(CONFIG_DIR)/$(GTK3_DIR) - -herbstluftwm: - mkdir -p ~/$(CONFIG_DIR) - ln -sf $(PWD)/$(CONFIG_DIR)/$(HERBSTLUFT) ~/$(CONFIG_DIR)/ - -liquidprompt: - ln -sf $(PWD)/$(LIQUIDPROMPT) ~ - ln -sf $(PWD)/$(LP_PS1) ~ - -numix-no-title: - mkdir -p ~/$(THEMES_DIR) - ln -sf $(PWD)/$(THEMES_DIR)/$(NUMIX) ~/$(THEMES_DIR)/ - -vim: - ln -sf $(PWD)/$(VIMRC) ~ - -xresources: - ln -sf $(PWD)/$(XRESOURCES) ~ +install: + @echo "Installing dotfiles to $(HOME)" + @stow -t $(HOME) -v $(ALL) uninstall: - #remove all - -rm ~/$(BASHRC) - -rm ~/$(COMPTON) - -rm ~/$(CONFIG_DIR)/$(HERBSTLUFT) - -rm ~/$(CONFIG_DIR)/$(GTK3_DIR)/$(GTKCSS) - -rm ~/$(LIQUIDPROMPT) - -rm ~/$(LP_PS1) - -rm ~/$(THEMES_DIR)/$(NUMIX) - -rm ~/$(VIMRC) - -rm ~/$(XRESOURCES) + @echo "Uninstalling dotfiles" + @stow -t $(HOME) -Dv $(ALL) diff --git a/README.md b/README.md index a541fc9..df5a3b5 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,20 @@ Toms Dotfiles ============= + ###About -Recently I've been discovering tiling window managers and how nice it is to customize my desktop. -This means I've got a "lot" of dotfiles wanting to share across my machines and with everyone who is interested. +Recently I've been discovering tiling window managers and that customizeing my desktop is really cool. +This means I've got a "lot" of dotfiles I want to share across my machines and with everyone who is interested. + ###How to install You can - copy the files to your home directory -or - - You can run install my dotfiles with the Makefile +or + - You can run make install to stow all dotfiles to your home directory (recommanded) + +The makefile has two recepies: + - install: Installs all my dotfiles to your $HOME + - uninstall: Uninstalls all my dotfiles -The makefile has multiple recepies: - - numix-no-title: Installs a modified version of the numix metacity theme - - herbstluftwm: Installs my herbstluftwm dotfiles - - bash: Installs my bashrc file - - vim: Installs my vimrc file - - xresources: Installs my xresources file - - install: Does all of the above - - uninstall: uninstall all my dotfiles +The makefile depends on GNU Stow. -###Disclaimer -I am not responsible for the loss of any of your files! You should make a backup before installing anything! diff --git a/bash/.bashrc b/bash/.bashrc new file mode 100644 index 0000000..ee01ef2 --- /dev/null +++ b/bash/.bashrc @@ -0,0 +1,13 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +#PS1='[\u@\h \W]\$ ' +PS1='[\d][\t]\u on \h\n\w => ' + +source liquidprompt +archey diff --git a/compton/.compton b/compton/.compton new file mode 100644 index 0000000..2f736fd --- /dev/null +++ b/compton/.compton @@ -0,0 +1,3 @@ +shadow = true; +clear-shadow = true; +shadow-exclude = ["g:si:dmenu"]; diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart new file mode 100755 index 0000000..109ea43 --- /dev/null +++ b/herbstluftwm/.config/herbstluftwm/autostart @@ -0,0 +1,203 @@ +#!/bin/bash + +# this is a simple config for herbstluftwm + +hc() { + herbstclient "$@" +} + +get_x_color() { + xresources=$(cat ~/.Xresources) + color=$(echo $xresources | sed "s/.*\*color$1: \(#[0-9A-Fa-f]*\).*/\1/") + echo $color +} + +hlwm_scripts="$HOME/.config/herbstluftwm" + +#wallpaper +wallpaper=/home/tom/Pictures/fall1.jpg + +#Numix color palette +export WM_LIGHT=$(get_x_color 15) +export WM_LLIGHT=$(get_x_color 7) +export WM_ACCENT=$(get_x_color 9) +export WM_LDARK=$(get_x_color 8) +export WM_DARK=$(get_x_color 0) + +#Panel and window_p +window_p=20 +monitor_w=$(hc list_monitors | sed 's/^[0-9]: \([0-9]*\)x.*$/\1/') +panel_h=24 +panel_w=$(echo "$monitor_w - (2 * $window_p)" | bc) +dmenu_opts="-h $panel_h -w $panel_w -x $window_p -y $window_p -p Run: -nb $WM_DARK -nf $WM_LIGHT -sb $WM_ACCENT -sf $WM_DARK" + +hc emir_hook reload + +# remove all existing keybindings +hc keyunbind --all + +# keybindings +Mod=Mod4 # Use the super key as the main modifier + +hc keybind $Mod-Shift-q quit +hc keybind $Mod-Shift-r reload +hc keybind $Mod-Shift-c close +hc keybind $Mod-Return spawn xterm +hc keybind $Mod-grave spawn dmenu_run $dmenu_opts +hc keybind XF86AudioLowerVolume spawn amixer set Master 5%- +hc keybind XF86AudioRaiseVolume spawn amixer set Master 5%+ + +# basic movement +# focusing clients +hc keybind $Mod-Left focus left +hc keybind $Mod-Down focus down +hc keybind $Mod-Up focus up +hc keybind $Mod-Right focus right +hc keybind $Mod-h focus left +hc keybind $Mod-j focus down +hc keybind $Mod-k focus up +hc keybind $Mod-l focus right + +# moving clients +hc keybind $Mod-Shift-Left shift left +hc keybind $Mod-Shift-Down shift down +hc keybind $Mod-Shift-Up shift up +hc keybind $Mod-Shift-Right shift right +hc keybind $Mod-Shift-h shift left +hc keybind $Mod-Shift-j shift down +hc keybind $Mod-Shift-k shift up +hc keybind $Mod-Shift-l shift right + +# splitting frames +# create an empty frame at the specified direction +hc keybind $Mod-u split bottom 0.5 +hc keybind $Mod-o split right 0.5 +# let the current frame explode into subframes +hc keybind $Mod-Control-space split explode + +# resizing frames +resizestep=0.05 +hc keybind $Mod-Control-h resize left +$resizestep +hc keybind $Mod-Control-j resize down +$resizestep +hc keybind $Mod-Control-k resize up +$resizestep +hc keybind $Mod-Control-l resize right +$resizestep +hc keybind $Mod-Control-Left resize left +$resizestep +hc keybind $Mod-Control-Down resize down +$resizestep +hc keybind $Mod-Control-Up resize up +$resizestep +hc keybind $Mod-Control-Right resize right +$resizestep + +# tags +tag_names=( I II III IV V VI VII VIII IX X ) +tag_keys=( {1..9} 0 ) + +# Selecting workspaces +hc keybind Alt-Control-Left use_index -1 +hc keybind Alt-Control-Right use_index +1 +hc rename default "${tag_names[0]}" || true +for i in ${!tag_names[@]} ; do + hc add "${tag_names[$i]}" + key="${tag_keys[$i]}" + if ! [ -z "$key" ] ; then + hc keybind "$Mod-$key" use_index "$i" + hc keybind "$Mod-Shift-$key" move_index "$i" + fi +done + +# cycle through tags +hc keybind $Mod-period use_index +1 --skip-visible +hc keybind $Mod-comma use_index -1 --skip-visible + +# layouting +hc keybind $Mod-r remove +hc keybind $Mod-space cycle_layout 1 +hc keybind $Mod-s floating toggle +hc keybind $Mod-f fullscreen toggle +hc keybind $Mod-p pseudotile toggle + +# mouse +hc mouseunbind --all +hc mousebind $Mod-Button1 move +hc mousebind $Mod-Button2 zoom +hc mousebind $Mod-Button3 resize + +# focus +hc keybind $Mod-BackSpace cycle_monitor +hc keybind $Mod-Tab cycle_all +1 +hc keybind $Mod-Shift-Tab cycle_all -1 +hc keybind $Mod-c cycle +hc keybind $Mod-i jumpto urgent +hc set focus_follows_mouse 1 + +# theme +hc attr theme.tiling.reset 1 +hc attr theme.floating.reset 1 +hc set frame_border_active_color $WM_LDARK +hc set frame_border_normal_color $WM_DARK +hc set frame_bg_normal_color $WM_LDARK +hc set frame_bg_active_color $WM_DARK +hc set frame_border_width 0 +hc set always_show_frame 0 +hc set frame_bg_transparent 1 +hc set frame_transparent_width 0 +hc set frame_gap 0 + +hc attr theme.active.color $WM_ACCENT +hc attr theme.normal.color $WM_DARK +hc attr theme.urgent.color orange +hc attr theme.inner_width 1 +hc attr theme.inner_color $WM_DARK +hc attr theme.border_width 3 +hc attr theme.floating.border_width 4 +hc attr theme.floating.outer_width 1 +hc attr theme.floating.outer_color $WM_DARK +hc attr theme.active.inner_color $WM_DARK +hc attr theme.active.outer_color $WM_DARK +hc attr theme.background_color $WM_DARK + +hc set window_gap $window_p +hc set frame_padding 0 +hc set smart_window_surroundings 0 +hc set smart_frame_surroundings 1 +hc set mouse_recenter_gap 1 + +# rules +hc unrule -F +#hc rule class=XTerm tag=3 # move all xterms to tag 3 +hc rule focus=on # normally focus new clients +#hc rule focus=off # normally do not focus new clients +# give focus to most common terminals +#hc rule class~'(.*[Rr]xvt.*|.*[Tt]erm|Konsole)' focus=on +hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' pseudotile=on +hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on +hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)' manage=off + +# unlock, just to be sure +hc unlock + +herbstclient set tree_style '╾│ ├└╼─┐' + +#Start panel in all monitors +start_panel() { + for monitor in $(herbstclient list_monitors | cut -d: -f1) ; do + "$1" $monitor $panel_h $window_p & + done +} + +# find the panel +panel=$hlwm_scripts/panel.sh +[ -x "$panel" ] || panel=/etc/xdg/herbstluftwm/panel.sh +if pgrep panel.sh >> /dev/null +then + kill $(pgrep panel.sh) + start_panel $panel +else + start_panel $panel +fi + +$hlwm_scripts/start.sh "xautolock -time 5 -locker $hlwm_scripts/lock.sh" +$hlwm_scripts/start.sh "feh --bg-fill $wallpaper" +$hlwm_scripts/start.sh "compton --config $HOME/.compton" +$hlwm_scripts/start.sh "xrdb -load $HOME/.Xresources" +$hlwm_scripts/start.sh "pulseaudio --start" +$hlwm_scripts/start.sh "dropboxd" +$hlwm_scripts/start.sh "$hlwm_scripts/notify.sh $monitor_w $window_p $panel_h $hlwm_scripts/popup.sh" diff --git a/herbstluftwm/.config/herbstluftwm/dependencylist b/herbstluftwm/.config/herbstluftwm/dependencylist new file mode 100644 index 0000000..a18055d --- /dev/null +++ b/herbstluftwm/.config/herbstluftwm/dependencylist @@ -0,0 +1,12 @@ +compton +bar-aint-recursive +bc +wireless_tools +dmenu2 +feh +pulseaudio +alsa-utils +sed +i3lock +scrot +xautolock diff --git a/herbstluftwm/.config/herbstluftwm/lock.sh b/herbstluftwm/.config/herbstluftwm/lock.sh new file mode 100755 index 0000000..04c4638 --- /dev/null +++ b/herbstluftwm/.config/herbstluftwm/lock.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +SCREENCAP="/tmp/lock.png" +scrot $SCREENCAP +convert -gaussian-blur "12x3" $SCREENCAP $SCREENCAP +i3lock -i $SCREENCAP +rm $SCREENCAP diff --git a/herbstluftwm/.config/herbstluftwm/notify.sh b/herbstluftwm/.config/herbstluftwm/notify.sh new file mode 100755 index 0000000..190d496 --- /dev/null +++ b/herbstluftwm/.config/herbstluftwm/notify.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +monitor_w=$1 +window_p=$2 +panel_h=$3 + +popup_w=$(echo "$monitor_w - (2 * $window_p)" | bc) +popup_h=$panel_h +popup_x=$window_p +popup_y=$window_p + +popup_opts="-w $popup_w -h $popup_h -x $popup_x -y $popup_y" + +while true; do + + bat_lvl=$(cat /sys/class/power_supply/BAT1/capacity) + bat_stat=$(cat /sys/class/power_supply/BAT1/status) + + if [[ $bat_lvl -le 5 && $bat_stat == "Discharging" ]]; then + $4 -m "Battery level critical: $bat_lvl%%" -u "high" $popup_opts + elif [[ $bat_lvl -eq 10 && $bat_stat == "Discharging" ]]; then + $4 -m "Battery level low: $bat_lvl%%" $popup_opts + elif [[ $bat_lvl -eq 50 && $bat_stat == "Discharging" ]]; then + $4 -m "Battery level at $bat_lvl%%" $popup_opts + elif [[ $bat_lvl -eq 100 && $bat_stat == "Charging" ]]; then + $4 -m "Battery fully charged" + fi + + sleep 60; +done diff --git a/herbstluftwm/.config/herbstluftwm/panel.sh b/herbstluftwm/.config/herbstluftwm/panel.sh new file mode 100755 index 0000000..24d0e12 --- /dev/null +++ b/herbstluftwm/.config/herbstluftwm/panel.sh @@ -0,0 +1,219 @@ +#!/bin/bash + +hc() { + "${herbstclient_command[@]:-herbstclient}" "$@" ; +} + +add_alpha_channel(){ + echo "$1" | \ + sed "s/.*#\([0-9a-fA-F]*\).*/#ff\1/" +} + +monitor=${1:-0} +panel_height=$2 +padding=$3 + +light=$(add_alpha_channel $WM_LIGHT) +llight=$(add_alpha_channel $WM_LLIGHT) +accent=$(add_alpha_channel $WM_ACCENT) +ldark=$(add_alpha_channel $WM_LDARK) +dark=$(add_alpha_channel $WM_DARK) + +font="-*-fixed-medium-*-*-*-14-*-*-*-*-*-*-*" +#font="" +selected_bg=$accent +normal_bg=$dark +selected_txt=$dark +normal_txt=$light +inactive_txt=$llight + +geometry=( $(herbstclient monitor_rect "$monitor") ) +if [ -z "$geometry" ] ;then + echo "Invalid monitor $monitor" + exit 1 +fi +# geometry has the format W H X Y +x=$(echo "${geometry[0]} + $padding" | bc) +y=$(echo "${geometry[1]} + $padding" | bc) +panel_width=$(echo "${geometry[2]} - (2 * $padding)" | bc) +bar_opts="-g ${panel_width}x${panel_height}+${x}+${y} -f ${font} -u 2 -B ${normal_bg} -F ${normal_txt}" + +hc pad $monitor $(echo "$panel_height + $padding" | bc) + +if awk -Wv 2>/dev/null | head -1 | grep -q '^mawk'; then + # mawk needs "-W interactive" to line-buffer stdout correctly + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593504 + uniq_linebuffered() { + awk -W interactive '$0 != l { print ; l=$0 ; fflush(); }' "$@" + } +else + # other awk versions (e.g. gawk) issue a warning with "-W interactive", so + # we don't want to use it there. + uniq_linebuffered() { + awk '$0 != l { print ; l=$0 ; fflush(); }' "$@" + } +fi + +{ + ### Event generator ### + # <eventname>\t<data> [...] + # e.g. + # date ^fg(#efefef)18:33^fg(#909090), 2013-10-^fg(#efefef)29 + + while true ; do + # Volume + if pgrep pulseaudio > /dev/null ; then + volumes=$(\ + amixer get Master | \ + grep "Mono: Playback"\ + ) + vol=$(\ + echo $volumes | \ + sed "s/.*\[\([0-9]*\)%\].*/\1/"\ + ) + if [ -z $vol ] ; then + echo -e "volume\toff" + elif [ $vol -le 0 ] ; then + echo -e "volume\t%{F$normal_txt}Volume muted" + else + echo -e "volume\t%{F$normal_txt}Volume: $vol%%%{F-}" + fi + else + echo -e "volume\toff" + fi + + # Network + iwconfig=$(iwconfig wlp3s0) + if [ -z $iwconfig ] ; then + echo -e "net\toff" + else + ssid=$(\ + echo $iwconfig | \ + sed "s/.*ESSID:\(\".*\"\).*/\1/" | \ + sed "s/.*\(off\/any\).*/\"\1\"/" | \ + sed "s/.*\"\(.*\)\".*/\1/"\ + ) + if [ $ssid = "off/any" ] ; then + ifconf=$ + echo -e "net\t%{F$normal_txt}Net: No connection%{F-}" + else + echo -e "net\t%{F$normal_txt}Net: $ssid%{F-}" + fi + fi + + # Battery + if $(test -e /sys/class/power_supply/BAT1) ; then + bat_lvl=$(cat /sys/class/power_supply/BAT1/capacity) + if [ $bat_lvl -lt 15 ] ; then + bat_color=$accent + else + bat_color=$normal_txt + fi + state=$(cat /sys/class/power_supply/BAT1/status) + echo -e "battery\t%{F$normal_txt}$state: %{F$bat_color}$bat_lvl%{F$normal_txt}%%%{F-}" + else + echo -e "battery\toff" + fi + + # Time + echo -e $(date +$"date\t%{F$normal_txt}%H:%M:%S %{F$inactive_txt}(%d-%m-%Y)%{F-}") + sleep 1 || break + done > >(uniq_linebuffered) & + childpid=$! + hc --idle + kill $childpid +} 2> /dev/null | { + + IFS=$'\t' read -ra tags <<< "$(hc tag_status $monitor)" + visible=true + date="" + volume="" + battery="" + net="" + windowtitle="" + while true ; do + separator="%{F$accent}|%{F-}" + # draw tags + for i in "${tags[@]}" ; do + case ${i:0:1} in + '#') + echo -n "%{U$accent+u}%{B-}%{F$normal_txt}" + ;; + '+') + echo -n "%{B$accent}%{F$normal_bg}" + ;; + ':') + echo -n "%{B-}%{F$normal_txt}" + ;; + '!') + echo -n "%{B$normal_txt}%{F$normal_bg}" + ;; + *) + echo -n "%{B-}%{F$inactive_txt}" + ;; + esac + echo -n "%{A:tag,${i:1}:} ${i:1} %{A}%{F-}%{B-}%{U-u}" + done + echo -n "$separator" + echo -n "%{B-}%{F-} ${windowtitle//^/^^}" + + #Right part of panel + right="$volume$net$battery$date " + echo -n "%{r}$right" + echo + + # wait for next event + IFS=$'\t' read -ra cmd || break + case "${cmd[0]}" in + tag*) + #echo "resetting tags" >&2 + IFS=$'\t' read -ra tags <<< "$(hc tag_status $monitor)" + ;; + volume) + volume="${cmd[@]:1}" + if [ $volume == "off" ] ; then + volume="" + else + volume="$volume $separator%{B-} " + fi + ;; + net) + net="${cmd[@]:1}" + if [ $net = "off" ] ; then + net="" + else + net="$net $separator%{B-} " + fi + ;; + battery) + battery="${cmd[@]:1}" + if [ $battery == "off" ] ; then + battery="" + else + battery="$battery $separator%{B-} " + fi + ;; + date) + #echo "resetting date" >&2 + date="${cmd[@]:1}" + ;; + focus_changed|window_title_changed) + windowtitle="${cmd[@]:2}" + ;; + esac + done +} 2> /dev/null | bar $bar_opts | { + #Handle clickable areas + while read line; do + IFS=',' read -a c <<< $(echo $line) + case "${c[0]}" in + tag) + herbstclient use "${c[1]}" + echo "herbstclient use \"${c[1]}\"" + ;; + *) + echo "${c[0]}: not valid command" + ;; + esac + done +} diff --git a/herbstluftwm/.config/herbstluftwm/popup.sh b/herbstluftwm/.config/herbstluftwm/popup.sh new file mode 100755 index 0000000..41c5e9c --- /dev/null +++ b/herbstluftwm/.config/herbstluftwm/popup.sh @@ -0,0 +1,60 @@ +#!/bin/bash + +help () { + echo -e "Usage: popup.sh [OPTIONS]" + echo -e "Spawns a popup for a certain amount of time" + echo -e "" + echo -e "Options:" + echo -e " -m MESSAGE\t\tSpecifies message to be displayed" + echo -e " -t TIMEOUT\t\tAmount of time in seconds the popup is displayed" +} + +add_alpha_channel(){ + echo "$1" | \ + sed "s/.*#\([0-9a-fA-F]*\).*/#ff\1/" +} + +timeout=10 +message="" +x=0 +y=0 +width=120 +height=90 +urgency="info" + +while getopts ":m:t:x:y:w:h:u:" opt; do + case $opt in + m) message=$OPTARG ;; + t) timeout=$OPTARG ;; + x) x=$OPTARG ;; + y) y=$OPTARG ;; + w) width=$OPTARG ;; + h) height=$OPTARG ;; + u) urgency=$OPTARG ;; + esac +done + +if test ! $message; then + help +else + light=$(add_alpha_channel $WM_LIGHT) + llight=$(add_alpha_channel $WM_LLIGHT) + accent=$(add_alpha_channel $WM_ACCENT) + ldark=$(add_alpha_channel $WM_LDARK) + dark=$(add_alpha_channel $WM_DARK) + font="-*-fixed-medium-*-*-*-$(echo "$height - 10" | bc)-*-*-*-*-*-*-*" + bar_opts="-f ${font} -B $dark -F $light -g ${width}x${height}+${x}+${y} -u 2" + + t=$(date +%T) + + if [ $urgency == "info" ]; then + prefix="Info:" + elif [ $urgency == "high" ]; then + prefix="!!WARNING:" + fi + + { + echo "%{F$accent} $prefix %{F$light}$message %{F$llight}($t)%{F-}" + sleep $timeout + } | bar $bar_opts +fi diff --git a/herbstluftwm/.config/herbstluftwm/start.sh b/herbstluftwm/.config/herbstluftwm/start.sh new file mode 100755 index 0000000..f10fca6 --- /dev/null +++ b/herbstluftwm/.config/herbstluftwm/start.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +opts=($@) + +program=$(echo ${opts[0]} | sed 's/^.*\/\(.*\)/\1/') + +if pgrep $program >> /dev/null +then + killall $program + ${opts[@]} & +else + ${opts[@]} & +fi diff --git a/liquidprompt/.liquidpromptrc b/liquidprompt/.liquidpromptrc new file mode 100755 index 0000000..1cb350c --- /dev/null +++ b/liquidprompt/.liquidpromptrc @@ -0,0 +1,143 @@ + +#################################### +# LIQUID PROMPT CONFIGURATION FILE # +#################################### + +# If you want to use different themes and features, +# you can load the corresponding files here: +#source ~/code/liquidprompt/nojhan.theme + +LP_PS1_FILE="$HOME/.lp_ps1" + +############# +# BEHAVIOUR # +############# + +# Maximal value under which the battery level is displayed +# Recommended value is 75 +LP_BATTERY_THRESHOLD=75 + +# Minimal value after which the load average is displayed +# Recommended value is 60 +LP_LOAD_THRESHOLD=60 + +# Minimal value after which the temperature is displayed (in celsius degrees) +# Recommended value is 60 +LP_TEMP_THRESHOLD=60 + +# The maximum percentage of the screen width used to display the path +# Recommended value is 35 +LP_PATH_LENGTH=35 + +# How many directories to keep at the beginning of a shortened path +# Recommended value is 2 +LP_PATH_KEEP=2 + +# Do you want to display the hostname, even if not connected through network? +# Defaults to 0 (do not display hostname when localy connected) +# set to 1 if you want to always see the hostname +LP_HOSTNAME_ALWAYS=1 + +# Do you want to display the user, even if he is the same than the logged one? +# Defaults to 1 (always display the user) +# set to 0 if you want to hide the logged user (it will always display different users) +LP_USER_ALWAYS=1 + +# Do you want to display the percentages of load/batteries along with their +# corresponding marks? Set to 0 to only print the colored marks. +# Defaults to 1 (display percentages) +LP_PERCENTS_ALWAYS=1 + +# Do you want to use the permissions feature ? +# Recommended value is 1 +LP_ENABLE_PERM=1 + +# Do you want to use the shorten path feature ? +# Recommended value is 1 +LP_ENABLE_SHORTEN_PATH=1 + +# Do you want to use the proxy detection feature ? +# Recommended value is 1 +LP_ENABLE_PROXY=1 + +# Do you want to use the jobs feature ? +# Recommended value is 1 +LP_ENABLE_JOBS=1 + +# Do you want to use the load feature ? +# Recommended value is 1 +LP_ENABLE_LOAD=1 + +# Do you want to use the batt feature ? +# Recommended value is 1 +LP_ENABLE_BATT=1 + +# Do you want to use vcs features with root account +# Recommended value is 0 +LP_ENABLE_VCS_ROOT=0 + +# Do you want to use the git special features ? +# Recommended value is 1 +LP_ENABLE_GIT=1 + +# Do you want to use the svn special features ? +# Recommended value is 1 +LP_ENABLE_SVN=1 + +# Do you want to use the mercurial special features ? +# Recommended value is 1 +LP_ENABLE_HG=1 + +# Do you want to use the fossil special features ? +# Recommended value is 1 +LP_ENABLE_FOSSIL=1 + +# Do you want to use the bzr special features ? +# Recommanded value is 1 +LP_ENABLE_BZR=1 + +# Show time of the last prompt display +# Recommended value is 0 +LP_ENABLE_TIME=1 + +# Show runtime of the last command if over LP_RUNTIME_THRESHOLD +# Recommended value is 0 +LP_ENABLE_RUNTIME=0 + +# Minimal runtime to be displayed +# Recommended value is 2 +LP_RUNTIME_THRESHOLD=2 + +# Display the virtualenv that is currently activated, if any +# Recommended value is 1 +LP_ENABLE_VIRTUALENV=1 + +# Show average system temperature +LP_ENABLE_TEMP=1 + +# When showing time, use an analog clock instead of numeric values. +# The analog clock is "accurate" to the nearest half hour. +# You must have a unicode-capable terminal and a font with the "CLOCK" +# characters. +# Recommended value is 0 +LP_TIME_ANALOG=0 + +# Use the liquid prompt as the title of the terminal window +# The content is not customizable, the implementation is very basic, +# and this may not work properly on exotic terminals, thus the +# recommended value is +# See LP_TITLE_OPEN and LP_TITLE_CLOSE to change escape characters to adapt this +# feature to your specific terminal. +LP_ENABLE_TITLE=0 + +# Enable Title for screen and byobu +LP_ENABLE_SCREEN_TITLE=0 + +# Use differents colors for differents hosts you SSH in +LP_ENABLE_SSH_COLORS=0 + +# Specify a list of complete and colon (":") separated paths in which, all vcs +# will be disabled +LP_DISABLED_VCS_PATH="" + +# vim: set et sts=4 sw=4 tw=120 ft=sh: diff --git a/liquidprompt/.lp_ps1 b/liquidprompt/.lp_ps1 new file mode 100755 index 0000000..821dcf7 --- /dev/null +++ b/liquidprompt/.lp_ps1 @@ -0,0 +1,30 @@ + +####################################### +# LIQUID PROMPT DEFAULT TEMPLATE FILE # +####################################### + +# Available features: +# LP_BATT battery +# LP_LOAD load +# LP_JOBS screen sessions/running jobs/suspended jobs +# LP_USER user +# LP_HOST hostname +# LP_PERM a colon ":" +# LP_PWD current working directory +# LP_PROXY HTTP proxy +# LP_VCS the content of the current repository +# LP_ERR last error code +# LP_MARK prompt mark +# LP_TIME current time +# LP_RUNTIME runtime of last command +# LP_PS1_PREFIX user-defined general-purpose prefix (default set a generic prompt as the window title) + +# Remember that most features come with their corresponding colors, +# see the README. + +LP_PS1="[\d][\t]\u on \h\n\w${LP_VCS}${LP_MARK}" + +LP_TITLE=$(_lp_title $PS1) +PS1="${LP_TITLE}${PS1}" + +# vim: set et sts=4 sw=4 tw=120 ft=sh: diff --git a/themes/.local/share/themes/numix-no-title/index.theme b/themes/.local/share/themes/numix-no-title/index.theme new file mode 100644 index 0000000..33b73d8 --- /dev/null +++ b/themes/.local/share/themes/numix-no-title/index.theme @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=X-GNOME-Metatheme +Name=Numix - No title +Comment=A modern flat theme +Encoding=UTF-8 + +[X-GNOME-Metatheme] +GtkTheme=Numix - No title +MetacityTheme=Numix - No title +ButtonLayout=:minimize diff --git a/themes/.local/share/themes/numix-no-title/metacity-1/metacity-theme-3.xml b/themes/.local/share/themes/numix-no-title/metacity-1/metacity-theme-3.xml new file mode 100644 index 0000000..1beaa48 --- /dev/null +++ b/themes/.local/share/themes/numix-no-title/metacity-1/metacity-theme-3.xml @@ -0,0 +1,1588 @@ +<?xml version="1.0"?> +<metacity_theme> +<info> + <name>Numix</name> + <author>Satyajit Sahoo</author> + <copyright>GPL-3.0+</copyright> + <date>11 December 2013</date> + <description>Numix Mutter Theme</description> +</info> + +<!-- ::: CONSTANTS ::: --> +<constant name="C_titlebar" value="gtk:custom(wm_bg,#2d2d2d)" /> +<constant name="C_border_focused" value="gtk:custom(wm_border_focused,#484848)" /> +<constant name="C_border_unfocused" value="gtk:custom(wm_border_unfocused,#393939)" /> +<constant name="C_title_focused" value="gtk:custom(wm_title_focused,#dcdcdc)" /> +<constant name="C_title_unfocused" value="gtk:custom(wm_title_unfocused,#888888)" /> +<constant name="C_icons_focused" value="gtk:custom(wm_icons_focused,#dcdcdc)" /> +<constant name="C_icons_focused_prelight" value="gtk:custom(wm_icons_focused_prelight,gtk:bg[SELECTED])" /> +<constant name="C_icons_focused_pressed" value="gtk:custom(wm_icons_focused_pressed,shade/gtk:bg[SELECTED]/0.8)" /> +<constant name="C_icons_unfocused" value="gtk:custom(wm_icons_unfocused,#888888)" /> +<constant name="C_icons_unfocused_prelight" value="gtk:custom(wm_icons_focused_prelight,gtk:bg[SELECTED])" /> +<constant name="C_icons_unfocused_pressed" value="gtk:custom(wm_icons_focused_pressed,shade/gtk:bg[SELECTED]/0.8)" /> + +<!-- ::: GEOMETRY ::: --> +<frame_geometry name="normal" has_title="false" title_scale="medium" rounded_top_left="1" rounded_top_right="1"> + <distance name="left_width" value="1" /> + <distance name="right_width" value="1" /> + <distance name="bottom_height" value="1" /> + <distance name="left_titlebar_edge" value="0" /> + <distance name="right_titlebar_edge" value="0" /> + <distance name="title_vertical_pad" value="0" /> + <aspect_ratio name="button" value="1.0" /> + <border name="title_border" left="0" right="0" top="1" +bottom="0" /> + <border name="button_border" left="0" right="0" top="0" +bottom="0" /> +</frame_geometry> + +<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="1" rounded_top_right="1" parent="normal" /> + +<frame_geometry name="max" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false"> + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> + <distance name="bottom_height" value="0" /> +</frame_geometry> + +<frame_geometry name="tiled_left" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="max"> + <distance name="right_width" value="1" /> +</frame_geometry> + +<frame_geometry name="tiled_right" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="max"> + <distance name="left_width" value="1" /> +</frame_geometry> + +<frame_geometry name="small" title_scale="small" parent="normal" rounded_top_left="1" rounded_top_right="1"> + <distance name="title_vertical_pad" value="0" /> + <border name="title_border" left="8" right="8" top="4" bottom="4" /> + <border name="button_border" left="0" right="0" top="0" bottom="0" /> +</frame_geometry> + +<frame_geometry name="small_unfocused" parent="small"> + <distance name="left_titlebar_edge" value="1"/> + <distance name="right_titlebar_edge" value="1"/> +</frame_geometry> + +<frame_geometry name="nobuttons" hide_buttons="true" parent="normal" /> + +<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal" > + <distance name="left_width" value="1" /> + <distance name="right_width" value="1" /> + <distance name="bottom_height" value="1" /> + <distance name="title_vertical_pad" value="0" /> + <border name="title_border" left="0" right="0" top="0" bottom="0" /> + <border name="button_border" left="0" right="0" top="0" bottom="0"/> +</frame_geometry> + +<frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal"> + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> + <distance name="bottom_height" value="0" /> + <distance name="title_vertical_pad" value="0" /> + <border name="title_border" left="0" right="0" top="0" bottom="0" /> + <border name="button_border" left="0" right="0" top="0" bottom="0" /> +</frame_geometry> + +<frame_geometry name="modal" title_scale="small" hide_buttons="true" rounded_top_left="1" rounded_top_right="1" rounded_bottom_right="1" rounded_bottom_left="1" parent="small"> +</frame_geometry> + +<frame_geometry name="attached" title_scale="small" hide_buttons="true" rounded_top_left="1" rounded_top_right="1" parent="small"> +</frame_geometry> + +<!-- ::: TITLES ::: --> +<draw_ops name="title_focused"> + <title version="< 3.1" + x="(0 `max` ((width - title_width) / 2)) + 2" + y="(0 `max` ((height - title_height) / 2))" + color="C_title_focused" /> + <title version=">= 3.1" + x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width))) + 2" + y="(0 `max` ((height - title_height) / 2))" + ellipsize_width="width" + color="C_title_focused" /> +</draw_ops> + +<draw_ops name="title_unfocused"> + <title version="< 3.1" + x="(0 `max` ((width - title_width) / 2)) + 2" + y="(0 `max` ((height - title_height) / 2))" + color="C_title_unfocused" /> + <title version=">= 3.1" + x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width))) + 2" + y="(0 `max` ((height - title_height) / 2))" + ellipsize_width="width" + color="C_title_unfocused" /> +</draw_ops> + +<!-- ::: WINDOW DECORATIONS ::: --> +<draw_ops name="entire_background_focused"> + <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="entire_background_unfocused"> + <include name="entire_background_focused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_focused"> + <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="titlebar_fill_attached_focused"> + <include name="entire_background_focused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_unfocused"> + <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="titlebar_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="titlebar_attached_focused"> <!-- titlebar for attached and modal dialogs --> + <include name="titlebar_fill_attached_focused" /> +</draw_ops> + +<draw_ops name="rounded_titlebar_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="border_focused"> + <rectangle color="C_border_focused" x="0" y="0" width="width-1" height="height-1" filled="false" /> +</draw_ops> + +<draw_ops name="border_unfocused"> + <rectangle color="C_border_unfocused" x="0" y="0" width="width-1" height="height-1" filled="false" /> +</draw_ops> + +<draw_ops name="rounded_border_focused"> + <line color="C_border_focused" x1="2" y1="0" x2="width-3" y2="0" /> + <line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="C_border_focused" x1="0" y1="2" x2="0" y2="height-2" /> + <line color="C_border_focused" x1="width-1" y1="2" x2="width-1" y2="height-2" /> + <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> + <!-- double arcs for darker borders --> + <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="rounded_border_unfocused"> + <line color="C_border_unfocused" x1="2" y1="0" x2="width-3" y2="0" /> + <line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="C_border_unfocused" x1="0" y1="2" x2="0" y2="height-2" /> + <line color="C_border_unfocused" x1="width-1" y1="2" x2="width-1" y2="height-2" /> + <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> + <!-- double arcs for darker borders --> + <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="border_right_focused"> + <line + x1="width-1" y1="0" + x2="width-1" y2="height" + color="C_border_focused" /> +</draw_ops> + +<draw_ops name="border_right_unfocused"> + <line + x1="width-1" y1="0" + x2="width-1" y2="height" + color="C_border_unfocused" /> +</draw_ops> + +<draw_ops name="border_left_focused"> + <line + x1="0" y1="0" + x2="0" y2="height" + color="C_border_focused" /> +</draw_ops> + +<draw_ops name="border_left_unfocused"> + <line + x1="0" y1="0" + x2="0" y2="height" + color="C_border_unfocused" /> +</draw_ops> + +<!-- ::: BUTTON ICONS ::: --> +<!-- note: negative values in x or y causes gnome-shell to crash --> +<!-- close icon --> +<draw_ops name="close_focused"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="close_focused_prelight"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="close_focused_pressed"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="close_unfocused"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="close_unfocused_prelight"> + <include name="close_focused_prelight" /> +</draw_ops> + +<draw_ops name="close_unfocused_pressed"> + <include name="close_focused_pressed" /> +</draw_ops> + +<!-- maximize icon --> +<draw_ops name="maximize_focused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="maximize_focused_prelight"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_focused_pressed"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="maximize_unfocused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="maximize_unfocused_prelight"> + <include name="maximize_focused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_unfocused_pressed"> + <include name="maximize_focused_pressed" /> +</draw_ops> + +<!-- unmaximize icon --> +<draw_ops name="unmaximize_focused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="unmaximize_focused_prelight"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="unmaximize_focused_pressed"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused_prelight"> + <include name="unmaximize_focused_prelight" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused_pressed"> + <include name="unmaximize_focused_pressed" /> +</draw_ops> + +<!-- minimize icon --> +<draw_ops name="minimize_focused"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="minimize_focused_prelight"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_focused_pressed"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="minimize_unfocused"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="minimize_unfocused_prelight"> + <include name="minimize_focused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_unfocused_pressed"> + <include name="minimize_focused_pressed" /> +</draw_ops> + +<!-- menu icon --> +<draw_ops name="menu_focused"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="menu_focused_prelight"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="menu_focused_pressed"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="menu_unfocused"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="menu_unfocused_prelight"> + <include name="menu_focused_prelight" /> +</draw_ops> + +<draw_ops name="menu_unfocused_pressed"> + <include name="menu_focused_pressed" /> +</draw_ops> + +<!-- shade icon --> +<draw_ops name="shade_focused"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="shade_focused_prelight"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="shade_focused_pressed"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="shade_unfocused"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="shade_unfocused_prelight"> + <include name="shade_focused_prelight" /> +</draw_ops> + +<draw_ops name="shade_unfocused_pressed"> + <include name="shade_focused_pressed" /> +</draw_ops> + +<!-- unshade icon --> +<draw_ops name="unshade_focused"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="unshade_focused_prelight"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="unshade_focused_pressed"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="unshade_unfocused"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="unshade_unfocused_prelight"> + <include name="unshade_focused_prelight" /> +</draw_ops> + +<draw_ops name="unshade_unfocused_pressed"> + <include name="unshade_focused_pressed" /> +</draw_ops> + +<!-- ::: FRAME STYLES ::: --> +<frame_style name="normal_focused" geometry="normal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="rounded_border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_unfocused" geometry="normal_unfocused"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="rounded_border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_focused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_unfocused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_shaded_focused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_focused" /></draw_ops></piece> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_shaded_unfocused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_unfocused" /></draw_ops></piece> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="dialog_focused" geometry="nobuttons"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="rounded_border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="dialog_unfocused" geometry="nobuttons"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="rounded_border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="modal_dialog_focused" geometry="modal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button><button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="modal_dialog_unfocused" geometry="modal"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="utility_focused" geometry="small"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="utility_unfocused" geometry="small_unfocused"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="border_focused" geometry="border"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="border_unfocused" geometry="border"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="borderless" geometry="borderless"> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="attached_focused" geometry="attached"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="attached_unfocused" geometry="attached"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_left_focused" geometry="tiled_left"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_right_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_left_unfocused" geometry="tiled_left"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_right_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_right_focused" geometry="tiled_right"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_left_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_right_unfocused" geometry="tiled_right"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_left_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- placeholder for unimplementated styles--> +<frame_style name="blank" geometry="normal"> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- ::: FRAME STYLE SETS ::: --> +<frame_style_set name="normal_style_set"> + <frame focus="yes" state="normal" resize="both" style="normal_focused" /> + <frame focus="no" state="normal" resize="both" style="normal_unfocused" /> + <frame focus="yes" state="maximized" style="normal_max_focused" /> + <frame focus="no" state="maximized" style="normal_max_unfocused" /> + <frame focus="yes" state="shaded" style="normal_focused" /> + <frame focus="no" state="shaded" style="normal_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="normal_max_shaded_focused" /> + <frame focus="no" state="maximized_and_shaded" style="normal_max_shaded_unfocused" /> + <frame version=">= 3.3" focus="yes" state="tiled_left" style="tiled_left_focused" /> + <frame version=">= 3.3" focus="no" state="tiled_left" style="tiled_left_unfocused" /> + <frame version=">= 3.3" focus="yes" state="tiled_right" style="tiled_right_focused" /> + <frame version=">= 3.3" focus="no" state="tiled_right" style="tiled_right_unfocused" /> + <frame version=">= 3.3" focus="yes" state="tiled_left_and_shaded" style="tiled_left_focused" /> + <frame version=">= 3.3" focus="no" state="tiled_left_and_shaded" style="tiled_left_unfocused" /> + <frame version=">= 3.3" focus="yes" state="tiled_right_and_shaded" style="tiled_right_focused" /> + <frame version=">= 3.3" focus="no" state="tiled_right_and_shaded" style="tiled_right_unfocused" /> +</frame_style_set> + +<frame_style_set name="dialog_style_set"> + <frame focus="yes" state="normal" resize="both" style="dialog_focused" /> + <frame focus="no" state="normal" resize="both" style="dialog_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="dialog_focused" /> + <frame focus="no" state="shaded" style="dialog_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="modal_dialog_style_set"> + <frame focus="yes" state="normal" resize="both" style="modal_dialog_focused" /> + <frame focus="no" state="normal" resize="both" style="modal_dialog_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="modal_dialog_focused" /> + <frame focus="no" state="shaded" style="modal_dialog_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="utility_style_set"> + <frame focus="yes" state="normal" resize="both" style="utility_focused" /> + <frame focus="no" state="normal" resize="both" style="utility_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="utility_focused" /> + <frame focus="no" state="shaded" style="utility_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="border_style_set"> + <frame focus="yes" state="normal" resize="both" style="border_focused" /> + <frame focus="no" state="normal" resize="both" style="border_unfocused" /> + <frame focus="yes" state="maximized" style="borderless" /> + <frame focus="no" state="maximized" style="borderless" /> + <frame focus="yes" state="shaded" style="blank" /> + <frame focus="no" state="shaded" style="blank" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="attached_style_set"> + <frame focus="yes" state="normal" resize="both" style="attached_focused" /> + <frame focus="no" state="normal" resize="both" style="attached_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="blank" /> + <frame focus="no" state="shaded" style="blank" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<!-- ::: WINDOWS ::: --> +<window type="normal" style_set="normal_style_set" /> +<window type="dialog" style_set="dialog_style_set" /> +<window type="modal_dialog" style_set="modal_dialog_style_set" /> +<window type="menu" style_set="utility_style_set" /> +<window type="utility" style_set="utility_style_set" /> +<window type="border" style_set="border_style_set" /> +<window version=">= 3.2" type="attached" style_set="attached_style_set" /> + +</metacity_theme> diff --git a/vim/.vimrc b/vim/.vimrc new file mode 100644 index 0000000..7313a1c --- /dev/null +++ b/vim/.vimrc @@ -0,0 +1,8 @@ +syntax on +set number +set background=dark +set tabstop=4 + +autocmd StdinReadPre * let s:std_in=1 +autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif + diff --git a/xorg/.Xresources b/xorg/.Xresources new file mode 100644 index 0000000..b489339 --- /dev/null +++ b/xorg/.Xresources @@ -0,0 +1,43 @@ +!*dpi: 145 + +! Font and Fontsize +*faceName: Droid Sans Mono +*faceSize: 11 + +! Colors +*background: #2d2d2d +*foreground: #f9f9f9 + +! Darks +*color0: #2d2d2d +*color8: #333333 + +! Reds +*color1: #690a03 +*color9: #d64937 + +! Greens +*color2: #13a43b +*color10: #6dfb2d + +! Yellows +*color3: #f5a711 +*color11: #ffdc00 + +! Blues +*color4: #0f6cc9 +*color12: #32abd8 + +! Magentas +*color5: #93116b +*color13: #c61f93 + +! Cyanes +*color6: #3cb691 +*color14: #53b4bd + +!Whites +*color7: #d9d9d9 +*color15: #f9f9f9 + +XTerm*selectToClipboard: true -- cgit v1.3