├── .gitignore
├── README.md
├── config
├── cava
│ └── config
├── dunstrc
├── fish
│ └── functions
│ │ ├── arte.fish
│ │ ├── chopnscrew.fish
│ │ ├── fish_prompt.fish
│ │ ├── fish_title.fish
│ │ ├── hevc.fish
│ │ ├── record.fish
│ │ ├── vb0.fish
│ │ ├── webm.fish
│ │ └── x264.fish
├── fontconfig
│ ├── fonts.conf
│ └── fonts.conf.back
├── luakit
│ ├── chro.lua
│ ├── mpv.lua
│ ├── rc.lua
│ ├── theme.lua
│ └── userconf.lua
├── micro
│ ├── bindings.json
│ ├── buffers
│ │ └── history
│ ├── colorschemes
│ │ ├── sol.micro
│ │ └── vido.micro
│ └── settings.json
├── mpv
│ └── mpv.conf
├── neofetch
│ └── config
├── netwmpager
│ └── config
├── openbox
│ ├── autostart
│ ├── environment
│ ├── menu.xml
│ └── rc.xml
├── pcmanfm
│ └── default
│ │ └── pcmanfm.conf
├── picom.conf
├── quicktile.cfg
├── qutebrowser
│ └── autoconfig.yml
├── rtile
│ └── rtile.xml
├── stalonetrayrc
├── streamlink
│ └── config
├── sublime-text-3
│ └── Packages
│ │ └── User
│ │ └── Preferences.sublime-settings
├── tint2
│ └── slim
└── tmux.conf
├── irssi
├── c.theme
└── config
├── local
└── share
│ └── luakit
│ └── settings
├── mpd
└── mpd.conf
├── ncmpcpp
└── config
├── scripts
├── batstat.sh
├── battery.sh
├── ccv.sh
├── chro.sh
├── colors.sh
├── dico.sh
├── drawterm.sh
├── fonts.sh
├── img
│ └── small.png
├── irc.sh
├── layout.sh
├── mu.sh
├── nrnl.sh
├── openup.sh
├── popup
│ ├── calendar.sh
│ ├── cover.sh
│ ├── img
│ │ ├── arrow.png
│ │ ├── bg.png
│ │ └── inner-corners.png
│ └── popup.sh
├── scr.sh
├── screencord.sh
├── small.sh
├── tempus.sh
├── toggle-bar.sh
├── toggle-compositor.sh
├── toggle-drag.sh
├── toggle-pager.sh
├── toggle-tch.sh
├── toggle-tray.sh
├── vol.sh
├── wbr.sh
├── wbrrrr.sh
└── weather.sh
├── ssh
└── config
├── themes
├── bw
│ └── openbox-3
│ │ ├── bullet.xbm
│ │ ├── close.xbm
│ │ ├── iconify.xbm
│ │ ├── max.xbm
│ │ ├── max_toggled.xbm
│ │ └── themerc
├── c
│ └── openbox-3
│ │ ├── bullet.xbm
│ │ ├── close.xbm
│ │ ├── iconify.xbm
│ │ ├── max.xbm
│ │ ├── max_toggled.xbm
│ │ └── themerc
├── o
│ └── openbox-3
│ │ ├── bullet.xbm
│ │ ├── close.xbm
│ │ ├── iconify.xbm
│ │ ├── max.xbm
│ │ ├── max_toggled.xbm
│ │ └── themerc
├── polaroid
│ └── openbox-3
│ │ ├── bullet.xbm
│ │ ├── close.xbm
│ │ ├── iconify.xbm
│ │ ├── max.xbm
│ │ ├── max_toggled.xbm
│ │ └── themerc
├── spook
│ └── openbox-3
│ │ ├── bullet.xbm
│ │ ├── close.xbm
│ │ ├── iconify.xbm
│ │ ├── max.xbm
│ │ ├── max_toggled.xbm
│ │ ├── shade.xbm
│ │ └── themerc
├── w
│ └── openbox-3
│ │ ├── bullet.xbm
│ │ ├── close.xbm
│ │ ├── iconify.xbm
│ │ ├── max.xbm
│ │ ├── max_toggled.xbm
│ │ └── themerc
└── x
│ └── openbox-3
│ ├── bullet.xbm
│ ├── close.xbm
│ ├── iconify.xbm
│ ├── max.xbm
│ ├── max_toggled.xbm
│ ├── shade.xbm
│ └── themerc
└── x
└── Xdefaults
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | # Created by https://www.gitignore.io/api/macos
3 | # Edit at https://www.gitignore.io/?templates=macos
4 |
5 | ### macOS ###
6 | # General
7 | .DS_Store
8 | .AppleDouble
9 | .LSOverride
10 |
11 | # Icon must end with two \r
12 | Icon
13 |
14 | # Thumbnails
15 | ._*
16 |
17 | # Files that might appear in the root of a volume
18 | .DocumentRevisions-V100
19 | .fseventsd
20 | .Spotlight-V100
21 | .TemporaryItems
22 | .Trashes
23 | .VolumeIcon.icns
24 | .com.apple.timemachine.donotpresent
25 |
26 | # Directories potentially created on remote AFP share
27 | .AppleDB
28 | .AppleDesktop
29 | Network Trash Folder
30 | Temporary Items
31 | .apdisk
32 |
33 | # End of https://www.gitignore.io/api/macos
34 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
please don't steal too much stuff.
--------------------------------------------------------------------------------
/config/cava/config:
--------------------------------------------------------------------------------
1 | ## Configuration file for CAVA. Default values are commented out. Use either ; or # for commenting.
2 |
3 |
4 | [general]
5 |
6 | # smoothing mode, can be normal, scientific or waves.
7 | mode = waves
8 |
9 | # Framerate Default: 60. Accepts only non-negative values.
10 | framerate = 50
11 |
12 | # Sensitivity in %. If you think the bars are to low/response is to little, try
13 | # increasing this value 200 means double height. Accepts only non-negative values.
14 | sensitivity = 5
15 |
16 | # Autosens will attempt to decrease sensitivity if cava peaks. 1 = on, 0 = off
17 | # overshoot allows bars to overshoot (in % of terminal height) without initiating autosens
18 | # autosens = 1
19 | # overshoot = 20
20 |
21 | # The number of bars (0-200). 0 (default) sets it to auto (fill up console).
22 | # width of bars and space between bars in number of characters. Default width 3 and space 1.
23 | # bars = 10
24 | bar_width = 1
25 | bar_spacing = 1
26 |
27 |
28 | # Lower and higher cutoff frequencies for lowest and highest bars
29 | # the bandwith of the visualizer, defaults to 50 - 10000 Hz
30 | # Note: there is a minimum total bandwith of 43Mhz x number of bars.
31 | # Cava will automatically increase the higher cuttoff if a too low band is specified.
32 | lower_cutoff_freq = 150
33 | higher_cutoff_freq = 8000
34 |
35 |
36 |
37 | [input]
38 |
39 | # method of capturing audio, possible methods are: 'pulse', 'alsa' or 'fifo'.
40 | # Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with
41 | #
42 | # All input methods uses the same config variable 'source'
43 | # to define where it should get the audio.
44 | #
45 | # for pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink
46 | # (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them)
47 | #
48 | # for alsa 'source' will be the capture device. Default: 'hw:Loopback,1'
49 | # for fifo 'source' will be the path to fifo-file. Default: '/tmp/mpd.fifo'
50 | method = pulse
51 | source = alsa_output.pci-0000_00_05.0.analog-stereo.monitor
52 |
53 | # method = alsa
54 | # source = hw:Loopback,1
55 |
56 | # method = fifo
57 | # source = /tmp/mpd.fifo
58 |
59 |
60 |
61 | [output]
62 |
63 | # ouput method may be ncurses, noncurses or raw. noncurses is for systems that does not suport ncurses.
64 | # raw is a 16 bit data stream of the bar heights that can be used to send to other applications
65 | # raw defaults to 200 bars, can be adjusted in the bars option above
66 | method = ncurses
67 |
68 | # visual styles, may be 'stereo' or 'mono'.
69 | # Stereo mirrors both channels with low frequencies in center.
70 | # Mono averages both channels and outputs left to right lowest to highest frequencies
71 | style = stereo
72 |
73 | # raw output target defaults to stdout, a fifo will be created if target does not exist
74 | ; raw_target = /dev/stdout
75 |
76 | # raw data format, can be binary or ascii
77 | ; data_format = binary
78 |
79 | # binary bit format, can be '8bit' (0-255) or '16bit' (0-65530)
80 | bit_format = 16bit
81 |
82 | # ascii max value, in ascii mode range will run from 0 to value specified here
83 | ; ascii_max_range = 1000
84 |
85 | # ascii delimiters, in ascii format each bar and frame is separated by a delimiters.
86 | # use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed))
87 | ; bar_delimiter = 59
88 | ; frame_delimiter = 10
89 |
90 |
91 |
92 |
93 | [color]
94 |
95 | # supported colors are: red, green, yellow, magenta, cyan, white, blue, black.
96 | foreground = white
97 |
98 |
99 | [smoothing]
100 |
101 | # multiplier for the integral smoothing calculations. Takes values from 0 - 0.99.
102 | # Higher values means smoother, but less precise. 0 to disable.
103 | integral = 0.75
104 |
105 | # disables or enables the so-called "Monstercat smoothing". Default: 1. Set to 0 to disable.
106 | ; monstercat = 1
107 |
108 | # Set gravity multiplier for "drop off". Higher values means bars will drop faster.
109 | # Accepts only non-negative values. 0.5 means half gravity, 2 means double. Set to 0 to disable "drop off".
110 | gravity = 1
111 |
112 |
113 | # In bar height, bars that would have been lower that this will not be drawn.
114 | ; ignore = 1
115 |
116 |
117 | [eq]
118 |
119 | # This one is tricky. You can have as much keys as you want.
120 | # remember to uncomment more then one key! More keys = more precision.
121 | # Look at readme.md on github for further explanations and examples.
122 | ; 1 = 1 # bass
123 | ; 2 = 1
124 | ; 3 = 1 # midtone
125 | ; 4 = 1
126 | ; 5 = 1 # treble
127 |
--------------------------------------------------------------------------------
/config/dunstrc:
--------------------------------------------------------------------------------
1 | [global]
2 | font = euphon 8
3 | markup = full
4 | format = "%s\n%b"
5 | sort = yes
6 | indicate_hidden = yes
7 | alignment = right
8 | bounce_freq = 0
9 | show_age_threshold = 30
10 | word_wrap = yes
11 | ignore_newline = no
12 | geometry = "0x0-30+65"
13 | title = dunst
14 | class = dunst
15 | shrink = yes
16 | transparency = 0
17 | idle_threshold = 120
18 | monitor = 0
19 | follow = mouse
20 | stack_duplicates = true
21 | hide_duplicate_count = false
22 | sticky_history = yes
23 | history_length = 50
24 | show_indicators = yes
25 | line_height = 1
26 | notification_height = 0
27 | separator_height = 4
28 | padding = 25
29 | horizontal_padding = 50
30 | separator_color = auto
31 | browser = /usr/bin/x-www-browser
32 | # dmenu = /usr/bin/dmenu_run -b -fn "euphon-8" -nb "#13191e" -nf "#fff" -sb "#ffffff" -sf "#13191e" -h "35"
33 | icon_position = off
34 | frame_width = 0
35 | frame_color = "#000000"
36 |
37 | [shortcuts]
38 | close = ctrl+space
39 | history = ctrl+grave
40 | context = ctrl+period
41 |
42 | [urgency_low]
43 | background = "#ffffff"
44 | foreground = "#000000"
45 | timeout = 5
46 |
47 | [urgency_normal]
48 | background = "#ffffff"
49 | foreground = "#000000"
50 | timeout = 5
51 |
52 | [urgency_critical]
53 | background = "#000000"
54 | foreground = "#ffffff"
55 | frame_color = "#ffffff"
56 | timeout = 30
57 |
--------------------------------------------------------------------------------
/config/fish/functions/arte.fish:
--------------------------------------------------------------------------------
1 | function arte
2 | # vars
3 | set quality "best"
4 |
5 | # exec
6 | streamlink "https://www.arte.tv/fr/direct/" "$quality"
7 | end
--------------------------------------------------------------------------------
/config/fish/functions/chopnscrew.fish:
--------------------------------------------------------------------------------
1 | function chopnscrew
2 | set tempo "0.5"
3 | set pitch "-1200"
4 |
5 | set filename (echo $argv[1] | sed "s/\..*//")
6 |
7 | set extension (echo $argv[1] | sed "s/.*\.//")
8 |
9 | sox --show-progress $argv[1] $filename.cns.$extension tempo $tempo pitch $pitch
10 | end
--------------------------------------------------------------------------------
/config/fish/functions/fish_prompt.fish:
--------------------------------------------------------------------------------
1 | function fish_prompt
2 | set -l last_status "$status"
3 |
4 | set -l red (set_color "red")
5 | set -l normal (set_color "normal")
6 | set -l brblack (set_color "brblack")
7 |
8 | set -l cwd (basename (pwd | sed "s:^$HOME:בית:"))
9 |
10 | if test "$last_status" = "0"
11 | set prompt_color "$brblack"
12 | else
13 | set prompt_color "$red"
14 | end
15 |
16 | printf "$brblack($normal$cwd$normal$brblack)$normal $prompt_color%%$normal "
17 | end
--------------------------------------------------------------------------------
/config/fish/functions/fish_title.fish:
--------------------------------------------------------------------------------
1 | function fish_title
2 | echo "shell : $_"
3 | end
--------------------------------------------------------------------------------
/config/fish/functions/hevc.fish:
--------------------------------------------------------------------------------
1 | function hevc
2 | # vars
3 | set name (basename "$argv[1]" | sed "s/\..*//")
4 | set rate "25"
5 |
6 | # exec
7 | ffmpeg -v "quiet" -stats -i "$argv[1]" -crf "$rate" -c:v "libx265" -threads "4" $name.hevc.mp4
8 | end
--------------------------------------------------------------------------------
/config/fish/functions/record.fish:
--------------------------------------------------------------------------------
1 | function record
2 | # vars
3 | set crf "0"
4 | set fps "50"
5 | set enc "libx264"
6 | set prs "ultrafast"
7 | set pxf "yuv420p"
8 | set aud "alsa"
9 | set aui "default"
10 | set com "recording..."
11 | set res (xdotool getdisplaygeometry | sed 's/ /x/')
12 |
13 | # exec
14 | if test "$argv[1]" = "-a"
15 | printf "$com\n"
16 | ffmpeg -loglevel "16" \
17 | -f "$aud" \
18 | -i "$aui" \
19 | -f "x11grab" \
20 | -framerate "$fps" \
21 | -s "$res" \
22 | -i ":0.0" \
23 | -c:v "$enc" \
24 | -preset "$prs" \
25 | -crf "$crf" \
26 | -pix_fmt "$pxf" \
27 | "$HOME/Videos/$argv[2].mp4"
28 | else
29 | printf "$com\n"
30 | ffmpeg -loglevel "16" \
31 | -f "x11grab" \
32 | -framerate "$fps" \
33 | -s "$res" \
34 | -i ":0.0" \
35 | -c:v "$enc" \
36 | -preset "$prs" \
37 | -crf "$crf" \
38 | -pix_fmt "$pxf" \
39 | "$HOME/Videos/$argv.mp4"
40 | end
41 | end
--------------------------------------------------------------------------------
/config/fish/functions/vb0.fish:
--------------------------------------------------------------------------------
1 | function vb0
2 | # vars
3 | set name (basename "$argv[1]" | sed "s/\..*//")
4 |
5 | # exec
6 | ffmpeg -v "quiet" -stats -i "$argv[1]" -f "mp3" -q:a "0" $name.mp3
7 | end
--------------------------------------------------------------------------------
/config/fish/functions/webm.fish:
--------------------------------------------------------------------------------
1 | function webm
2 | # vars
3 | set name (basename "$argv[1]" | sed "s/\..*//")
4 | set rate "3M"
5 |
6 | # exec
7 | ffmpeg -v "quiet" -stats -i "$argv[1]" -minrate "$rate" -maxrate "$rate" -b:v "$rate" -c:v "libvpx" -threads "4" $name.webm
8 | end
--------------------------------------------------------------------------------
/config/fish/functions/x264.fish:
--------------------------------------------------------------------------------
1 | function x264
2 | # vars
3 | set name (basename "$argv[1]" | sed "s/\..*//")
4 | set preset "veryfast"
5 | set rate "25"
6 |
7 | # exec
8 | ffmpeg -v "quiet" -stats -i "$argv[1]" -crf "$rate" -preset "$preset" -c:v "libx264" -threads "4" $name.x264.mp4
9 | end
--------------------------------------------------------------------------------
/config/fontconfig/fonts.conf:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | rgb
8 |
9 |
10 |
11 |
12 | false
13 |
14 |
15 |
16 |
17 | hintslight
18 |
19 |
20 |
21 |
22 | true
23 |
24 |
25 |
26 |
27 | lcddefault
28 |
29 |
30 |
31 |
32 |
33 |
34 | monospace
35 |
36 | Apple Color Emoji
37 |
38 |
39 |
40 | serif
41 |
42 | Apple Color Emoji
43 |
44 |
45 |
46 | sans-serif
47 |
48 | Apple Color Emoji
49 |
50 |
51 |
52 | Apple Color Emoji
53 |
54 | Apple Color Emoji
55 |
56 |
57 |
58 |
59 | ~/.fonts
60 |
61 |
--------------------------------------------------------------------------------
/config/fontconfig/fonts.conf.back:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | rgb
8 |
9 |
10 |
11 |
12 | false
13 |
14 |
15 |
16 |
17 | hintslight
18 |
19 |
20 |
21 |
22 | true
23 |
24 |
25 |
26 |
27 | lcddefault
28 |
29 |
30 |
31 |
32 |
33 |
57 |
58 |
59 | ~/.fonts
60 |
61 |
--------------------------------------------------------------------------------
/config/luakit/chro.lua:
--------------------------------------------------------------------------------
1 | -- mpv
2 | local luakit = require "luakit"
3 | local add_binds = require("modes").add_binds
4 |
5 | local _M = {}
6 |
7 | --- open a URI in chromium.
8 | function _M.play(url)
9 | local cmd = string.format("%s --app=\'%s\'", "chromium", url)
10 | msg.info("Running %s", cmd)
11 | luakit.spawn(cmd)
12 | end
13 |
14 | add_binds("normal", {
15 | { ",o", "open in chromium.", function (w)
16 | _M.play(w.view.hovered_uri or w.view.uri)
17 | end },
18 | })
19 |
20 | return _M
21 |
22 | -- vim: et:sw=4:ts=8:sts=4:tw=80
--------------------------------------------------------------------------------
/config/luakit/mpv.lua:
--------------------------------------------------------------------------------
1 | -- mpv
2 | local luakit = require "luakit"
3 | local add_binds = require("modes").add_binds
4 |
5 | local _M = {}
6 |
7 | --- Open a URI in mpv.
8 | function _M.play(url)
9 | local cmd = string.format("%s -g 100x18 -e mpv \'%s\'", "urxvt", url)
10 | msg.info("Running %s", cmd)
11 | luakit.spawn(cmd)
12 | end
13 |
14 | add_binds("normal", {
15 | { ",p", "open in mpv.", function (w)
16 | _M.play(w.view.hovered_uri or w.view.uri)
17 | end },
18 | })
19 |
20 | return _M
21 |
22 | -- vim: et:sw=4:ts=8:sts=4:tw=80
--------------------------------------------------------------------------------
/config/luakit/rc.lua:
--------------------------------------------------------------------------------
1 | -- __
2 | -- __________ / /_ ______ _
3 | -- / ___/ ___/ / / / / / __ `/
4 | -- / / / /___ / / /_/ / /_/ /
5 | -- /_/ \___(_)_/\__,_/\__,_/
6 | --
7 |
8 |
9 | require "lfs"
10 |
11 |
12 | -- check for lua configuration files that will never be loaded because they are shadowed by builtin modules.
13 | table.insert(package.loaders, 2, function (modname)
14 | if not package.searchpath then return end
15 | local f = package.searchpath(modname, package.path)
16 | if not f or f:find(luakit.install_paths.install_dir .. "/", 0, true) ~= 1 then
17 | return
18 | end
19 | local lf = luakit.config_dir .. "/" .. modname:gsub("%.","/") .. ".lua"
20 | if f == lf then
21 | msg.warn("Loading local version of '" .. modname .. "' module: " .. lf)
22 | elseif lfs.attributes(lf) then
23 | msg.warn("Found local version " .. lf
24 | .. " for core module '" .. modname
25 | .. "', but it won't be used, unless you update 'package.path' accordingly.")
26 | end
27 | end)
28 |
29 | require "unique_instance"
30 |
31 |
32 | -- set the number of web processes to use. a value of 0 means 'no limit'.
33 | luakit.process_limit = 0
34 |
35 |
36 | -- set the cookie storage location
37 | soup.cookies_storage = luakit.data_dir .. "/cookies.db"
38 |
39 |
40 | -- load library of useful functions for luakit
41 | local lousy = require "lousy"
42 |
43 |
44 | -- load users theme
45 | lousy.theme.init(lousy.util.find_config("theme.lua"))
46 | assert(lousy.theme.get(), "failed to load theme")
47 |
48 |
49 | -- load users window class
50 | local window = require "window"
51 |
52 |
53 | -- load users webview class
54 | local webview = require "webview"
55 |
56 |
57 | -- add luakit;//log/ chrome page
58 | local log_chrome = require "log_chrome"
59 |
60 |
61 | -- load luakit binds and modes
62 | local modes = require "modes"
63 | local binds = require "binds"
64 |
65 |
66 | -- load luakit settings
67 | local settings = require "settings"
68 | require "settings_chrome"
69 |
70 |
71 | -- window.lua overwrites (margins, etc.)
72 | window.add_signal("build", function (w)
73 | local widgets, l, r = require "lousy.widget", w.sbar.l, w.sbar.r
74 |
75 | -- Left-aligned status bar widgets
76 | l.layout:pack(widgets.uri())
77 | l.layout:pack(widgets.hist())
78 | l.layout:pack(widgets.progress())
79 |
80 | -- Right-aligned status bar widgets
81 | r.layout:pack(widgets.buf())
82 | r.layout:pack(log_chrome.widget())
83 | r.layout:pack(widgets.ssl())
84 | r.layout:pack(widgets.tabi())
85 | r.layout:pack(widgets.scroll())
86 |
87 | -- margins
88 | w.sbar.layout.margin = 13
89 |
90 | w.ibar.layout.margin_top = 4
91 | w.ibar.layout.margin_bottom = 5
92 | w.ibar.layout.margin_left = 10
93 |
94 | w.mbar.label.margin = 10
95 | end)
96 |
97 |
98 |
99 | ----------------------------------
100 | -- optional user script loading --
101 | ----------------------------------
102 |
103 | -- add adblock
104 | local adblock = require "adblock"
105 | local adblock_chrome = require "adblock_chrome"
106 |
107 |
108 | -- add inspector
109 | local webinspector = require "webinspector"
110 |
111 |
112 | -- add uzbl-like form filling
113 | local formfiller = require "formfiller"
114 |
115 |
116 | -- add proxy support & manager
117 | local proxy = require "proxy"
118 |
119 |
120 | -- add session saving/loading support
121 | local session = require "session"
122 |
123 |
124 | -- add command to list closed tabs & bind to open closed tabs
125 | local undoclose = require "undoclose"
126 |
127 |
128 | -- add command to list tab history items
129 | local tabhistory = require "tabhistory"
130 |
131 |
132 | -- add greasemonkey-like javascript userscript support
133 | local userscripts = require "userscripts"
134 |
135 |
136 | -- add bookmarks support
137 | local bookmarks = require "bookmarks"
138 | local bookmarks_chrome = require "bookmarks_chrome"
139 |
140 |
141 | -- add download support
142 | local downloads = require "downloads"
143 | local downloads_chrome = require "downloads_chrome"
144 |
145 |
146 | -- add automatic PDF downloading and opening
147 | local viewpdf = require "viewpdf"
148 |
149 |
150 | -- example using xdg-open for opening downloads / showing download folders
151 | downloads.add_signal("open-file", function (file)
152 | luakit.spawn(string.format("xdg-open %q", file))
153 | return true
154 | end)
155 |
156 |
157 | -- add vimperator-like link hinting & following
158 | local follow = require "follow"
159 |
160 |
161 | -- add command history
162 | local cmdhist = require "cmdhist"
163 |
164 |
165 | -- add search mode & binds
166 | local search = require "search"
167 |
168 |
169 | -- add ordering of new tabs
170 | local taborder = require "taborder"
171 |
172 |
173 | -- save web history
174 | local history = require "history"
175 | local history_chrome = require "history_chrome"
176 |
177 |
178 | -- add help & binds
179 | local help_chrome = require "help_chrome"
180 | local binds_chrome = require "binds_chrome"
181 |
182 |
183 | -- add command completion
184 | local completion = require "completion"
185 |
186 |
187 | local follow_selected = require "follow_selected"
188 | local go_input = require "go_input"
189 | local go_next_prev = require "go_next_prev"
190 | local go_up = require "go_up"
191 |
192 |
193 | -- filter referer HTTP header if page domain does not match Referer domain
194 | require_web_module("referer_control_wm")
195 |
196 |
197 | local error_page = require "error_page"
198 |
199 |
200 | -- add userstyles loader
201 | local styles = require "styles"
202 |
203 |
204 | -- hide scrollbars on all pages
205 | local hide_scrollbars = require "hide_scrollbars"
206 |
207 |
208 | -- add a stylesheet when showing images
209 | local image_css = require "image_css"
210 |
211 |
212 | -- add a new tab page
213 | local newtab_chrome = require "newtab_chrome"
214 |
215 |
216 | -- add :view-source command
217 | local view_source = require "view_source"
218 |
219 |
220 | -- put "userconf.lua" in your luakit config dir with your own tweaks; if this is permanent, no need to copy/paste/modify the default rc.lua whenever you update luakit.
221 | if pcall(function () lousy.util.find_config("userconf.lua") end) then
222 | require "userconf"
223 | end
224 |
225 | -----------------------------
226 | -- end user script loading --
227 | -----------------------------
228 |
229 |
230 |
231 | -- unbind middle mouse
232 | -- modes.remove_binds("all", { "" })
233 |
234 |
235 | -- restore last saved session
236 | local w = (not luakit.nounique) and (session and session.restore())
237 | if w then
238 | for i, uri in ipairs(uris) do
239 | w:new_tab(uri, { switch = i == 1 })
240 | end
241 | else
242 | -- or open new window
243 | window.new(uris)
244 | end
245 |
246 | -- vim: et:sw=4:ts=8:sts=4:tw=80
247 |
--------------------------------------------------------------------------------
/config/luakit/theme.lua:
--------------------------------------------------------------------------------
1 | -- __ __ __
2 | -- / /_/ /_ ___ ____ ___ ___ / /_ ______ _
3 | -- / __/ __ \/ _ \/ __ `__ \/ _ \ / / / / / __ `/
4 | -- / /_/ / / / __/ / / / / / __/ / / /_/ / /_/ /
5 | -- \__/_/ /_/\___/_/ /_/ /_/\___(_)_/\__,_/\__,_/
6 | --
7 |
8 | local theme = {}
9 |
10 |
11 | -- default settings
12 | theme.font = "12px euphon"
13 | theme.fg = "#fff"
14 | theme.bg = "#071d22"
15 |
16 |
17 | -- general colours
18 | theme.success_fg = "#94dba0"
19 | theme.loaded_fg = "#80bcd6"
20 | theme.error_fg = "#fff"
21 | theme.error_bg = "#eb7070"
22 |
23 |
24 | -- warning colours
25 | theme.warning_fg = "#eb7070"
26 | theme.warning_bg = "#fff"
27 |
28 |
29 | -- notification colours
30 | theme.notif_fg = "#fff"
31 | theme.notif_bg = "#071d22"
32 |
33 |
34 | -- menu colours
35 | theme.menu_fg = "#fff"
36 | theme.menu_bg = "#071d22"
37 | theme.menu_selected_fg = "#5389d5"
38 | theme.menu_selected_bg = "#071d22"
39 | theme.menu_title_bg = "#071d22"
40 | theme.menu_primary_title_fg = "#e6e6e6"
41 | theme.menu_secondary_title_fg = "#e6e6e6"
42 |
43 | theme.menu_disabled_fg = "#365359"
44 | theme.menu_disabled_bg = theme.menu_bg
45 | theme.menu_enabled_fg = theme.menu_fg
46 | theme.menu_enabled_bg = theme.menu_bg
47 | theme.menu_active_fg = "#5389d5"
48 | theme.menu_active_bg = theme.menu_bg
49 |
50 |
51 | -- proxy manager
52 | theme.proxy_active_menu_fg = '#071d22'
53 | theme.proxy_active_menu_bg = '#fff'
54 | theme.proxy_inactive_menu_fg = '#888'
55 | theme.proxy_inactive_menu_bg = '#fff'
56 |
57 |
58 | -- statusbar specific
59 | theme.sbar_fg = "#fff"
60 | theme.sbar_bg = "#071d22"
61 |
62 |
63 | -- downloadbar specific
64 | theme.dbar_fg = "#fff"
65 | theme.dbar_bg = "#071d22"
66 | theme.dbar_error_fg = "#eb7070"
67 |
68 |
69 | -- input bar specific
70 | theme.ibar_fg = "#fff"
71 | theme.ibar_bg = "#071d22"
72 |
73 |
74 | -- tab label
75 | theme.tab_fg = "#071d22"
76 | theme.tab_bg = "#fff"
77 | theme.tab_hover_bg = "#fff"
78 | theme.tab_hover_fg = "#071d22"
79 | theme.tab_ntheme = "#fff"
80 | theme.selected_fg = "#818cee"
81 | theme.selected_bg = "#fff"
82 | theme.selected_ntheme = "#fff"
83 | theme.loading_fg = "#fff"
84 | theme.loading_bg = "#071d22"
85 |
86 | theme.selected_private_tab_bg = "#818cee"
87 | theme.private_tab_bg = "#606eeb"
88 |
89 |
90 | -- trusted/untrusted ssl colours
91 | theme.trust_fg = "#99cd8e"
92 | theme.notrust_fg = "#e69494"
93 |
94 |
95 | -- general colour pairings
96 | theme.ok = { fg = "#071d22", bg = "#fff" }
97 | theme.warn = { fg = "#eb7070", bg = "#fff" }
98 | theme.error = { fg = "#fff", bg = "#eb7070" }
99 |
100 |
101 | -- remove tab numbers
102 | require('lousy.widget.tab').label_format = '{title}'
103 |
104 |
105 | return theme
106 |
107 | -- vim: et:sw=4:ts=8:sts=4:tw=80
108 |
--------------------------------------------------------------------------------
/config/luakit/userconf.lua:
--------------------------------------------------------------------------------
1 | -- ____ __
2 | -- __ __________ ______________ ____ / __/ / /_ ______ _
3 | -- / / / / ___/ _ \/ ___/ ___/ __ \/ __ \/ /_ / / / / / __ `/
4 | -- / /_/ (__ ) __/ / / /__/ /_/ / / / / __/_ / / /_/ / /_/ /
5 | -- \__,_/____/\___/_/ \___/\____/_/ /_/_/ (_)_/\__,_/\__,_/
6 | --
7 |
8 | -- load the mpv module
9 | require "mpv"
10 |
11 |
12 | -- load the chromium module
13 | require "chro"
14 |
15 |
16 | -- load library of useful functions for luakit (eg.: allow for tab margins)
17 | local lousy = require "lousy"
18 |
19 |
20 | -- tab margins
21 | lousy.widget.tab.add_signal("build", function (w) w.widget.child.margin = 15 end)
22 |
--------------------------------------------------------------------------------
/config/micro/bindings.json:
--------------------------------------------------------------------------------
1 | {
2 | // unbind
3 | "CtrlG": "UnbindKey",
4 | "Alt-g": "UnbindKey",
5 | "Alt.": "UnbindKey",
6 | "Alt,": "UnbindKey",
7 |
8 | // bind
9 | "Alt-[": "PreviousTab",
10 | "Alt-]": "NextTab"
11 | }
--------------------------------------------------------------------------------
/config/micro/buffers/history:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eti0/dots/0107d61280ea610efcdea0a94d800c58ca8766ff/config/micro/buffers/history
--------------------------------------------------------------------------------
/config/micro/colorschemes/sol.micro:
--------------------------------------------------------------------------------
1 | # colors
2 | color-link indent-char "red"
3 | color-link identifier "blue"
4 | color-link statement "magenta"
5 | color-link constant "brightwhite"
6 | color-link special "green"
7 | color-link preproc "red"
8 | color-link comment "white"
9 | color-link error "red"
10 | color-link type "blue"
11 | color-link todo "green"
12 |
13 | # line indicators
14 | color-link current-line-number "default"
15 | color-link line-number "brightblack"
16 | color-link gutter-warning "red"
17 | color-link gutter-error "red"
18 |
19 | # tabbar & statusline
20 | color-link statusline "white"
21 | color-link tabbar "brightblack"
--------------------------------------------------------------------------------
/config/micro/colorschemes/vido.micro:
--------------------------------------------------------------------------------
1 | color-link default "#eceeee"
2 | color-link comment "#636d6e"
3 | color-link identifier "#f9c168"
4 | color-link constant "#f9c168"
5 | color-link constant.string "#a9b1b1"
6 | color-link constant.string.char "#c7cccc"
7 | color-link statement "#f9c168"
8 | color-link symbol "#f9c168"
9 | color-link preproc "#6b7576"
10 | color-link type "#f9c168"
11 | color-link special "#818c8d"
12 | color-link underlined "#7e898b"
13 | color-link error "#6b7576"
14 | color-link todo "#7e898b"
15 | color-link statusline "#272a2b"
16 | color-link tabbar "#272a2b"
17 | color-link indent-char "#4b5253"
18 | color-link line-number "#a7aeaf"
19 | color-link current-line-number "#a7aeaf"
20 | color-link gutter-error "#6b7576"
21 | color-link gutter-warning "#a9b1b1"
22 | color-link cursor-line "#253132"
23 | color-link color-column "#303536"
24 | color-link type.extended "default"
25 | color-link symbol.tag "#f9c168"
--------------------------------------------------------------------------------
/config/micro/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "autoclose": true,
3 | "autoindent": false,
4 | "autosave": false,
5 | "basename": false,
6 | "colorcolumn": 0,
7 | "colorscheme": "sol",
8 | "cursorline": true,
9 | "eofnewline": false,
10 | "fastdirty": true,
11 | "fileformat": "unix",
12 | "fishfmt": true,
13 | "ftoptions": true,
14 | "hidehelp": true,
15 | "ignorecase": false,
16 | "indentchar": " ",
17 | "infobar": false,
18 | "keepautoindent": false,
19 | "keymenu": false,
20 | "linter": true,
21 | "literate": true,
22 | "matchbrace": false,
23 | "matchbraceleft": false,
24 | "mouse": true,
25 | "pluginchannels": [
26 | "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/channel.json"
27 | ],
28 | "pluginrepos": [],
29 | "rmtrailingws": false,
30 | "ruler": true,
31 | "savecursor": false,
32 | "savehistory": true,
33 | "saveundo": false,
34 | "scrollbar": false,
35 | "scrollmargin": 3,
36 | "scrollspeed": 2,
37 | "softwrap": false,
38 | "splitBottom": true,
39 | "splitRight": true,
40 | "splitbottom": true,
41 | "splitright": true,
42 | "statusline": false,
43 | "sucmd": "sudo",
44 | "syntax": true,
45 | "tabmovement": false,
46 | "tabsize": 4,
47 | "tabstospaces": true,
48 | "termtitle": true,
49 | "useprimary": true
50 | }
51 |
--------------------------------------------------------------------------------
/config/mpv/mpv.conf:
--------------------------------------------------------------------------------
1 | # audio
2 | volume-max=150
3 |
4 | # misc
5 | keep-open
6 | # background="#ffffff"
7 |
8 | # screenshots
9 | screenshot-format=png
10 | screenshot-png-compression=8
11 | screenshot-template='~/Pictures/mpv/%F (%P) %n'
12 |
13 | # youtube
14 | ytdl-format=bestvideo[height<=?1080][fps<=?60]+bestaudio[ext=m4a]
15 |
16 | # subtitles
17 | sub-font="Inter UI"
18 | sub-font-size=28
19 | sub-color="#FFFFFFFF"
20 | sub-border-color="#FF000000"
21 | sub-border-size=2
22 |
--------------------------------------------------------------------------------
/config/neofetch/config:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | print_info() {
4 | info title
5 | info underline
6 |
7 | info "os" distro
8 | info "shell" shell
9 | info "wm" wm
10 | prin "song$(color 1):$(color2) $(mpc current)"
11 |
12 | info line_break
13 |
14 | # info line_break
15 | # info cols
16 | # info line_break
17 |
18 | # info "packages" packages
19 | # info "gpu" gpu
20 | }
21 |
22 |
23 | kernel_shorthand="on"
24 | distro_shorthand="off"
25 | os_arch="off"
26 | uptime_shorthand="tiny"
27 | shell_path="off"
28 | shell_version="off"
29 | speed_type="bios_limit"
30 | speed_shorthand="on"
31 | cpu_shorthand="tiny"
32 | cpu_speed="off"
33 | cpu_cores="off"
34 | cpu_temp="off"
35 | gpu_brand="off"
36 | gpu_type="all"
37 | refresh_rate="off"
38 | gtk_shorthand="off"
39 | gtk2="on"
40 | gtk3="on"
41 | public_ip_host="http://ident.me"
42 | disk_show=('/')
43 | disk_subtitle="mount"
44 | song_shorthand="off"
45 | install_time="on"
46 | install_time_format="24h"
47 | colors=(6 7 7 7 8 15)
48 | bold="off"
49 | underline_enabled="on"
50 | underline_char="─"
51 | block_range=(8 14)
52 | color_blocks="on"
53 | block_width=3
54 | block_height=1
55 | bar_char_elapsed="─"
56 | bar_char_total="─"
57 | bar_border="off"
58 | bar_length=10
59 | bar_color_elapsed="1"
60 | bar_color_total="distro"
61 | cpu_display="off"
62 | memory_display="infobar"
63 | battery_display="off"
64 | disk_display="off"
65 | image_backend="w3m"
66 | image_source="auto"
67 | ascii_distro="auto"
68 | ascii_colors=(distro)
69 | ascii_bold="off"
70 | image_loop="off"
71 | thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
72 | crop_mode="normal"
73 | crop_offset="center"
74 | image_size="auto"
75 | gap=3
76 | yoffset=0
77 | xoffset=0
78 | background_color=
79 | scrot="off"
80 | scrot_cmd="auto"
81 | scrot_name="neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png"
82 | image_host="teknik"
83 | config_version="3.2.0"
84 |
--------------------------------------------------------------------------------
/config/netwmpager/config:
--------------------------------------------------------------------------------
1 | # geometry
2 | geometry = "320x55+20-20"
3 | border_width = 10
4 | win_shift_x = 0
5 | win_shift_y = 0
6 |
7 | # zoom
8 | zoom = 2
9 | zoom_factor = 1
10 |
11 | # visibility
12 | layer = "normal"
13 | show_popups = true
14 | show_sticky = false
15 | show_titles = false
16 |
17 | # autohide
18 | # auto_hide = true
19 | # border_commands = "if [ $(pidof netwmpager) ] ; then kill -9 $(pidof netwmpager) ; else netwmpager & disown ; fi"
20 |
21 | # misc
22 | action_buttons = 132
23 | allow_cover = false
24 | auto_hide = false
25 | switch_delay = 50
26 |
27 | # fonts
28 | popup_font = "cure"
29 | window_font = "cure"
30 |
31 | # colors
32 | active_page_color = "rgb:13/19/1e"
33 | inactive_page_color = "rgb:13/19/1e"
34 |
35 | win_border_color = "rgb:13/19/1e"
36 | pager_border_color = "rgb:13/19/1e"
37 |
38 | grid_color = "rgb:13/19/1e"
39 | desk_grid_color = "rgb:13/19/1e"
40 |
41 | active_win_color = "rgb:2a/37/41"
42 | inactive_win_color = "rgb:40/4b/54"
43 |
44 | popup_color = "rgb:ff/ff/ff"
--------------------------------------------------------------------------------
/config/openbox/autostart:
--------------------------------------------------------------------------------
1 | xset -b &
2 | fonts &
3 | nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }" &
4 | xinput --set-prop 13 "libinput Natural Scrolling Enabled" 1 &
5 | sleep 5s && toggle-bar &
--------------------------------------------------------------------------------
/config/openbox/environment:
--------------------------------------------------------------------------------
1 | export XDG_MENU_PREFIX="gnome-"
2 | export GOPATH="$HOME/go"
3 | export MPD_PORT="7755"
4 | export EDITOR="micro"
--------------------------------------------------------------------------------
/config/openbox/menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
42 |
43 |
--------------------------------------------------------------------------------
/config/openbox/rc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 20
5 | 0
6 |
7 |
8 | yes
9 | no
10 | no
11 | 0
12 | no
13 | yes
14 |
15 |
16 | Smart
17 | yes
18 | Mouse
19 | Active
20 |
21 |
22 | spook
23 | 4
24 | SLIMC
25 | no
26 | yes
27 |
28 | euphon
29 | 8
30 | Normal
31 | Normal
32 |
33 |
34 | euphon
35 | 8
36 | Normal
37 | Normal
38 |
39 |
40 | euphon
41 | 8
42 | Normal
43 | Normal
44 |
45 |
46 | euphon
47 | 8
48 | Normal
49 | Normal
50 |
51 |
52 | euphon
53 | 8
54 | Normal
55 | Normal
56 |
57 |
58 | euphon
59 | 8
60 | Normal
61 | Normal
62 |
63 | 8
64 |
65 |
66 | 5
67 | 1
68 |
69 | un
70 | deux
71 | trois
72 | quatre
73 | cinq
74 |
75 | 0
76 |
77 |
78 | no
79 | Always
80 | Fixed
81 |
82 | center
83 | 70
84 |
85 |
86 |
87 | 0
88 | 0
89 | 0
90 | 0
91 |
92 |
93 |
94 |
95 | terminal
96 | drawterm
97 |
98 |
99 |
100 |
101 | dmenu_run -b -fn "euphon-8" -nb "#13191e" -nf "#fff" -sb "#ffffff" -sf "#13191e" -h "35"
102 |
103 |
104 |
105 |
106 | clipmenu -b -fn "euphon-8" -nb "#13191e" -nf "#fff" -sb "#ffffff" -sf "#13191e" -h "35"
107 |
108 |
109 |
110 |
111 | pcmanfm
112 | pcmanfm
113 |
114 |
115 |
116 |
117 | chromium
118 | chromium
119 |
120 |
121 |
122 |
123 | layout
124 |
125 |
126 |
127 |
128 | layout
129 |
130 |
131 |
132 |
133 | toggle-tray
134 |
135 |
136 |
137 |
138 | toggle-bar
139 |
140 |
141 |
142 |
143 | toggle-compositor
144 |
145 |
146 |
147 |
148 | toggle-pager
149 |
150 |
151 |
152 |
153 | scr
154 |
155 |
156 |
157 |
158 | scr w
159 |
160 |
161 |
162 |
163 | vol i 5
164 |
165 |
166 |
167 |
168 | vol d 5
169 |
170 |
171 |
172 |
173 | vol t
174 |
175 |
176 |
177 |
178 | sps next
179 |
180 |
181 |
182 |
183 | sps prev
184 |
185 |
186 |
187 |
188 | sps play
189 |
190 |
191 |
192 |
193 | mpc next
194 |
195 |
196 |
197 |
198 | mpc prev
199 |
200 |
201 |
202 |
203 | mpc toggle
204 |
205 |
206 |
207 |
208 | Previous
209 |
210 |
211 |
212 |
213 | Next
214 |
215 |
216 |
217 |
218 | Next
219 |
220 |
221 |
222 |
223 | Previous
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 | 1
264 | 500
265 | 0
266 | false
267 |
268 |
269 |
270 |
271 |
272 |
273 |
274 |
275 |
276 | center
277 | center
278 |
279 |
280 |
281 |
282 |
283 |
284 |
285 |
286 |
287 |
288 |
289 |
290 |
291 |
292 |
293 |
294 |
295 |
296 |
297 |
298 |
299 |
300 |
301 |
302 |
303 |
304 |
305 |
306 |
307 |
308 |
309 |
310 |
311 | top
312 |
313 |
314 |
315 |
316 |
317 |
318 | left
319 |
320 |
321 |
322 |
323 |
324 |
325 | right
326 |
327 |
328 |
329 |
330 |
331 |
332 | bottom
333 |
334 |
335 |
336 |
337 |
338 |
339 |
340 |
341 |
342 |
343 |
344 |
345 |
346 |
347 |
348 |
349 |
350 |
351 |
352 |
353 |
354 |
355 |
356 |
357 |
358 |
359 |
360 |
361 |
362 |
363 |
364 |
365 |
366 |
367 |
368 |
369 |
370 |
371 |
372 |
373 |
374 |
375 |
376 |
377 |
378 |
379 |
380 |
381 |
382 |
383 |
384 |
385 |
386 |
387 |
388 |
389 |
390 |
391 |
392 |
393 |
394 |
395 |
396 |
397 |
398 |
399 |
400 |
401 |
402 |
403 |
404 |
405 |
406 |
407 |
408 |
409 |
410 |
411 |
412 |
413 |
414 |
415 |
416 |
417 |
418 |
419 |
420 |
421 |
422 |
423 |
424 |
425 |
426 | vertical
427 |
428 |
429 |
430 |
431 | horizontal
432 |
433 |
434 |
435 |
436 |
437 |
438 |
439 |
440 |
441 |
442 |
443 |
444 |
445 |
446 |
447 |
448 |
449 |
450 |
451 |
452 |
453 |
454 |
455 |
456 |
457 |
458 |
459 |
460 |
461 |
462 |
463 |
464 |
465 |
466 |
467 |
468 |
469 |
470 | previous
471 |
472 |
473 |
474 |
475 | next
476 |
477 |
478 |
479 |
480 | previous
481 |
482 |
483 |
484 |
485 | next
486 |
487 |
488 |
489 |
490 |
499 |
500 |
501 | no
502 |
503 |
508 |
509 | no
510 |
511 |
512 |
513 | TopLeft
514 | 0
515 | 0
516 | Above
517 | Vertical
518 | no
519 | no
520 | 300
521 | 300
522 |
523 |
524 |
--------------------------------------------------------------------------------
/config/pcmanfm/default/pcmanfm.conf:
--------------------------------------------------------------------------------
1 | [config]
2 | bm_open_method=0
3 |
4 | [volume]
5 | mount_on_startup=1
6 | mount_removable=1
7 | autorun=0
8 |
9 | [ui]
10 | always_show_tabs=0
11 | max_tab_chars=32
12 | hide_menubar=1
13 | hide_close_btn=1
14 | win_width=447
15 | win_height=524
16 | splitter_pos=150
17 | media_in_new_tab=0
18 | desktop_folder_new_win=0
19 | change_tab_on_drop=1
20 | close_on_unmount=0
21 | focus_previous=0
22 | side_pane_mode=hidden;places
23 | view_mode=list
24 | show_hidden=0
25 | sort=mtime;ascending;
26 | columns=name:200;mtime;
27 | toolbar=navigation;
28 | show_statusbar=0
29 | pathbar_mode_buttons=0
30 |
--------------------------------------------------------------------------------
/config/picom.conf:
--------------------------------------------------------------------------------
1 | # __ ___
2 | # _______ __ _ ___ / /____ ___ _______ ___ / _/
3 | # / __/ _ \/ ' \/ _ \/ __/ _ \/ _ \_/ __/ _ \/ _ \/ _/
4 | # \__/\___/_/_/_/ .__/\__/\___/_//_(_)__/\___/_//_/_/
5 | # /_/
6 | #
7 |
8 | # configuration
9 | backend = "glx";
10 | vsync = true;
11 | # vsync-use-glfinish = true;
12 | # glx-no-stencil = true;
13 | # glx-no-rebind-pixmap = true;
14 | # glx-copy-from-front = false;
15 |
16 | # shadows
17 | shadow = true;
18 | shadow-radius = 50;
19 | shadow-opacity = .25;
20 | shadow-offset-x = -50;
21 | shadow-offset-y = -25;
22 | shadow-ignore-shaped = false;
23 | shadow-exclude = [
24 | "window_type = 'dock'",
25 | "window_type = 'desktop'",
26 | "window_type = 'dnd'",
27 | "window_type *= 'menu'",
28 | "window_type = 'utility'",
29 | "n:s:dunst",
30 | "class_g = 'slop'",
31 | "_GTK_FRAME_EXTENTS@:c",
32 | "window_type *= 'normal' && ! name ~= ''"
33 | ];
34 |
35 | # frame
36 | # frame-opacity = 0.125;
37 |
38 | # blur
39 | # blur-background = true;
40 | # blur-background-frame = true;
41 | # blur:
42 | # {
43 | # method = "gaussian";
44 | # size = 64;
45 | # deviation = 16;
46 | # };
47 | # blur-kern = "15,15,0.140858,0.182684,0.227638,0.272532,0.313486,0.346456,0.367879,0.375311,0.367879,0.346456,0.313486,0.272532,0.227638,0.182684,0.140858,0.182684,0.236928,0.295230,0.353455,0.406570,0.449329,0.477114,0.486752,0.477114,0.449329,0.406570,0.353455,0.295230,0.236928,0.182684,0.227638,0.295230,0.367879,0.440432,0.506617,0.559898,0.594521,0.606531,0.594521,0.559898,0.506617,0.440432,0.367879,0.295230,0.227638,0.272532,0.353455,0.440432,0.527292,0.606531,0.670320,0.711770,0.726149,0.711770,0.670320,0.606531,0.527292,0.440432,0.353455,0.272532,0.313486,0.406570,0.506617,0.606531,0.697676,0.771052,0.818731,0.835270,0.818731,0.771052,0.697676,0.606531,0.506617,0.406570,0.313486,0.346456,0.449329,0.559898,0.670320,0.771052,0.852144,0.904837,0.923116,0.904837,0.852144,0.771052,0.670320,0.559898,0.449329,0.346456,0.367879,0.477114,0.594521,0.711770,0.818731,0.904837,0.960789,0.980199,0.960789,0.904837,0.818731,0.711770,0.594521,0.477114,0.367879,0.375311,0.486752,0.606531,0.726149,0.835270,0.923116,0.980199,0.980199,0.923116,0.835270,0.726149,0.606531,0.486752,0.375311,0.367879,0.477114,0.594521,0.711770,0.818731,0.904837,0.960789,0.980199,0.960789,0.904837,0.818731,0.711770,0.594521,0.477114,0.367879,0.346456,0.449329,0.559898,0.670320,0.771052,0.852144,0.904837,0.923116,0.904837,0.852144,0.771052,0.670320,0.559898,0.449329,0.346456,0.313486,0.406570,0.506617,0.606531,0.697676,0.771052,0.818731,0.835270,0.818731,0.771052,0.697676,0.606531,0.506617,0.406570,0.313486,0.272532,0.353455,0.440432,0.527292,0.606531,0.670320,0.711770,0.726149,0.711770,0.670320,0.606531,0.527292,0.440432,0.353455,0.272532,0.227638,0.295230,0.367879,0.440432,0.506617,0.559898,0.594521,0.606531,0.594521,0.559898,0.506617,0.440432,0.367879,0.295230,0.227638,0.182684,0.236928,0.295230,0.353455,0.406570,0.449329,0.477114,0.486752,0.477114,0.449329,0.406570,0.353455,0.295230,0.236928,0.182684,0.140858,0.182684,0.227638,0.272532,0.313486,0.346456,0.367879,0.375311,0.367879,0.346456,0.313486,0.272532,0.227638,0.182684,0.140858,";
48 | # blur-kern = "5,5,0.367879,0.535261,0.606531,0.535261,0.367879,0.535261,0.778801,0.882497,0.778801,0.535261,0.606531,0.882497,0.882497,0.606531,0.535261,0.778801,0.882497,0.778801,0.535261,0.367879,0.535261,0.606531,0.535261,0.367879,";
49 | blur-background-exclude = [
50 | "window_type = 'desktop'",
51 | "class_g = 'slop'",
52 | "_GTK_FRAME_EXTENTS@:c"
53 | ];
54 |
55 | # fade
56 | fading = false;
57 |
58 | # rounded corners
59 | corner-radius = 4;
60 |
--------------------------------------------------------------------------------
/config/quicktile.cfg:
--------------------------------------------------------------------------------
1 | [general]
2 | cfg_schema = 1
3 | UseWorkarea = True
4 | ModMask =
5 |
6 | [keys]
7 | C = move-to-center
8 | H = horizontal-maximize
9 | V = vertical-maximize
10 | M = maximize
11 | 2 = top-left
12 | 3 = bottom-left
13 | 4 = left
14 | 5 = middle
15 | 6 = right
16 | 7 = top-right
17 | 8 = bottom-right
--------------------------------------------------------------------------------
/config/qutebrowser/autoconfig.yml:
--------------------------------------------------------------------------------
1 | # DO NOT edit this file by hand, qutebrowser will overwrite it.
2 | # Instead, create a config.py - see :help for details.
3 |
4 | config_version: 2
5 | settings:
6 | bindings.commands:
7 | global:
8 | normal:
9 | : null
10 | : null
11 | colors.completion.category.bg:
12 | global: white
13 | colors.completion.category.border.bottom:
14 | global: transparent
15 | colors.completion.category.border.top:
16 | global: transparent
17 | colors.completion.category.fg:
18 | global: '#AE95C7'
19 | colors.completion.even.bg:
20 | global: white
21 | colors.completion.fg:
22 | global: black
23 | colors.completion.item.selected.bg:
24 | global: '#AE95C7'
25 | colors.completion.item.selected.border.bottom:
26 | global: transparent
27 | colors.completion.item.selected.border.top:
28 | global: transparent
29 | colors.completion.item.selected.fg:
30 | global: white
31 | colors.completion.match.fg:
32 | global: '#AE95C7'
33 | colors.completion.odd.bg:
34 | global: white
35 | colors.completion.scrollbar.bg:
36 | global: transparent
37 | colors.completion.scrollbar.fg:
38 | global: '#AE95C7'
39 | colors.downloads.bar.bg:
40 | global: '#262D33'
41 | colors.downloads.error.bg:
42 | global: red
43 | colors.downloads.start.bg:
44 | global: '#AEBFD1'
45 | colors.downloads.start.fg:
46 | global: black
47 | colors.downloads.stop.bg:
48 | global: '#AEBFD1'
49 | colors.downloads.stop.fg:
50 | global: black
51 | colors.hints.fg:
52 | global: '#262D33'
53 | colors.hints.match.fg:
54 | global: '#B8D49A'
55 | colors.keyhint.bg:
56 | global: rgba(0, 0, 0, 80%)
57 | colors.messages.error.bg:
58 | global: '#E5BED2'
59 | colors.messages.error.border:
60 | global: '#bb0000'
61 | colors.messages.warning.bg:
62 | global: red
63 | colors.prompts.bg:
64 | global: '#AE95C7'
65 | colors.prompts.border:
66 | global: transparent
67 | colors.prompts.fg:
68 | global: white
69 | colors.prompts.selected.bg:
70 | global: grey
71 | colors.statusbar.caret.bg:
72 | global: '#AE95C7'
73 | colors.statusbar.caret.fg:
74 | global: white
75 | colors.statusbar.caret.selection.bg:
76 | global: '#AE95C7'
77 | colors.statusbar.caret.selection.fg:
78 | global: white
79 | colors.statusbar.command.bg:
80 | global: '#262D33'
81 | colors.statusbar.command.fg:
82 | global: white
83 | colors.statusbar.command.private.bg:
84 | global: grey
85 | colors.statusbar.insert.bg:
86 | global: white
87 | colors.statusbar.insert.fg:
88 | global: black
89 | colors.statusbar.normal.bg:
90 | global: '#262D33'
91 | colors.statusbar.normal.fg:
92 | global: white
93 | colors.statusbar.passthrough.bg:
94 | global: darkblue
95 | colors.statusbar.url.hover.fg:
96 | global: '#FBB688'
97 | colors.statusbar.url.success.http.fg:
98 | global: white
99 | colors.statusbar.url.success.https.fg:
100 | global: white
101 | colors.statusbar.url.warn.fg:
102 | global: yellow
103 | colors.tabs.bar.bg:
104 | global: '#262D33'
105 | colors.tabs.even.bg:
106 | global: '#262D33'
107 | colors.tabs.even.fg:
108 | global: white
109 | colors.tabs.indicator.error:
110 | global: '#ff0000'
111 | colors.tabs.indicator.start:
112 | global: '#0000aa'
113 | colors.tabs.indicator.stop:
114 | global: '#00aa00'
115 | colors.tabs.indicator.system:
116 | global: rgb
117 | colors.tabs.odd.bg:
118 | global: '#262D33'
119 | colors.tabs.odd.fg:
120 | global: white
121 | colors.tabs.selected.even.bg:
122 | global: '#ff794b'
123 | colors.tabs.selected.even.fg:
124 | global: white
125 | colors.tabs.selected.odd.bg:
126 | global: '#ff794b'
127 | colors.tabs.selected.odd.fg:
128 | global: white
129 | colors.webpage.bg:
130 | global: white
131 | completion.height:
132 | global: 40%
133 | completion.min_chars:
134 | global: 1
135 | completion.scrollbar.padding:
136 | global: 0
137 | completion.scrollbar.width:
138 | global: 10
139 | completion.show:
140 | global: always
141 | completion.shrink:
142 | global: false
143 | completion.timestamp_format:
144 | global: '%Y-%m-%d'
145 | confirm_quit:
146 | global:
147 | - always
148 | downloads.location.directory:
149 | global: /home/eti/Downloads
150 | downloads.location.prompt:
151 | global: false
152 | downloads.location.remember:
153 | global: true
154 | downloads.position:
155 | global: bottom
156 | downloads.remove_finished:
157 | global: -1
158 | fonts.completion.category:
159 | global: 8pt Helvetica Neue
160 | fonts.completion.entry:
161 | global: 8pt Helvetica Neue
162 | fonts.debug_console:
163 | global: 8pt Helvetica Neue
164 | fonts.downloads:
165 | global: 8pt Helvetica Neue
166 | fonts.hints:
167 | global: 8pt Helvetica Neue
168 | fonts.keyhint:
169 | global: 8pt Helvetica Neue
170 | fonts.messages.error:
171 | global: 8pt Helvetica Neue
172 | fonts.messages.info:
173 | global: 8pt Helvetica Neue
174 | fonts.messages.warning:
175 | global: 8pt Helvetica Neue
176 | fonts.monospace:
177 | global: Monaco, Roboto Mono, Monospace
178 | fonts.prompts:
179 | global: 8pt Helvetica Neue
180 | fonts.statusbar:
181 | global: 8pt Helvetica Neue
182 | fonts.tabs:
183 | global: 8pt Helvetica Neue
184 | fonts.web.family.cursive:
185 | global: null
186 | input.partial_timeout:
187 | global: 5000
188 | input.spatial_navigation:
189 | global: false
190 | prompt.radius:
191 | global: 4
192 | qt.args:
193 | global: null
194 | qt.low_end_device_mode:
195 | global: never
196 | qt.process_model:
197 | global: process-per-site-instance
198 | statusbar.padding:
199 | global:
200 | bottom: 15
201 | left: 15
202 | right: 15
203 | top: 15
204 | statusbar.position:
205 | global: bottom
206 | statusbar.widgets:
207 | global:
208 | - url
209 | - keypress
210 | - scroll
211 | - progress
212 | tabs.background:
213 | global: false
214 | tabs.favicons.show:
215 | global: never
216 | tabs.indicator.padding:
217 | global:
218 | bottom: 2
219 | left: 0
220 | right: 4
221 | top: 2
222 | tabs.indicator.width:
223 | global: 0
224 | tabs.last_close:
225 | global: ignore
226 | tabs.padding:
227 | global:
228 | bottom: 15
229 | left: 20
230 | right: 20
231 | top: 15
232 | tabs.pinned.shrink:
233 | global: true
234 | tabs.select_on_remove:
235 | global: prev
236 | tabs.show:
237 | global: always
238 | tabs.tabs_are_windows:
239 | global: false
240 | tabs.title.alignment:
241 | global: left
242 | tabs.title.format:
243 | global: '{audio}{title}'
244 | tabs.title.format_pinned:
245 | global: '{index}'
246 | tabs.wrap:
247 | global: true
248 | url.default_page:
249 | global: about:blank
250 | url.searchengines:
251 | global:
252 | DEFAULT: https://www.google.com/search?hl=en&q={}
253 | url.start_pages:
254 | global: about:blank
255 | url.yank_ignored_parameters:
256 | global:
257 | - ref
258 | - utm_source
259 | - utm_medium
260 | - utm_campaign
261 | - utm_term
262 | - utm_content
263 |
--------------------------------------------------------------------------------
/config/rtile/rtile.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/config/stalonetrayrc:
--------------------------------------------------------------------------------
1 | sticky true
2 | icon_size 24
3 | geometry 1x1-0
4 | background "#777777"
5 | vertical true
--------------------------------------------------------------------------------
/config/streamlink/config:
--------------------------------------------------------------------------------
1 | player=mpv
2 | default-stream=720p60,720p,480p,best
3 | ringbuffer-size=6M
--------------------------------------------------------------------------------
/config/sublime-text-3/Packages/User/Preferences.sublime-settings:
--------------------------------------------------------------------------------
1 | {
2 | "color_scheme": "Packages/Base16 Color Schemes/Themes/base16-github.tmTheme",
3 | "fold_buttons": false,
4 | "font_face": "SF Mono",
5 | "font_size": 15,
6 | "ignored_packages":
7 | [
8 | "Vintage"
9 | ],
10 | "line_padding_bottom": 1,
11 | "line_padding_top": 1,
12 | "margin": 20,
13 | "overlay_scroll_bars": "enabled",
14 | "skin": "DA UI/Minimal",
15 | "theme": "DA.sublime-theme",
16 | "translate_tabs_to_spaces": true,
17 | "word_wrap": "false"
18 | }
19 |
--------------------------------------------------------------------------------
/config/tint2/slim:
--------------------------------------------------------------------------------
1 | # background
2 | border_width = 0
3 | background_color = #071d22 50
4 | background_color_hover = #071d22 75
5 |
6 | # panel
7 | panel_items = T
8 | panel_size = 100% 40
9 | panel_margin = 0 40
10 | panel_background_id = 1
11 | panel_position = top center horizontal
12 | panel_window_name = tint2
13 | panel_monitor = 2
14 |
15 | # task
16 | task_text = 1
17 | task_centered = 1
18 | task_padding = 2 5 4
19 | task_font = euphon 8
20 | task_font_color = #ffffff 85
21 | task_active_font_color = #ffffff 100
22 | task_background_id = 1
23 | mouse_left = toggle_iconify
24 | taskbar_hide_different_monitor = 1
25 | taskbar_mode = single_desktop
--------------------------------------------------------------------------------
/config/tmux.conf:
--------------------------------------------------------------------------------
1 | # start with window 1 (instead of 0)
2 | set -g base-index 1
3 |
4 | # start with pane 1
5 | set -g pane-base-index 1
6 |
7 | # enable mouse
8 | setw -g mouse on
9 |
10 | # history
11 | set -g history-limit 4096
12 |
13 | # allow terminal scrolling
14 | set-option -g terminal-overrides 'xterm*:smcup@:rmcup@'
15 |
16 | # resizing
17 | setw -g aggressive-resize on
18 |
19 | # window status
20 | set-option -g status-position bottom
21 | set -g status-bg default
22 |
23 | # info on right (no session display)
24 | set-option -g status-right ""
25 | set-option -g status-left ""
26 |
27 | # toggle status bar visibility
28 | bind t set status
29 |
30 | # navigate throught windows
31 | bind-key -n S-Left previous-window
32 | bind-key -n S-Right next-window
33 |
34 | # colors
35 | setw -g window-status-format "#[fg=colour8]#W "
36 | setw -g window-status-current-format "#[fg=colour2]#W "
37 | # set -g pane-border-fg colour0
38 | # set -g pane-active-border-fg colour0
39 |
--------------------------------------------------------------------------------
/irssi/c.theme:
--------------------------------------------------------------------------------
1 | # When testing changes, the easiest way to reload the theme is with /RELOAD.
2 | # This reloads the configuration file too, so if you did any changes remember
3 | # to /SAVE it first. Remember also that /SAVE overwrites the theme file with
4 | # old data so keep backups :)
5 |
6 | # TEMPLATES:
7 |
8 | # The real text formats that irssi uses are the ones you can find with
9 | # /FORMAT command. Back in the old days all the colors and texts were mixed
10 | # up in those formats, and it was really hard to change the colors since you
11 | # might have had to change them in tens of different places. So, then came
12 | # this templating system.
13 |
14 | # Now the /FORMATs don't have any colors in them, and they also have very
15 | # little other styling. Most of the stuff you need to change is in this
16 | # theme file. If you can't change something here, you can always go back
17 | # to change the /FORMATs directly, they're also saved in these .theme files.
18 |
19 | # So .. the templates. They're those {blahblah} parts you see all over the
20 | # /FORMATs and here. Their usage is simply {name parameter1 parameter2}.
21 | # When irssi sees this kind of text, it goes to find "name" from abstracts
22 | # block below and sets "parameter1" into $0 and "parameter2" into $1 (you
23 | # can have more parameters of course). Templates can have subtemplates.
24 | # Here's a small example:
25 | # /FORMAT format hello {colorify {underline world}}
26 | # abstracts = { colorify = "%G$0-%n"; underline = "%U$0-%U"; }
27 | # When irssi expands the templates in "format", the final string would be:
28 | # hello %G%Uworld%U%n
29 | # ie. underlined bright green "world" text.
30 | # and why "$0-", why not "$0"? $0 would only mean the first parameter,
31 | # $0- means all the parameters. With {underline hello world} you'd really
32 | # want to underline both of the words, not just the hello (and world would
33 | # actually be removed entirely).
34 |
35 | # COLORS:
36 |
37 | # You can find definitions for the color format codes in docs/formats.txt.
38 |
39 | # There's one difference here though. %n format. Normally it means the
40 | # default color of the terminal (white mostly), but here it means the
41 | # "reset color back to the one it was in higher template". For example
42 | # if there was /FORMAT test %g{foo}bar, and foo = "%Y$0%n", irssi would
43 | # print yellow "foo" (as set with %Y) but "bar" would be green, which was
44 | # set at the beginning before the {foo} template. If there wasn't the %g
45 | # at start, the normal behaviour of %n would occur. If you _really_ want
46 | # to use the terminal's default color, use %N.
47 |
48 | #############################################################################
49 |
50 | # default foreground color (%N) - -1 is the "default terminal color"
51 | default_color = "-1";
52 |
53 | # print timestamp/servertag at the end of line, not at beginning
54 | info_eol = "false";
55 |
56 | # these characters are automatically replaced with specified color
57 | # (dark grey by default)
58 | replaces = { "[]=" = "%K$*%n"; };
59 |
60 | abstracts = {
61 | ##
62 | ## generic
63 | ##
64 |
65 | # text to insert at the beginning of each non-message line
66 | line_start = "";
67 |
68 | # timestamp styling, nothing by default
69 | timestamp = "$*";
70 |
71 | # any kind of text that needs hilighting, default is to bold
72 | hilight = "%_$*%_";
73 |
74 | # any kind of error message, default is bright red
75 | error = "%R$*%n";
76 |
77 | # channel name is printed
78 | channel = "%Y$*%n";
79 |
80 | # nick is printed
81 | nick = "%g$*%n";
82 |
83 | # nick host is printed
84 | nickhost = "[$*]";
85 |
86 | # server name is printed
87 | server = "%_$*%_";
88 |
89 | # some kind of comment is printed
90 | comment = "[$*]";
91 |
92 | # reason for something is printed (part, quit, kick, ..)
93 | reason = "{comment $*}";
94 |
95 | # mode change is printed ([+o nick])
96 | mode = "{comment $*}";
97 |
98 | ##
99 | ## channel specific messages
100 | ##
101 |
102 | # highlighted nick/host is printed (joins)
103 | channick_hilight = "%M$*%n";
104 | chanhost_hilight = "{nickhost $*}";
105 |
106 | # nick/host is printed (parts, quits, etc.)
107 | channick = "%m$*%n";
108 | chanhost = "{nickhost $*}";
109 |
110 | # highlighted channel name is printed
111 | channelhilight = "%W$*%n";
112 |
113 | # ban/ban exception/invite list mask is printed
114 | ban = "%W$*%n";
115 |
116 | ##
117 | ## me
118 | ##
119 | ## messages
120 | ##
121 |
122 | # the basic styling of how to print message, $0 = nick mode, $1 = nick
123 | msgnick = "%K$0%n $1 %K:%n ";
124 |
125 | # message from you is printed. "ownnick" specifies the styling of the
126 | # nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
127 | # whole line.
128 |
129 | # Example1: You want the message text to be green:
130 | # ownmsgnick = "{msgnick $0 $1-}%g";
131 | # Example2.1: You want < and > chars to be yellow:
132 | # ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
133 | # (you'll also have to remove <> from replaces list above)
134 | # Example2.2: But you still want to keep <> grey for other messages:
135 | # pubmsgnick = "%K{msgnick $0 $1-%K}%n";
136 | # pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
137 | # pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n";
138 | # ownprivmsgnick = "%K{msgnick $*%K}%n";
139 | # privmsgnick = "%K{msgnick %R$*%K}%n";
140 |
141 | # $0 = nick mode, $1 = nick
142 | ownmsgnick = "{msgnick $0 $1}";
143 | ownnick = "$*";
144 |
145 | # public message in channel, $0 = nick mode, $1 = nick
146 | pubmsgnick = "{msgnick $0 $1}%n";
147 | pubnick = "$*%n";
148 |
149 | # public message in channel meant for me, $0 = nick mode, $1 = nick
150 | pubmsgmenick = "%W{msgnick $0 $1}%n";
151 | menick = "$*%n";
152 |
153 | # public highlighted message in channel
154 | # $0 = highlight color, $1 = nick mode, $2 = nick
155 | pubmsghinick = "{msgnick $1 $0$2:%n}";
156 |
157 | # channel name is printed with message
158 | msgchannel = "%K:%c$*%n";
159 |
160 | # private message, $0 = nick, $1 = host
161 | privmsg = "[%w$0%K(%w$1:%K)%n] ";
162 |
163 | # private message from you, $0 = "msg", $1 = target nick
164 | ownprivmsg = "[%w$0%K(%w$1:%K)%n] ";
165 |
166 | # own private message in query
167 | ownprivmsgnick = "{msgnick $*}";
168 | ownprivnick = "%_$*%n";
169 |
170 | # private message in query
171 | privmsgnick = "{msgnick %w$*%n}";
172 |
173 | ##
174 | ## Actions (/ME stuff)
175 | ##
176 |
177 | # used internally by this theme
178 | action_core = " %n:%n %y$0%n$1";
179 |
180 | # generic one that's used by most actions
181 | action = "{action_core $*} ";
182 |
183 | # own action, both private/public
184 | ownaction = "{action $*}";
185 |
186 | # own action with target, both private/public
187 | ownaction_target = "{action_core $0}%K:%c$1%n ";
188 |
189 | # private action sent by others
190 | pvtaction = "%_ (*) $*%n ";
191 | pvtaction_query = "{action $*}";
192 |
193 | # public action sent by others
194 | pubaction = "{action $*}";
195 |
196 |
197 | ##
198 | ## other IRC events
199 | ##
200 |
201 | # whois
202 | whois = "%# $[8]0 : $1-";
203 |
204 | # notices
205 | ownnotice = "[%r$0%K(%r$1-%K)]%n ";
206 | notice = "%K-%M$*%K-%n ";
207 | pubnotice_channel = "%K:%m$*";
208 | pvtnotice_host = "%K(%m$*%K)";
209 | servernotice = "%g!$*%n ";
210 |
211 | # CTCPs
212 | ownctcp = "[%r$0%K(%r$1-%K)] ";
213 | ctcp = "%g$*%n";
214 |
215 | # wallops
216 | wallop = "%_$*%n: ";
217 | wallop_nick = "%n$*";
218 | wallop_action = "%_ * $*%n ";
219 |
220 | # netsplits
221 | netsplit = "%r$*%n";
222 | netjoin = "%C$*%n";
223 |
224 | # /names list
225 | names_prefix = "";
226 | names_nick = "[$0$1-] ";
227 | names_nick_op = "{names_nick $*}";
228 | names_nick_halfop = "{names_nick $*}";
229 | names_nick_voice = "{names_nick $*}";
230 | names_users = "[%g$*%n]";
231 | names_channel = "%G$*%n";
232 |
233 | # DCC
234 | dcc = "%g$*%n";
235 | dccfile = "%_$*%_";
236 |
237 | # DCC chat, own msg/action
238 | dccownmsg = "[%r$0%K($1-%K)%n] ";
239 | dccownnick = "%rR$*%n";
240 | dccownquerynick = "%_$*%n";
241 | dccownaction = "{action $*}";
242 | dccownaction_target = "{action_core $0}%K:%c$1%n ";
243 |
244 | # DCC chat, others
245 | dccmsg = "[%G$1-%K(%g$0%K)%n] ";
246 | dccquerynick = "%G$*%n";
247 | dccaction = "%_ (*dcc*) $*%n %|";
248 |
249 | ##
250 | ## statusbar
251 | ##
252 |
253 | # default background for all statusbars. You can also give
254 | # the default foreground color for statusbar items.
255 | sb_background = "%n";
256 |
257 | # default backround for "default" statusbar group
258 | sb_default_bg = "%w";
259 | # background for prompt / input line
260 | sb_prompt_bg = "%n";
261 | # background for info statusbar
262 | sb_info_bg = "";
263 | # background for topicbar (same default)
264 | #sb_topic_bg = "%4";
265 |
266 | # text at the beginning of statusbars. "sb" already puts a space there,
267 | # so we don't use anything by default.
268 | sbstart = "";
269 | # text at the end of statusbars. Use space so that it's never
270 | # used for anything.
271 | sbend = "";
272 |
273 | topicsbstart = "{sbstart $*}";
274 | topicsbend = "{sbend $*}";
275 |
276 | prompt = "%n ; ";
277 |
278 | sb = "$* ";
279 | sbmode = "";
280 | sbaway = " (%Gafk%n)";
281 | sbservertag = ":$0";
282 | sbnickmode = "$*";
283 |
284 | # activity in statusbar
285 |
286 | # ',' separator
287 | sb_act_sep = "%K : %n";
288 | # normal text
289 | sb_act_text = "%K$*";
290 | # public message
291 | sb_act_msg = "%w$*";
292 | # hilight
293 | sb_act_hilight = "%R$*";
294 | # hilight with specified color, $0 = color, $1 = text
295 | sb_act_hilight_color = "$0 $1 - %n";
296 | };
297 | formats = {
298 | "fe-common/core" = {
299 | pubmsg = "{pubmsgnick $2 {pubnick \00303$[-8]0}}$1";
300 | own_msg = "{ownmsgnick $2 {ownnick $[-8]0}}$1";
301 | own_msg_channel = "{ownmsgnick $3 {ownnick $nickcolor$[-8]0}{msgchannel $1}}$2";
302 | pubmsg_me = "{pubmsgmenick $2 {menick $nickcolor$[-8]0}}$1";
303 | pubmsg_me_channel = "{pubmsgmenick $3 {menick $nickcolor$[-8]0}{msgchannel $1}}$2";
304 | pubmsg_hilight = "{pubmsghinick $nickcolor$0 $3 $[-8]1}$2";
305 | pubmsg_hilight_channel = "{pubmsghinick $nickcolor$0 $4 $[-8]1{msgchannel $2}}$3";
306 | pubmsg_channel = "{pubmsgnick $3 {pubnick $nickcolor$[-8]0}{msgchannel $1}}$2";
307 | your_nick_changed = " : you ({nick $0}) are now know as {nick $1}";
308 | nick_changed = " : {channick $0} is now known as {channick_hilight $1}";
309 | join = " %m× {channick_hilight $0}%n join";
310 | part = " %m× {channick $0}%n leave";
311 | kick = " %m× {channick $0}%n was kicked - {reason $2}";
312 | quit = " %m× {channick $0}%n quit";
313 | };
314 | };
315 |
--------------------------------------------------------------------------------
/irssi/config:
--------------------------------------------------------------------------------
1 | utf8 = "on";
2 |
3 | servers = (
4 | {
5 | address = "irc.freenode.net";
6 | chatnet = "freenode";
7 | port = "6667";
8 | use_ssl = "no";
9 | ssl_verify = "no";
10 | autoconnect = "no";
11 | },
12 | {
13 | address = "irc.nixers.net";
14 | chatnet = "nixers";
15 | port = "6697";
16 | use_ssl = "yes";
17 | autoconnect = "no";
18 | },
19 | {
20 | address = "irc.rizon.net";
21 | chatnet = "rizon";
22 | port = "6697";
23 | use_tls = "yes";
24 | tls_verify = "yes";
25 | tls_capath = "/etc/ssl/certs";
26 | },
27 | {
28 | address = "irc.lainchan.org";
29 | chatnet = "lainchan";
30 | port = "6697";
31 | use_tls = "no";
32 | tls_verify = "no";
33 | }
34 | );
35 |
36 | chatnets = {
37 | freenode = { type = "IRC"; };
38 | rizon = {
39 | type = "IRC";
40 | sasl_mechanism = "plain";
41 | sasl_username = "eti";
42 | sasl_password = "";
43 | };
44 | nixers = { type = "IRC"; };
45 | lainchan = { type = "IRC"; };
46 | };
47 |
48 | settings = {
49 | core = { real_name = "0x264F"; user_name = "eti"; nick = "eti"; };
50 | "fe-text" = {
51 | actlist_sort = "refnum";
52 | indent = "13";
53 | indent_always = "yes";
54 | };
55 | "fe-common/core" = {
56 | theme = "c";
57 | timestamps = "no";
58 | show_nickmode_empty = "yes";
59 | autolog = "yes";
60 | show_names_on_join = "no";
61 | };
62 | type = "IRC";
63 | "perl/core/scripts" = {
64 | tmux_away_message = "afk";
65 | tmux_away_window = "0";
66 | nickcolor_enable_prefix = "yes";
67 | nickcolor_enable_truncate = "yes";
68 | nickcolor_prefix_text = " ";
69 | nickcolor_truncate_value = "-8";
70 | nickcolor_colors = "2 3 4 5 6 7 8 9 10 11 12 13 14";
71 | };
72 | };
73 |
74 | statusbar = {
75 | default = {
76 | topic = { disabled = "yes"; };
77 | window = {
78 | items = {
79 | barstart = { alignment = "right"; priority = "100"; };
80 | window = { };
81 | window_empty = { };
82 | lag = { priority = "-1"; alignment = "right"; position = "0"; };
83 | act = { priority = "10"; alignment = "right"; position = "0"; };
84 | more = { priority = "10"; alignment = "right"; position = "0"; };
85 | barend = { priority = "100"; alignment = "right"; };
86 | };
87 | position = "0";
88 | placement = "top";
89 | visible = "active";
90 | };
91 | prompt = { position = "0"; };
92 | window_inact = { disabled = "yes"; };
93 | };
94 | };
95 |
96 |
97 | ignores = ( { level = "MODES JOINS PARTS QUITS"; } );
98 |
99 | aliases = {
100 | leave = "part";
101 | close = "window close";
102 | son = "statusbar window enable";
103 | soff = "statusbar window disable";
104 | afk = "away afk";
105 | };
106 |
107 | logs = { };
108 |
109 | keyboard = (
110 | { key = "^O"; id = "command"; data = "statusbar window enable "; },
111 | { key = "^P"; id = "command"; data = "statusbar window disable "; },
112 | { key = "meta-[M"; id = "command"; data = "mouse_xterm "; }
113 | );
114 |
--------------------------------------------------------------------------------
/local/share/luakit/settings:
--------------------------------------------------------------------------------
1 | {{
2 | ["domain"]={2},
3 | },
4 | {
5 | [""]={3},
6 | },
7 | {
8 | ["tablist.always_visible"]=false,
9 | ["window.new_window_size"]="900x750",
10 | ["webview.monospace_font_family"]="Roboto Mono",
11 | ["webview.enable_smooth_scrolling"]=false,
12 | ["window.home_page"]="luakit://newtab/",
13 | ["window.scroll_step"]=40,
14 | ["webview.sans_serif_font_family"]="Inter UI",
15 | ["webview.serif_font_family"]="Noto Serif",
16 | ["webview.enable_mediasource"]=true,
17 | ["webview.allow_modal_dialogs"]=true,
18 | ["webview.draw_compositing_indicators"]=false,
19 | ["webview.media_playback_requires_gesture"]=true,
20 | ["webview.enable_webgl"]=true,
21 | ["window.reuse_new_tab_pages"]=true,
22 | ["webview.enable_media_stream"]=true,
23 | ["window.close_with_last_tab"]=false,
24 | ["webview.allow_file_access_from_file_urls"]=false,
25 | ["webview.enable_dns_prefetching"]=true,
26 | ["webview.enable_accelerated_2d_canvas"]=true,
27 | ["webview.enable_webaudio"]=true,
28 | },
29 | }
--------------------------------------------------------------------------------
/mpd/mpd.conf:
--------------------------------------------------------------------------------
1 | # __ ___
2 | # /\ \ /'___\
3 | # ___ ___ _____ \_\ \ ___ ___ ___ /\ \__/
4 | # /' __` __`\/\ '__`\ /'_` \ /'___\ / __`\/' _ `\ \ ,__\
5 | # /\ \/\ \/\ \ \ \L\ /\ \L\ \ __/\ \__//\ \L\ /\ \/\ \ \ \_/
6 | # \ \_\ \_\ \_\ \ ,__\ \___,_/\_\ \____\ \____\ \_\ \_\ \_\
7 | # \/_/\/_/\/_/\ \ \/ \/__,_ \/_/\/____/\/___/ \/_/\/_/\/_/
8 | # \ \_\
9 | # \/_/
10 |
11 | # files & directories
12 | music_directory "~/Music"
13 | playlist_directory "~/.mpd/playlists"
14 | db_file "~/.mpd/mpd.db"
15 | log_file "~/.mpd/mpd.log"
16 | pid_file "~/.mpd/mpd.pid"
17 | state_file "~/.mpd/mpdstate"
18 | sticker_file "~/.mpd/sticker.sql"
19 |
20 | # network
21 | bind_to_address "any"
22 | port "7755"
23 | auto_update "yes"
24 |
25 | # outputs
26 | audio_output {
27 | type "fifo"
28 | name "fifo"
29 | path "/tmp/mpd.fifo"
30 | format "44100:16:2"
31 | }
32 |
33 | audio_output {
34 | type "pulse"
35 | name "pulseaudio output"
36 | }
--------------------------------------------------------------------------------
/ncmpcpp/config:
--------------------------------------------------------------------------------
1 | # ___ ___ ___ ___ _____ ___ _____ _____
2 | # /' _ `\ /'___\/' __` __`\/\ '__`\ /'___/\ '__`\/\ '__`\
3 | # /\ \/\ \/\ \__//\ \/\ \/\ \ \ \L\ /\ \__\ \ \L\ \ \ \L\ \
4 | # \ \_\ \_\ \____\ \_\ \_\ \_\ \ ,__\ \____\ \ ,__/\ \ ,__/
5 | # \/_/\/_/\/____/\/_/\/_/\/_/\ \ \/ \/____/\ \ \/ \ \ \/
6 | # \ \_\ \ \_\ \ \_\
7 | # \/_/ \/_/ \/_/
8 |
9 |
10 | # mpd
11 | mpd_port = "7755"
12 |
13 |
14 | # display
15 | song_list_format = "%t"
16 | # alternative -- song_columns_list_format = "(5)[]{}(55)[16]{t}"
17 | song_columns_list_format = "(0)[16]{t}"
18 | song_status_format = "$3%t"
19 | playlist_display_mode = "columns"
20 |
21 |
22 | # now playing
23 | # alternative -- now_playing_prefix = "$3-"
24 | now_playing_suffix = " $8+"
25 |
26 |
27 | # playlist
28 | browser_playlist_prefix = "$3 ♥ $3 "
29 |
30 |
31 | # delays
32 | playlist_disable_highlight_delay = "1"
33 | message_delay_time= "1"
34 |
35 |
36 | # progress bar
37 | progressbar_look = "─╴─"
38 | # progressbar_color = "black"
39 | progressbar_elapsed_color = "cyan"
40 |
41 |
42 | # colors
43 | colors_enabled = "yes"
44 | empty_tag_color = "white"
45 | statusbar_color = "white"
46 | state_line_color = "white"
47 | state_flags_color = "white"
48 | main_window_color = "white"
49 | header_window_color = "white"
50 |
51 |
52 | # misc
53 | display_bitrate = "no"
54 | autocenter_mode = "yes"
55 | centered_cursor = "yes"
56 | titles_visibility = "no"
57 | statusbar_visibility = "no"
58 | mouse_support = "no"
59 | header_visibility = "no"
60 | display_remaining_time = "no"
61 | ask_before_clearing_playlists = "yes"
62 | discard_colors_if_item_is_selected = "yes"
63 | allow_for_physical_item_deletion = "yes"
64 | seek_time = 5
65 |
66 |
67 | # visualizer
68 | visualizer_in_stereo = "yes"
69 | visualizer_sync_interval = "128"
70 | visualizer_output_name = "fifo"
71 | visualizer_fifo_path = "/tmp/mpd.fifo"
72 | visualizer_type = "spectrum" (spectrum/wave)
73 | # visualizer_sample_multiplier = 0.20
74 | visualizer_color = "white"
75 | visualizer_look = "∙│"
76 |
--------------------------------------------------------------------------------
/scripts/batstat.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 | # print battery information in a notification
3 |
4 |
5 | notify-send (acpi -b | sed 's/Battery 0: //')
--------------------------------------------------------------------------------
/scripts/battery.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 | # alerts the user when the battery level is low | original script created by Daniel Neemann
3 |
4 |
5 | # vars
6 | set battery "BAT0"
7 | set c (cat /sys/class/power_supply/$battery/capacity)
8 | set s (cat /sys/class/power_supply/$battery/status)
9 |
10 |
11 | # exec
12 | while true
13 | if test "$c" -lt "30" ; and test "$s" != "Charging"
14 | notify-send "battery level low! - $c%"
15 | else
16 | #
17 | end
18 | sleep "5m"
19 | end
--------------------------------------------------------------------------------
/scripts/ccv.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | # quickly check a cryptocoin value
3 |
4 |
5 | # vars
6 | # urls
7 | ethurl="https://ethereumprice.org"
8 | btcurl="https://ethereumprice.org/btc/"
9 | ltcurl="https://ethereumprice.org/ltc/"
10 |
11 | # tmp
12 | btctmp="/tmp/btc"
13 | ethtmp="/tmp/eth"
14 | ltctmp="/tmp/ltc"
15 |
16 | # strings
17 | str0=""
18 | str1=""
19 | prc0=""
20 | prc1=""
21 |
22 | # colors
23 | rst="\e[0m"
24 | ylw="\e[33m"
25 | blu="\e[34m"
26 | dgr="\e[90m"
27 | lgr="\e[37m"
28 |
29 | # misc
30 | ctc="f$2"
31 | out="$3"
32 |
33 |
34 |
35 | # funcs
36 | fbtc() {
37 | url="$btcurl"
38 | curl -s "$url" > "$btctmp"
39 | cur="$(cat "$btctmp" | grep -oP "(?<=$str0).*?(?=$str1)")"
40 | prc="$(cat "$btctmp" | grep -oP "(?<=$prc0).*?(?=$prc1)")"
41 |
42 | if [ "$iiaf" = "yes" ] ; then
43 | printf "BTC: \$$cur - $prc%% \n"
44 | else
45 | printf ""$ylw"BTC:"$rst" \$$cur "$dgr"-"$rst" $prc%% \n"
46 | fi
47 |
48 | rm "$btctmp"
49 | }
50 |
51 |
52 | feth() {
53 | url="$ethurl"
54 | curl -s "$url" > "$ethtmp"
55 | cur="$(cat "$ethtmp" | grep -oP "(?<=$str0).*?(?=$str1)")"
56 | prc="$(cat "$ethtmp" | grep -oP "(?<=$prc0).*?(?=$prc1)")"
57 |
58 | if [ "$iiaf" = "yes" ] ; then
59 | printf "ETH: \$$cur - $prc%% \n"
60 | else
61 | printf ""$blu"ETH:"$rst" \$$cur "$dgr"-"$rst" $prc%% \n"
62 | fi
63 |
64 | rm "$ethtmp"
65 | }
66 |
67 |
68 | fltc() {
69 | url="$ltcurl"
70 | curl -s "$url" > "$ltctmp"
71 | cur="$(cat "$ltctmp" | grep -oP "(?<=$str0).*?(?=$str1)")"
72 | prc="$(cat "$ltctmp" | grep -oP "(?<=$prc0).*?(?=$prc1)")"
73 |
74 | if [ "$iiaf" = "yes" ] ; then
75 | printf "LTC: \$$cur - $prc%% \n"
76 | else
77 | printf ""$lgr"LTC:"$rst" \$$cur "$dgr"-"$rst" $prc%% \n"
78 | fi
79 |
80 | rm "$ltctmp"
81 | }
82 |
83 |
84 | fetch() {
85 | # hide the cursor
86 | tput civis
87 |
88 | # get the values
89 | fbtc
90 | feth
91 | fltc
92 |
93 | # show the cursor
94 | tput cnorm
95 | }
96 |
97 |
98 | file() {
99 | $ctc > $out
100 | }
101 |
102 | loopfile() {
103 | while :; do
104 | # fetch the values
105 | file
106 |
107 | # wait
108 | sleep "$hold"
109 | done
110 | }
111 |
112 |
113 | loop() {
114 | while :; do
115 | # clear the window
116 | printf "\033c"
117 |
118 | # fetch the values
119 | fetch
120 |
121 | # hide the cursor
122 | tput civis
123 |
124 | # wait
125 | printf "$dgr\0refreshing the values in $hold seconds...$rst"
126 | sleep "$hold"
127 |
128 | # clear the window again
129 | printf "\033c"
130 | done
131 | }
132 |
133 |
134 | usage() {
135 | printf "usage: ccv [options]
136 | options:
137 | -l [seconds] (loop)
138 | -h (show this screen)\n"
139 | exit 0
140 | }
141 |
142 |
143 | # exec
144 | # show the cursor even on quit
145 | trap "tput cnorm && exit" INT
146 |
147 | if [ "$1" = "-l" ] ; then
148 | # set the arg
149 | hold="$2"
150 | loop
151 | elif [ "$1" = "-f" ] ; then
152 | # is it a file?
153 | iiaf="yes"
154 | file
155 | elif [ "$1" = "-lf" ] ; then
156 | # is it a file?
157 | iiaf="yes"
158 | # set the arg
159 | hold="$4"
160 | loopfile
161 | elif [ "$1" = "-h" ] ; then
162 | usage
163 | else
164 | fetch
165 | fi
--------------------------------------------------------------------------------
/scripts/chro.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 |
3 | chromium --app="http://$argv"
--------------------------------------------------------------------------------
/scripts/colors.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | # colors
4 | text="#ffffff"
5 | warning="#232e2f"
6 | background="#000000"
7 |
8 | # other stuff
9 | trs="%{F#00000000}"
10 | bg="%{B$background}"
11 | txt="%{F$text}"
12 | wrn="%{F$warning}"
13 |
14 | # accents
15 | acc0="#000000" # active bg
16 | acc1="#1d1d1d"
17 | acc2="#000000"
18 | acc3="#000000"
19 | acc4="#D75756" # active
20 |
21 | # background accents
22 | a0="%{B$acc0}"
23 | a1="%{B$acc1}"
24 | a2="%{B$acc2}"
25 | a3="%{B$acc3}"
26 |
27 | # foreground accents
28 | af0="%{F$acc0}"
29 | af1="%{F$acc1}"
30 | af2="%{F$acc2}"
31 | af3="%{F$acc3}"
32 | af4="%{F$acc4}"
33 |
34 | # misc
35 | bgt="%{B$text}"
36 | bgf="%{F$background}"
--------------------------------------------------------------------------------
/scripts/dico.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 |
3 |
4 | # vars
5 | set www "http://www.dictionary.com/browse"
6 | set word "$argv"
7 | set cmd (wget -qO - "$www/$word" | grep -oP '(?<=\nrequires wget, grep and sed.\n"
22 | exit "1"
23 | end
24 |
25 |
26 | # exec
27 | if test -z "$argv"
28 | usage
29 | else
30 | get
31 | end
--------------------------------------------------------------------------------
/scripts/drawterm.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 |
4 | # vars
5 | selectionFormat="%w %h %x %y"
6 | selectionColors="0 0 0 1"
7 | selectionBorderWidth="2"
8 |
9 |
10 | # exec
11 | read "width" "height" "xpos" "ypos" < <(slop -q -t "0" -lf "$selectionFormat" -b "$selectionBorderWidth" -c "$selectionColors")
12 |
13 | [[ $width ]] || exit
14 |
15 | alacritty &
16 | pid=$!
17 |
18 | xdo hide -p "$pid" -m
19 | xdo show -p "$pid" -m
20 | xdo move -x "$xpos" -y "$ypos" -p "$pid"
21 | xdo resize -w "$width" -h "$height" -p "$pid"
22 |
--------------------------------------------------------------------------------
/scripts/fonts.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 |
3 |
4 | # vars
5 | set fontdir "$HOME/.fonts"
6 |
7 |
8 | # exec
9 | mkfontdir "$fontdir"
10 |
11 | cp "$fontdir/fonts.dir" "$fontdir/fonts.alias"
12 | sed -i "1d;s/.pcf.gz//;s/.pcf//;s/.bdf//" "$fontdir/fonts.alias"
13 |
14 | xset fp+ "$fontdir"
15 | xset fp rehash
16 |
17 | printf "done!\n"
--------------------------------------------------------------------------------
/scripts/img/small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eti0/dots/0107d61280ea610efcdea0a94d800c58ca8766ff/scripts/img/small.png
--------------------------------------------------------------------------------
/scripts/irc.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 |
3 | urxvt -name "irc"
--------------------------------------------------------------------------------
/scripts/layout.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 | # change the keyboard layout
3 |
4 | set current (setxkbmap -query | awk 'END { print $2 }')
5 |
6 | switch $current
7 | case us
8 | set new fr
9 | case fr
10 | set new us
11 | case *
12 | set new us
13 | end
14 |
15 | setxkbmap $new
16 | # notify-send keymap\ changed\ to\ $new
17 |
--------------------------------------------------------------------------------
/scripts/mu.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 |
3 |
4 | if test -z "$argv"
5 | exit 1
6 | else
7 | printf "$argv" | grep "soundcloud" > "/dev/null"
8 | if test "$status" = "0"
9 | scdl --path "$HOME/Music/mu/sc/" --onlymp3 -l "$argv"
10 | else if test "$status" = "1"
11 | youtube-dl -x --audio-format "mp3" -o "$HOME/Music/mu/yt/%(title)s.%(ext)s" "$argv"
12 | else
13 | #
14 | end
15 | end
--------------------------------------------------------------------------------
/scripts/nrnl.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | # no rice no life - display system info
3 |
4 | # colors
5 | f="3"
6 | b="4"
7 | for j in f b; do
8 | for i in {0..7} ; do
9 | printf -v "$j$i" "%b" "\e[${!j}${i}m"
10 | done
11 | done
12 |
13 | bld=$'\e[1m'
14 | rst=$'\e[0m'
15 | inv=$'\e[7m'
16 |
17 |
18 | # detect
19 | user="$(whoami)"
20 | host="$(hostname)"
21 |
22 | kernel="$(uname -r)"
23 | kernel="${kernel%-*}"
24 | kernel="${kernel%_*}"
25 |
26 | shell="$(basename "$SHELL")"
27 |
28 | os() {
29 | os="$(source "/etc/os-release" && echo "$ID")"
30 | export "os"
31 | }
32 |
33 | wm() {
34 | id="$(xprop -root -notype "_NET_SUPPORTING_WM_CHECK")"
35 | id="${id##* }"
36 | wm="$(xprop -id "$id" -notype -len "100" -f "_NET_WM_NAME" "8t")"
37 | wm="${wm/*_NET_WM_NAME = }"
38 | wm="${wm/\"}"
39 | wm="${wm/\"*}"
40 | wm="${wm,,}"
41 | export "wm"
42 | }
43 |
44 | init() {
45 | init="$(readlink "/sbin/init")"
46 | init="${init##*/}"
47 | init="${init%%-*}"
48 | export "init"
49 | }
50 |
51 |
52 | # exec
53 | os
54 | wm
55 | init
56 | cat << EOF
57 |
58 | ${rst} /${f6} / ${rst}os: ${f6}$os${rst}
59 | ${rst} /_${f6} _ __. // ______ _ ${rst}shell: ${f6}$shell${rst}
60 | ${rst}/ /(_/|/dev/null 2>&1
49 | else
50 | #
51 | end
52 |
53 | if test "$status" -eq "0"
54 | cp "$file" "$saved"
55 | rm "$file"
56 | else
57 | notify-send "looking for a cover with glyr"
58 |
59 | glyrc cover --album "$album" \
60 | --artist "$artist" \
61 | --title "$title" \
62 | --write "$file"
63 |
64 | convert "$file" \
65 | -resize "200x200" \
66 | # -set colorspace Gray \
67 | # -separate \
68 | # -average \
69 | # -negate \
70 | "$file" >/dev/null 2>&1
71 | cp "$file" "$saved"
72 | rm "$file"
73 | end
74 | end
75 |
76 |
77 |
78 | if test -f "$saved"
79 | popup "$saved" "0" >/dev/null 2>&1 &
80 | sleep ".05"
81 | # n30f -t "inner_corners" \
82 | # -x "20" \
83 | # -y (math $ypos - 295) \
84 | # -c "pkill -f 'n30f -t popup-image' && pkill -f 'n30f -t popup-background' && pkill -f 'n30f -t popup-arrow' && pkill -f 'n30f -t inner-corners'" \
85 | # "/usr/scripts/popup/img/inner-corners.png" &
86 | # sleep ".02"
87 | # n30f -t "popup-arrow" \
88 | # -x "40" \
89 | # -y (math $ypos - 55) \
90 | # -c "pkill -f 'n30f -t popup-image' && pkill -f 'n30f -t popup-background' && pkill -f 'n30f -t inner-corners' && pkill -f 'n30f -t popup-arrow'" \
91 | # "/usr/scripts/popup/img/arrow.png"
92 | else
93 | notify-send "cover not found"
94 | exit "1"
95 | end
96 |
97 |
--------------------------------------------------------------------------------
/scripts/popup/img/arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eti0/dots/0107d61280ea610efcdea0a94d800c58ca8766ff/scripts/popup/img/arrow.png
--------------------------------------------------------------------------------
/scripts/popup/img/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eti0/dots/0107d61280ea610efcdea0a94d800c58ca8766ff/scripts/popup/img/bg.png
--------------------------------------------------------------------------------
/scripts/popup/img/inner-corners.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eti0/dots/0107d61280ea610efcdea0a94d800c58ca8766ff/scripts/popup/img/inner-corners.png
--------------------------------------------------------------------------------
/scripts/popup/popup.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 |
3 |
4 | # vars
5 | set monh (xdotool getdisplaygeometry | awk '{print $2}')
6 | set dir "/usr/scripts/popup"
7 | set background "$dir/img/bg.png"
8 | set file "$argv[1]"
9 | set xpos "$argv[2]"
10 | set ypos "35"
11 |
12 |
13 | # funcs
14 | function display-background
15 | n30f -t popup-background \
16 | -x "$xpos" \
17 | -y "$ypos" \
18 | -c "pkill -f 'n30f -t popup-image' && pkill -f 'n30f -t popup-background'" \
19 | "$background" &
20 | end
21 |
22 | function display-image
23 | n30f -t popup-image \
24 | -x (math $xpos + 40) \
25 | -y (math $ypos + 35) \
26 | -c "pkill -f 'n30f -t popup-image' && pkill -f 'n30f -t popup-background'" \
27 | "$file" &
28 | end
29 |
30 |
31 | # exec
32 | if test -z "$argv"
33 | printf "usage:\npopup: [file] [position]\n"
34 | else
35 | display-background
36 | display-image
37 | end
38 |
--------------------------------------------------------------------------------
/scripts/scr.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 |
3 |
4 | # vars
5 | set frmt (date +%F-%T)
6 | set path "$HOME/Pictures/Screenshots/$frmt.png"
7 |
8 |
9 | # exec
10 | if test "$argv" = "w"
11 | maim -s --hidecursor "$path"
12 | if test "$status" = "0"
13 | notify-send "window screenshot taken"
14 | else
15 | #
16 | end
17 | else
18 | maim --hidecursor $path
19 | if test "$status" = "0"
20 | notify-send "screenshot taken"
21 | else
22 | #
23 | end
24 | end
--------------------------------------------------------------------------------
/scripts/screencord.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 |
3 |
4 | # vars
5 | set crf "20"
6 | set fps "30"
7 | set enc "h264"
8 | set prs "fast"
9 | set pxf "yuv420p"
10 | set aud "alsa"
11 | set aui "default"
12 | set com "recording..."
13 | set res (xdotool getdisplaygeometry | sed 's/ /x/')
14 |
15 |
16 | # exec
17 | printf "$com\n"
18 | ffmpeg -loglevel "16" \
19 | # -f "$aud" \
20 | # -i "$aui" \
21 | -f "x11grab" \
22 | -framerate "$fps" \
23 | -s "$res" \
24 | -i ":0.0" \
25 | -c:v "$enc" \
26 | -preset "$prs" \
27 | -crf "$crf" \
28 | -pix_fmt "$pxf" \
29 | "$HOME/Videos/$argv.mp4"
30 |
--------------------------------------------------------------------------------
/scripts/small.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | # vars
3 | colors="/usr/scripts/colors.sh"
4 | w="$(xdotool getdisplaygeometry | awk '{print $2}')"
5 | h="$(xdotool getdisplaygeometry | awk '{print $1}')"
6 | refresh="10"
7 | padding=" "
8 | height="35"
9 | offx="$(($h - 125))"
10 | offy="$(($w - 75))"
11 | font="-*-euphon-*"
12 | font2="-*-ijis-*"
13 | font3="-*-vanilla-*"
14 | font4="-efont-biwidth-*"
15 |
16 |
17 | # colors
18 | source "$colors"
19 |
20 |
21 | # functions
22 | clock() {
23 | date "+%R"
24 | }
25 |
26 |
27 | # loops
28 | loop() {
29 | while :; do
30 | echo "%{c}%{A:calendar &:}$(clock)%{A}$bg"
31 | sleep "$refresh"
32 | done |\
33 |
34 | lemonbar \
35 | -f "$font" \
36 | -f "$font2" \
37 | -f "$font3" \
38 | -f "$font4" \
39 | -g "75x$height+$offx+$offy" \
40 | -F "$text" \
41 | -B "$background" \
42 | -d \
43 | | bash &
44 |
45 | n30f -x "$(($offx - 5))" \
46 | -y "$(($offy - 5))" \
47 | "/usr/scripts/img/small.png"
48 | }
49 |
50 |
51 | # exec
52 | loop
--------------------------------------------------------------------------------
/scripts/tempus.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | # vars
3 | hour="$(date "+%-H")"
4 | minute="$(date "+%M")"
5 |
6 | hourSuffix="heures"
7 | hourStr=( "minuit" "une" "deux" "trois" "quatre" "cinq" "six" "sept" "huit" "neuf" "dix" "onze" "midi" )
8 | minuteStr=( "" "-et-une" "-deux" "-trois" "-quatre" "-cinq" "-six" "-sept" "-huit" "-neuf" )
9 | minuteTenthsStr=( "dix" "onze" "douze" "treize" "quatorze" "quinze" "seize" "dix-sept" "dix-huit" "dix-neuf" )
10 | minuteHiTenthsStr=( "vingt" "trente" "quarante" "cinquante" )
11 |
12 | # exec
13 | if [ "$hour" -gt "12" ] ; then
14 | hour="$(("$hour" - "12"))"
15 | fi
16 |
17 | hourToPrint="${hourStr["$hour"]} "${hourSuffix}""
18 |
19 | case $hour in
20 | "0" | "12" )
21 | hourToPrint="${hourToPrint//$hourSuffix}"
22 | hourToPrint="${hourToPrint//\ }" ;;
23 | "1" )
24 | hourToPrint="${hourToPrint//s}" ;;
25 | esac
26 |
27 | case "${minute:0:1}" in
28 | "0" )
29 | minuteToPrint="${minuteStr["${minute:1:2}"]}"
30 | minuteToPrint="${minuteToPrint//-et-}"
31 | minuteToPrint="${minuteToPrint//-}" ;;
32 | "1" )
33 | minuteToPrint="${minuteTenthsStr["${minute:1:2}"]}" ;;
34 | "2" | "3" | "4" | "5" )
35 | minuteToPrint="${minuteHiTenthsStr["$((${minute:0:1} - 2))"]}"${minuteStr["${minute:1:2}"]}"" ;;
36 | esac
37 |
38 | printf "${hourToPrint} ${minuteToPrint}\n"
39 |
--------------------------------------------------------------------------------
/scripts/toggle-bar.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 |
3 |
4 | # vars
5 | set pid (pidof lemonbar)
6 | set h 35
7 |
8 |
9 | # exec
10 | if test "$pid"
11 | # sed -i "s/$h<\/bottom>/0<\/bottom>/g" "$HOME/.config/openbox/rc.xml"
12 | openbox --reconfigure
13 |
14 | kill -9 "$pid"
15 | # pkill -9 -f "bar-underline"
16 | else
17 | # sed -i "s/0<\/bottom>/$h<\/bottom>/g" "$HOME/.config/openbox/rc.xml"
18 | openbox --reconfigure
19 |
20 | wbr &
21 | # n30f -t "bar-underline" -y "35" "/usr/scripts/img/underline.png" &
22 | end
--------------------------------------------------------------------------------
/scripts/toggle-compositor.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 |
3 |
4 | # vars
5 | set pid (pidof picom)
6 |
7 |
8 | # exec
9 | if test "$pid"
10 | kill -9 "$pid"
11 | notify-send "compositor disabled"
12 | else
13 | picom & # --experimental-backends &
14 | notify-send "compositor enabled"
15 | end
--------------------------------------------------------------------------------
/scripts/toggle-drag.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 |
3 |
4 | # vars
5 | set file $HOME/.config/openbox/rc.xml
6 | set active ""
7 | set inactive ""
8 |
9 |
10 | # exec
11 | cat $file | grep "$active"
12 | if test $status -eq 0
13 | sed -i "s/$active/$inactive/" $file
14 | openbox --reconfigure
15 | notify-send "alt-drag off"
16 | else
17 | sed -i "s/$inactive/$active/" $file
18 | openbox --reconfigure
19 | notify-send "alt-drag on"
20 | end
21 |
--------------------------------------------------------------------------------
/scripts/toggle-pager.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 |
3 |
4 | # vars
5 | set pid (pidof netwmpager)
6 |
7 |
8 | # exec
9 | if test "$pid"
10 | kill -9 "$pid"
11 | else
12 | netwmpager &
13 | disown
14 | end
--------------------------------------------------------------------------------
/scripts/toggle-tch.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 |
3 |
4 | # vars
5 | set tmp "/tmp"
6 | set window (xdotool search --sync --classname irc)
7 | set windesktop (xdotool get_desktop_for_window $window)
8 | set oldwindesktop (cat $tmp/windesktop)
9 | set desktop (xdotool get_desktop)
10 |
11 |
12 | # exec
13 | if test ! $desktop -eq $windesktop
14 | printf $windesktop > $tmp/windesktop
15 | echo "the window isn't on the same desktop"
16 | xdotool set_desktop_for_window $window $desktop
17 | else
18 | printf $windesktop > $tmp/windesktop
19 | echo "the window is on the same desktop"
20 | end
21 |
22 | if test ! $windesktop -eq $oldwindesktop
23 | echo "the window isn't on the same desktop as before"
24 | echo "irc is the window that's currently selected"
25 | xdotool set_desktop_for_window $window $oldwindesktop
26 | rm $tmp/windesktop
27 | else
28 | echo "the window is on the same desktop as before"
29 | if test $window -eq (xdotool getactivewindow)
30 | echo "irc is the window that's currently selected"
31 | xdotool windowminimize $window
32 | else
33 | echo "irc isn't the window that's currently selected"
34 | xdotool windowactivate $window
35 | end
36 | end
37 |
--------------------------------------------------------------------------------
/scripts/toggle-tray.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 |
3 |
4 | # vars
5 | set pid (pidof stalonetray)
6 |
7 |
8 | # exec
9 | if test "$pid"
10 | killall "stalonetray"
11 | else
12 | stalonetray &
13 | end
--------------------------------------------------------------------------------
/scripts/vol.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 |
3 |
4 | # vars
5 | set sink (pactl info | grep -oP "(?<=Default Sink: ).*(?=)")
6 |
7 |
8 | # exec
9 | switch "$argv[1]"
10 | case "i"
11 | pactl set-sink-volume "$sink" +"$argv[2]"%
12 | case "d"
13 | pactl set-sink-volume "$sink" -"$argv[2]"%
14 | case "t"
15 | pactl set-sink-mute "$sink" "toggle"
16 | case "*"
17 | printf "wrong argument."
18 | exit "1"
19 | end
--------------------------------------------------------------------------------
/scripts/wbr.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | # vars
3 | colors="/usr/scripts/colors.sh"
4 | refresh=".1"
5 | padding=" "
6 | height="35"
7 | font="-*-euphon-*"
8 | font2="-*-ijis-*"
9 | font3="-*-vanilla-*"
10 | font4="-efont-biwidth-*"
11 | battery="BAT0"
12 |
13 |
14 | # colors
15 | source "$colors"
16 |
17 |
18 | # functions
19 | desktop() {
20 | cur=$(xdotool get_desktop)
21 | first="%{A:xdotool set_desktop 0 &:}un%{A}"
22 | second="%{A:xdotool set_desktop 1 &:}deux%{A}"
23 | third="%{A:xdotool set_desktop 2 &:}trois%{A}"
24 | fourth="%{A:xdotool set_desktop 3 &:}quatre%{A}"
25 | fifth="%{A:xdotool set_desktop 4 &:}cinq%{A}"
26 | case "$cur" in
27 | 0)
28 | echo "${a2}${a0}%{+u}${af4}${padding}${first}${padding}${txt}%{-u}${a2}${padding}${second}${padding}${padding}${third}${padding}${padding}${fourth}${padding}${padding}${fifth}${padding}"
29 | ;;
30 | 1)
31 | echo "${a2}${padding}${first}${padding}${a0}%{+u}${af4}${padding}${second}${padding}${txt}%{-u}${a2}${padding}${third}${padding}${padding}${fourth}${padding}${padding}${fifth}${padding}"
32 | ;;
33 | 2)
34 | echo "${a2}${padding}${first}${padding}${padding}${second}${padding}${a0}%{+u}${af4}${padding}${third}${padding}${txt}%{-u}${a2}${padding}${fourth}${padding}${padding}${fifth}${padding}"
35 | ;;
36 | 3)
37 | echo "${a2}${padding}${first}${padding}${padding}${second}${padding}${padding}${third}${padding}${a0}%{+u}${af4}${padding}${fourth}${padding}${txt}%{-u}${a2}${padding}${fifth}${padding}"
38 | ;;
39 | 4)
40 | echo "${a2}${padding}${first}${padding}${padding}${second}${padding}${padding}${third}${padding}${padding}${fourth}${padding}${a0}%{+u}${af4}${padding}${fifth}${padding}${txt}%{-u}${a2}"
41 | esac
42 | }
43 |
44 | window() {
45 | cur="$(xdotool getwindowname $(xdotool getactivewindow) | head -c 150 | sed 's/ \- / \: /')"
46 | if [[ "$cur" ]] ; then
47 | echo "$padding$padding$cur$padding$padding"
48 | else
49 | :
50 | fi
51 | }
52 |
53 | clock() {
54 | # date "+$padding%R$padding"
55 | # tempus
56 | born="$(date -d '5 Nov 1998' +%s)"
57 | now="$(date -d now +%s)"
58 | # printf "$(((now - born) / 86400)) days spent on earth"
59 | tempus
60 | }
61 |
62 | irc() {
63 | pgrep -f "urxvt -name irc" > "/dev/null" 2>&1
64 | if [ "$?" -ne "1" ] ; then
65 | echo "$a1$padding :: $padding$bg"
66 | else
67 | :
68 | fi
69 | }
70 |
71 | mpris() {
72 | ignore="chrome"
73 | playerctl metadata --ignore-player="$ignore" --format "${padding}np: {{ artist }} : {{ title }}${padding}" 2> "/dev/null" | sed "s/Player not found//"
74 | }
75 |
76 |
77 | # loop
78 | loop() {
79 | while :; do
80 | echo "%{l}\
81 | %{A4:xdotool set_desktop $(expr $(xdotool get_desktop) - 1) &:}%{A5:xdotool set_desktop $(expr $(xdotool get_desktop) + 1) &:}$(desktop)%{A}%{A}$bg\
82 | %{r}\
83 | $a2%{A:notify-send $(date "+%H\:%M\ %d/%m") &:}$padding$(clock)$padding%{A}$bg\
84 | %{A:toggle-tch &:}$(irc)%{A}$bg"
85 | sleep "$refresh"
86 | done |\
87 |
88 | lemonbar \
89 | -f "$font" \
90 | -f "$font2" \
91 | -f "$font3" \
92 | -f "$font4" \
93 | -g "x$height" \
94 | -F "$text" \
95 | -B "$background" \
96 | -U "$acc3" \
97 | -u "0" \
98 | -a "20" \
99 | | bash
100 | }
101 |
102 | # exec
103 | loop
--------------------------------------------------------------------------------
/scripts/wbrrrr.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | # vars
3 | colors="$HOME/owncloud/Random/scripts/misc/colors.sh"
4 | pctlTmp="/tmp/pctlTmp"
5 | refresh=".1"
6 | padding=" "
7 | height="70"
8 | underline="0"
9 | font="Inter UI:style=bold:size=10"
10 | font2="Noto Sans:size=12"
11 | font3="Noto Sans CJK JP:size=12"
12 | font4="Font Awesome 5 Free:size=12"
13 | font5="Unifont Sample:size=16"
14 |
15 | # colors
16 | source "$colors"
17 |
18 |
19 | # functions
20 | widgetDesktop() {
21 | current="$(xdotool 'get_desktop')"
22 | icon=""
23 | first="один"
24 | second="два"
25 | third="три"
26 | fourth="четыре"
27 | fifth="пять"
28 | case "$current" in
29 | 0)
30 | echo "$padding$icon$padding$first$padding"
31 | ;;
32 | 1)
33 | echo "$padding$icon$padding$second$padding"
34 | ;;
35 | 2)
36 | echo "$padding$icon$padding$third$padding"
37 | ;;
38 | 3)
39 | echo "$padding$icon$padding$fourth$padding"
40 | ;;
41 | 4)
42 | echo "$padding$icon$padding$fifth$padding"
43 | esac
44 | }
45 |
46 | widgetWindow() {
47 | current="$(xdotool 'getwindowname' $(xdotool 'getactivewindow' 2> '/dev/null') 2> '/dev/null' | sed 's/ - / : /g')"
48 | maxChars="65"
49 | if [[ "${#current}" > "$maxChars" ]] ; then
50 | current=${current::$maxChars}
51 | echo "$padding$padding$current...$padding$padding"
52 | elif [[ "$current" ]] ; then
53 | echo "$padding$padding$current$padding$padding"
54 | else
55 | :
56 | fi
57 | }
58 |
59 | widgetClock() {
60 | date "+$padding%R$padding"
61 | }
62 |
63 | widgetMpd() {
64 | artist="$(mpc -f '%artist%' | sed -n '1p;s/\;/ + /')"
65 | track="$(mpc -f '%title%' | sed -n '1p;s/(feat\./( +/')"
66 | progress="$(mpc | sed 's/.*(//;s/)//;2q;d')"
67 | if [ "$(mpc current)" ] ; then
68 | if [ "$(mpc | grep 'paused')" ] ; then
69 | echo "$padding▶$padding$artist : $track + $progress$padding"
70 | else
71 | echo "$padding⏸$padding$artist : $track + $progress$padding"
72 | fi
73 | else
74 | :
75 | fi
76 | }
77 |
78 | widgetPlayerctl() {
79 | cat "$pctlTmp" 2> "/dev/null"
80 | }
81 |
82 | widgetIrc() {
83 | pgrep -f "urxvt -name irc" > /dev/null 2>&1
84 | if [ "$?" -ne "1" ] ; then
85 | echo "$padding$padding"
86 | else
87 | :
88 | fi
89 | }
90 |
91 |
92 | # loop
93 | loop() {
94 | while :; do
95 | echo "%{l}\
96 | %{A4:xdotool 'set_desktop' $(expr $(xdotool 'get_desktop') - 1) &:}%{A5:xdotool 'set_desktop' '$(expr $(xdotool 'get_desktop') + 1)' &:}$(widgetDesktop)%{A}%{A}\
97 | $(widgetWindow)\
98 | %{c}\
99 | %{A:calendar &:}$(widgetClock)%{A}\
100 | %{r}\
101 | %{A2:cover &:}%{A:mpc 'toggle' &:}%{A3:urxvt -e 'ncmpcpp' &:}$(widgetMpd)%{A}%{A}%{A:playerctl 'play-pause' &:}$(widgetPlayerctl)$padding%{A}%{A}\
102 | %{A:toggle-tch &:}$(widgetIrc)%{A}"
103 | sleep "$refresh"
104 | done |\
105 |
106 | lemonbar \
107 | -f "$font" \
108 | -f "$font2" \
109 | -f "$font3" \
110 | -f "$font4" \
111 | -f "$font5" \
112 | -g "x$height" \
113 | -F "$text" \
114 | -B "$background" \
115 | -U "$acc3" \
116 | -u "$underline" \
117 | -a "20" \
118 | | bash
119 | }
120 |
121 | pctl() {
122 | while :; do
123 | pctlStatus="$(playerctl 'status' 2> '/dev/null')"
124 | case "$pctlStatus" in
125 | "Playing"|"Stopped"|"Paused")
126 | case "$pctlStatus" in
127 | "Playing")
128 | pctlIcon="⏸"
129 | ;;
130 | "Stopped")
131 | pctlIcon="■"
132 | ;;
133 | "Paused")
134 | pctlIcon="▶"
135 | ;;
136 | *)
137 | rm "$pctlTmp" 2> "/dev/null"
138 | ;;
139 | esac
140 | # pctlCurrent="$(playerctl 'metadata' 'artist' 2> /dev/null) : $(playerctl 'metadata' 'title' 2> /dev/null)"
141 | pctlCurrent="$(playerctl 'metadata' 'title' 2> /dev/null)"
142 | echo "$padding$pctlIcon$padding$pctlCurrent$padding" > "$pctlTmp"
143 | ;;
144 | *)
145 | rm "$pctlTmp" 2> "/dev/null"
146 | ;;
147 | esac
148 | sleep "2s"
149 | done
150 | }
151 |
152 | # exec
153 | pctl &
154 | loop
--------------------------------------------------------------------------------
/scripts/weather.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 |
3 |
4 | # vars
5 | set key 43d042e6d1ed55ac9a3b36a89d07bb31
6 | set loc "44.8158,-0.4733"
7 | set units si
8 | set lang fr
9 | set temp "/tmp"
10 | set weather "$temp/weather"
11 | set api "$temp/weather-api"
12 | set url "https://api.darksky.net/forecast/$key/$loc?units=$units&lang=$lang"
13 |
14 |
15 | # funcs
16 | function fetch
17 | wget -q "$url" -O "$api"
18 | end
19 |
20 | function summary
21 | jq <"$api" -r ".currently.summary" | awk '{print tolower($0)}'
22 | end
23 |
24 | function icon
25 | if test (date +%H) -gt 21
26 | or test (date +%H) -lt 8
27 | switch (summary)
28 | case "clear" "no precipitation"
29 | printf "̓"
30 | case "possible thunderstorms" "thunderstorms" "breezy" "windy" "dangerously windy" "foggy" "partly cloudy" "humid" "mostly cloudy" "overcast" "possible light sleet" "light sleet" "light sleet" "sleet" "heavy sleet" "possible flurries" "flurries" "snow" "heavy snow" "heavy precipitation" "rain" "heavy rain" "possible light precipitation" "light precipitation" "possible drizzle" "drizzle" "possible light rain" "light rain" "mixed precipitation"
31 | printf "̒"
32 | case *
33 | printf "no icon set for this forecast"
34 | end
35 | else
36 | switch (summary)
37 | case "clear" "no precipitation"
38 | printf "̔"
39 | case "mixed precipitation"
40 | printf "̎"
41 | case "possible light precipitation" "light precipitation" "possible drizzle" "drizzle" "possible light rain" "light rain"
42 | printf "̐"
43 | case "heavy precipitation" "rain" "heavy rain"
44 | printf "̍"
45 | case "possible light sleet" "light sleet" "light sleet" "sleet" "heavy sleet" "possible flurries" "flurries" "snow" "heavy snow"
46 | printf "̏"
47 | case "possible thunderstorms" "thunderstorms"
48 | printf "̌"
49 | case "breezy" "windy" "dangerously windy" "foggy"
50 | printf "̕"
51 | case "humid" "mostly cloudy" "overcast"
52 | printf "̋"
53 | case "partly cloudy"
54 | printf "̑"
55 | case *
56 | printf "no icon set for this forecast"
57 | end
58 | end
59 | end
60 |
61 | function temperature
62 | jq -r '.currently | .apparentTemperature | floor | tostring + "°C"' <"$api"
63 | end
64 |
65 | function print
66 | printf (temperature)\ \ +\ \ (summary) | tee "$weather"
67 | end
68 |
69 | function print-with-icon
70 | printf (temperature)\ \ +\ \ (icon) | tee "$weather"
71 | end
72 |
73 |
74 | # exec
75 | fetch
76 | if test $argv = "-i"
77 | print-with-icon
78 | else
79 | print
80 | end
81 |
--------------------------------------------------------------------------------
/ssh/config:
--------------------------------------------------------------------------------
1 | Host lemon
2 | HostName 149.91.81.111
3 | User eti
4 | ServerAliveInterval 120
5 | ForwardX11Trusted yes
6 | ForwardX11 yes
7 |
8 | Host europe
9 | HostName 199.247.11.225
10 | User eti
11 | ServerAliveInterval 120
12 |
13 | Host souls
14 | HostName souls.local
15 | User eti
16 | ServerAliveInterval 120
17 |
--------------------------------------------------------------------------------
/themes/bw/openbox-3/bullet.xbm:
--------------------------------------------------------------------------------
1 | #define bullet_width 4
2 | #define bullet_height 7
3 | static unsigned char bullet_bits[] = {
4 | 0x00, 0x00, 0x02, 0x04, 0x02, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/bw/openbox-3/close.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 7
2 | #define close_height 7
3 | static unsigned char close_bits[] = {
4 | 0x00, 0x00, 0x14, 0x08, 0x14, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/bw/openbox-3/iconify.xbm:
--------------------------------------------------------------------------------
1 | #define iconify_width 7
2 | #define iconify_height 7
3 | static unsigned char iconify_bits[] = {
4 | 0x00, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/bw/openbox-3/max.xbm:
--------------------------------------------------------------------------------
1 | #define max_width 7
2 | #define max_height 7
3 | static unsigned char max_bits[] = {
4 | 0x00, 0x00, 0x38, 0x00, 0x0e, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/bw/openbox-3/max_toggled.xbm:
--------------------------------------------------------------------------------
1 | #define max_toggled_width 7
2 | #define max_toggled_height 7
3 | static unsigned char max_toggled_bits[] = {
4 | 0x00, 0x00, 0x0e, 0x00, 0x38, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/bw/openbox-3/themerc:
--------------------------------------------------------------------------------
1 | # menu
2 | menu.items.bg: Flat
3 | menu.items.bg.color: white
4 | menu.items.text.color: black
5 | menu.items.active.bg: Flat
6 | menu.items.active.bg.color: white
7 | menu.items.active.text.color: #fe9b71
8 | menu.title.bg: Flat
9 | menu.title.bg.color: white
10 | menu.title.text.color: black
11 | menu.title.text.justify: Right
12 | menu.border.width: 20
13 | menu.border.color: white
14 | menu.separator.color: white
15 | menu.overlap.x: -20
16 |
17 |
18 | # osd
19 | osd.label.text.color: black
20 | osd.border.width: 0
21 |
22 |
23 | # windows
24 | border.width: 0
25 | *.border.color: black
26 | # *.active.border.color: #
27 | # *.inactive.border.color: #
28 | window.client.padding.width: 0
29 | window.handle.width: 0
30 |
31 |
32 | # titlebars
33 | padding.height: 15
34 | padding.width: 15
35 |
36 |
37 | # active window
38 | window.active.*.bg: Flat Parentrelative
39 | window.active.*.*.bg.color: white
40 | window.active.*.*.image.color: black
41 |
42 |
43 | # inactive window
44 | window.inactive.*.bg: Flat Parentrelative
45 | window.inactive.*.*.bg.color: white
46 | window.inactive.*.*.image.color: black
47 |
48 |
49 | # handle
50 | window.active.handle.bg: Flat
51 | window.active.handle.bg.color: white
52 | window.inactive.handle.bg: Flat
53 | window.inactive.handle.bg.color: white
54 |
55 |
56 | # grip
57 | window.active.grip.bg: Flat
58 | window.active.grip.bg.color: white
59 | window.inactive.grip.bg: Flat
60 | window.inactive.grip.bg.color: white
--------------------------------------------------------------------------------
/themes/c/openbox-3/bullet.xbm:
--------------------------------------------------------------------------------
1 | #define bullet_width 4
2 | #define bullet_height 7
3 | static unsigned char bullet_bits[] = {
4 | 0x00, 0x00, 0x02, 0x04, 0x02, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/c/openbox-3/close.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 3
2 | #define close_height 3
3 | static unsigned char close_bits[] = {
4 | 0x05, 0x02, 0x05 };
5 |
--------------------------------------------------------------------------------
/themes/c/openbox-3/iconify.xbm:
--------------------------------------------------------------------------------
1 | #define iconify_width 3
2 | #define iconify_height 1
3 | static unsigned char iconify_bits[] = {
4 | 0x07 };
5 |
--------------------------------------------------------------------------------
/themes/c/openbox-3/max.xbm:
--------------------------------------------------------------------------------
1 | #define max_width 3
2 | #define max_height 2
3 | static unsigned char max_bits[] = {
4 | 0x02, 0x05 };
5 |
--------------------------------------------------------------------------------
/themes/c/openbox-3/max_toggled.xbm:
--------------------------------------------------------------------------------
1 | #define max_toggled_width 5
2 | #define max_toggled_height 5
3 | static unsigned char max_toggled_bits[] = {
4 | 0x04, 0x04, 0x15, 0x0e, 0x04 };
5 |
--------------------------------------------------------------------------------
/themes/c/openbox-3/themerc:
--------------------------------------------------------------------------------
1 | # menu
2 | menu.items.active.bg: Flat
3 | menu.items.active.bg.color: #071d22
4 | menu.items.active.text.color: #94a9d9
5 | menu.items.*.border.width: 10
6 | menu.items.bg: Flat
7 | menu.items.bg.color: #071d22
8 | menu.items.disabled.text.color: #94a9d9
9 | menu.items.text.color: white
10 | menu.border.width: 25
11 | menu.border.color: #071d22
12 | menu.title.bg: Flat
13 | menu.title.*.color: #071d22
14 | menu.title.text.justify: Left
15 | menu.separator.color: #071d22
16 | menu.overlap.x: -40
17 |
18 |
19 | # osd
20 | osd.label.text.color: white
21 | osd.border.width: 20
22 | osd.border.color: #071d22
23 |
24 |
25 | # windows
26 | border.width: 0
27 | *.border.color: white
28 | # *.active.border.color: white
29 | # *.inactive.border.color: #f2f2f2
30 | window.client.padding.width: 0
31 | window.handle.width: 40
32 |
33 |
34 | # titlebars
35 | padding.height: 0
36 | padding.width: 0
37 |
38 |
39 | # active window
40 | window.active.*.bg: Flat
41 | window.active.*.*.bg.color: #071d22
42 | window.active.*.*.image.color: black
43 |
44 |
45 | # inactive window
46 | window.inactive.*.bg: Flat
47 | window.inactive.*.*.bg.color: #071d22
48 | window.inactive.*.*.image.color: black
49 |
50 |
51 | # handle
52 | window.active.handle.bg: Flat
53 | window.active.handle.bg.color: white
54 | window.inactive.handle.bg: Flat
55 | window.inactive.handle.bg.color: white
56 |
57 |
58 | # grip
59 | window.active.grip.bg: Flat
60 | window.active.grip.bg.color: white
61 | window.inactive.grip.bg: Flat
62 | window.inactive.grip.bg.color: white
--------------------------------------------------------------------------------
/themes/o/openbox-3/bullet.xbm:
--------------------------------------------------------------------------------
1 | #define bullet_width 4
2 | #define bullet_height 7
3 | static unsigned char bullet_bits[] = {
4 | 0x00, 0x00, 0x02, 0x04, 0x02, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/o/openbox-3/close.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 7
2 | #define close_height 7
3 | static unsigned char close_bits[] = {
4 | 0x00, 0x20, 0x14, 0x00, 0x14, 0x02, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/o/openbox-3/iconify.xbm:
--------------------------------------------------------------------------------
1 | #define iconify_width 7
2 | #define iconify_height 7
3 | static unsigned char iconify_bits[] = {
4 | 0x00, 0x20, 0x14, 0x08, 0x14, 0x02, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/o/openbox-3/max.xbm:
--------------------------------------------------------------------------------
1 | #define max_width 7
2 | #define max_height 7
3 | static unsigned char max_bits[] = {
4 | 0x00, 0x20, 0x10, 0x00, 0x04, 0x02, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/o/openbox-3/max_toggled.xbm:
--------------------------------------------------------------------------------
1 | #define max_toggled_width 7
2 | #define max_toggled_height 7
3 | static unsigned char max_toggled_bits[] = {
4 | 0x00, 0x20, 0x00, 0x08, 0x00, 0x02, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/o/openbox-3/themerc:
--------------------------------------------------------------------------------
1 | # menu
2 | menu.items.bg: Flat
3 | menu.items.bg.color: white
4 | menu.items.text.color: #071d22
5 | menu.items.active.bg: Flat
6 | menu.items.active.bg.color: white
7 | menu.items.active.text.color: #8fa4da
8 | menu.title.bg: Flat
9 | menu.title.bg.color: white
10 | menu.title.text.color: #071d22
11 | menu.title.text.justify: Right
12 | menu.border.width: 20
13 | menu.border.color: white
14 | menu.separator.color: white
15 | menu.overlap.x: -20
16 |
17 |
18 | # osd
19 | osd.label.text.color: #071d22
20 | osd.border.width: 1
21 |
22 |
23 | # windows
24 | border.width: 0
25 | *.border.color: black
26 | # *.active.border.color: #
27 | # *.inactive.border.color: #
28 | window.client.padding.width: 0
29 | window.handle.width: 0
30 |
31 |
32 | # titlebars
33 | padding.height: 15
34 | padding.width: 15
35 |
36 |
37 | # active window
38 | window.active.*.bg: Flat
39 | window.active.*.*.bg.color: white
40 | window.active.*.*.image.color: #071d22
41 |
42 |
43 | # inactive window
44 | window.inactive.*.bg: Flat
45 | window.inactive.*.*.bg.color: white
46 | window.inactive.*.*.image.color: #071d22
47 |
48 |
49 | # handle
50 | window.active.handle.bg: Flat
51 | window.active.handle.bg.color: white
52 | window.inactive.handle.bg: Flat
53 | window.inactive.handle.bg.color: white
54 |
55 |
56 | # grip
57 | window.active.grip.bg: Flat
58 | window.active.grip.bg.color: white
59 | window.inactive.grip.bg: Flat
60 | window.inactive.grip.bg.color: white
--------------------------------------------------------------------------------
/themes/polaroid/openbox-3/bullet.xbm:
--------------------------------------------------------------------------------
1 | #define bullet_width 4
2 | #define bullet_height 7
3 | static unsigned char bullet_bits[] = {
4 | 0x00, 0x00, 0x02, 0x04, 0x02, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/polaroid/openbox-3/close.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 3
2 | #define close_height 3
3 | static unsigned char close_bits[] = {
4 | 0x05, 0x02, 0x05 };
5 |
--------------------------------------------------------------------------------
/themes/polaroid/openbox-3/iconify.xbm:
--------------------------------------------------------------------------------
1 | #define iconify_width 3
2 | #define iconify_height 1
3 | static unsigned char iconify_bits[] = {
4 | 0x07 };
5 |
--------------------------------------------------------------------------------
/themes/polaroid/openbox-3/max.xbm:
--------------------------------------------------------------------------------
1 | #define max_width 3
2 | #define max_height 2
3 | static unsigned char max_bits[] = {
4 | 0x02, 0x05 };
5 |
--------------------------------------------------------------------------------
/themes/polaroid/openbox-3/max_toggled.xbm:
--------------------------------------------------------------------------------
1 | #define max_toggled_width 5
2 | #define max_toggled_height 5
3 | static unsigned char max_toggled_bits[] = {
4 | 0x04, 0x04, 0x15, 0x0e, 0x04 };
5 |
--------------------------------------------------------------------------------
/themes/polaroid/openbox-3/themerc:
--------------------------------------------------------------------------------
1 | # menu
2 | menu.items.active.bg: Flat
3 | menu.items.active.bg.color: #071d22
4 | menu.items.active.text.color: #94a9d9
5 | menu.items.*.border.width: 10
6 | menu.items.bg: Flat
7 | menu.items.bg.color: #071d22
8 | menu.items.disabled.text.color: #94a9d9
9 | menu.items.text.color: white
10 | menu.border.width: 25
11 | menu.border.color: #071d22
12 | menu.title.bg: Flat
13 | menu.title.*.color: #071d22
14 | menu.title.text.justify: Left
15 | menu.separator.color: #071d22
16 |
17 |
18 | # osd
19 | osd.label.text.color: white
20 | osd.border.width: 0
21 | osd.border.color: #071d22
22 |
23 |
24 | # windows
25 | border.width: 0
26 | *.border.color: white
27 | # *.active.border.color: white
28 | # *.inactive.border.color: #f2f2f2
29 | window.client.padding.width: 20
30 | window.handle.width: 70
31 |
32 |
33 | # titlebars
34 | padding.height: 0
35 | padding.width: 0
36 |
37 |
38 | # active window
39 | window.active.*.bg: Flat
40 | window.active.*.*.bg.color: white
41 | window.active.*.*.image.color: black
42 |
43 |
44 | # inactive window
45 | window.inactive.*.bg: Flat
46 | window.inactive.*.*.bg.color: white
47 | window.inactive.*.*.image.color: black
48 |
49 |
50 | # handle
51 | window.active.handle.bg: Flat
52 | window.active.handle.bg.color: white
53 | window.inactive.handle.bg: Flat
54 | window.inactive.handle.bg.color: white
55 |
56 |
57 | # grip
58 | window.active.grip.bg: Flat
59 | window.active.grip.bg.color: white
60 | window.inactive.grip.bg: Flat
61 | window.inactive.grip.bg.color: white
--------------------------------------------------------------------------------
/themes/spook/openbox-3/bullet.xbm:
--------------------------------------------------------------------------------
1 | #define bullet_width 4
2 | #define bullet_height 7
3 | static unsigned char bullet_bits[] = {
4 | 0x00, 0x00, 0x02, 0x04, 0x02, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/spook/openbox-3/close.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 7
2 | #define close_height 7
3 | static unsigned char close_bits[] = {
4 | 0x00, 0x10, 0x0a, 0x14, 0x28, 0x04, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/spook/openbox-3/iconify.xbm:
--------------------------------------------------------------------------------
1 | #define iconify_width 7
2 | #define iconify_height 7
3 | static unsigned char iconify_bits[] = {
4 | 0x00, 0x00, 0x22, 0x14, 0x08, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/spook/openbox-3/max.xbm:
--------------------------------------------------------------------------------
1 | #define max_width 7
2 | #define max_height 7
3 | static unsigned char max_bits[] = {
4 | 0x00, 0x28, 0x10, 0x2a, 0x00, 0x08, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/spook/openbox-3/max_toggled.xbm:
--------------------------------------------------------------------------------
1 | #define max_toggled_width 7
2 | #define max_toggled_height 7
3 | static unsigned char max_toggled_bits[] = {
4 | 0x00, 0x02, 0x04, 0x08, 0x10, 0x20, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/spook/openbox-3/shade.xbm:
--------------------------------------------------------------------------------
1 | #define shade_width 7
2 | #define shade_height 7
3 | static unsigned char shade_bits[] = {
4 | 0x00, 0x00, 0x14, 0x22, 0x14, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/spook/openbox-3/themerc:
--------------------------------------------------------------------------------
1 | # menu
2 | menu.items.bg: Flat
3 | menu.items.bg.color: white
4 | menu.items.text.color: black
5 | menu.items.active.bg: Flat
6 | menu.items.active.bg.color: white
7 | menu.items.active.text.color: #8fa4da
8 | menu.title.bg: Flat
9 | menu.title.bg.color: white
10 | menu.title.text.color: black
11 | menu.title.text.justify: Right
12 | menu.border.width: 20
13 | menu.border.color: white
14 | menu.separator.color: white
15 | menu.overlap.x: -20
16 |
17 |
18 | # windows
19 | border.width: 0
20 | # *.border.color: #00ff00
21 | # *.border.color: #1f1f1f
22 | # *.active.border.color: #32353e
23 | # *.inactive.border.color: #2c2e33
24 | window.client.padding.width: 0
25 | window.handle.width: 0
26 |
27 |
28 | # osd
29 | osd.label.text.color: white
30 | osd.border.width: 1
31 |
32 |
33 | # titlebars
34 | padding.height: 12
35 | padding.width: 12
36 |
37 |
38 | # active window
39 | window.*.*.bg: Flat Parentrelative
40 | window.*.*.*.bg.color: #282a2e
41 | window.*.label.text.color: #282a2e
42 | window.*.*.*.image.color: white
43 |
--------------------------------------------------------------------------------
/themes/w/openbox-3/bullet.xbm:
--------------------------------------------------------------------------------
1 | #define bullet_width 4
2 | #define bullet_height 7
3 | static unsigned char bullet_bits[] = {
4 | 0x00, 0x00, 0x02, 0x04, 0x02, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/w/openbox-3/close.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 7
2 | #define close_height 7
3 | static unsigned char close_bits[] = {
4 | 0x00, 0x00, 0x14, 0x08, 0x14, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/w/openbox-3/iconify.xbm:
--------------------------------------------------------------------------------
1 | #define iconify_width 7
2 | #define iconify_height 7
3 | static unsigned char iconify_bits[] = {
4 | 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/w/openbox-3/max.xbm:
--------------------------------------------------------------------------------
1 | #define max_width 4
2 | #define max_height 4
3 | static unsigned char max_bits[] = {
4 | 0x0f, 0x09, 0x09, 0x0f };
5 |
--------------------------------------------------------------------------------
/themes/w/openbox-3/max_toggled.xbm:
--------------------------------------------------------------------------------
1 | #define max_width 4
2 | #define max_height 4
3 | static unsigned char max_bits[] = {
4 | 0x0f, 0x09, 0x09, 0x0f };
5 |
--------------------------------------------------------------------------------
/themes/w/openbox-3/themerc:
--------------------------------------------------------------------------------
1 | # menu
2 | menu.items.bg: Flat
3 | menu.items.bg.color: white
4 | menu.items.text.color: #071d22
5 | menu.items.active.bg: Flat
6 | menu.items.active.bg.color: white
7 | menu.items.active.text.color: #8fa4da
8 | menu.title.bg: Flat
9 | menu.title.bg.color: white
10 | menu.title.text.color: #071d22
11 | menu.title.text.justify: Right
12 | menu.border.width: 25
13 | menu.border.color: white
14 | menu.separator.color: white
15 | menu.overlap.x: -40
16 |
17 |
18 | # osd
19 | osd.label.text.color: #071d22
20 | osd.border.width: 1
21 | osd.border.color: #071d22
22 |
23 |
24 | # windows
25 | border.width: 1
26 | # *.border.color: white
27 | *.active.border.color: #192e33
28 | *.inactive.border.color: #1d3237
29 | window.client.padding.width: 0
30 | window.handle.width: 0
31 |
32 |
33 | # titlebars
34 | padding.height: 15
35 | padding.width: 15
36 |
37 |
38 | # active window
39 | window.active.*.bg: Flat
40 | window.active.*.*.bg.color: white
41 | window.active.*.*.image.color: #071d22
42 |
43 |
44 | # inactive window
45 | window.inactive.*.bg: Flat
46 | window.inactive.*.*.bg.color: white
47 | window.inactive.*.*.image.color: #071d22
48 |
49 |
50 | # handle
51 | window.active.handle.bg: Flat
52 | window.active.handle.bg.color: white
53 | window.inactive.handle.bg: Flat
54 | window.inactive.handle.bg.color: white
55 |
56 |
57 | # grip
58 | window.active.grip.bg: Flat
59 | window.active.grip.bg.color: white
60 | window.inactive.grip.bg: Flat
61 | window.inactive.grip.bg.color: white
--------------------------------------------------------------------------------
/themes/x/openbox-3/bullet.xbm:
--------------------------------------------------------------------------------
1 | #define bullet_width 4
2 | #define bullet_height 7
3 | static unsigned char bullet_bits[] = {
4 | 0x00, 0x00, 0x02, 0x04, 0x02, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/x/openbox-3/close.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 7
2 | #define close_height 7
3 | static unsigned char close_bits[] = {
4 | 0x00, 0x00, 0x14, 0x08, 0x14, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/x/openbox-3/iconify.xbm:
--------------------------------------------------------------------------------
1 | #define iconify_width 7
2 | #define iconify_height 7
3 | static unsigned char iconify_bits[] = {
4 | 0x00, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/x/openbox-3/max.xbm:
--------------------------------------------------------------------------------
1 | #define max_width 7
2 | #define max_height 7
3 | static unsigned char max_bits[] = {
4 | 0x00, 0x00, 0x38, 0x00, 0x0e, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/x/openbox-3/max_toggled.xbm:
--------------------------------------------------------------------------------
1 | #define max_toggled_width 7
2 | #define max_toggled_height 7
3 | static unsigned char max_toggled_bits[] = {
4 | 0x00, 0x00, 0x0e, 0x00, 0x38, 0x00, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/x/openbox-3/shade.xbm:
--------------------------------------------------------------------------------
1 | #define shade_width 7
2 | #define shade_height 7
3 | static unsigned char shade_bits[] = {
4 | 0x00, 0x10, 0x10, 0x14, 0x04, 0x04, 0x00 };
5 |
--------------------------------------------------------------------------------
/themes/x/openbox-3/themerc:
--------------------------------------------------------------------------------
1 | # menu
2 | menu.items.bg: Flat
3 | menu.items.bg.color: white
4 | menu.items.text.color: black
5 | menu.items.active.bg: Flat
6 | menu.items.active.bg.color: white
7 | menu.items.active.text.color: #8fa4da
8 | menu.title.bg: Flat
9 | menu.title.bg.color: white
10 | menu.title.text.color: black
11 | menu.title.text.justify: Right
12 | menu.border.width: 20
13 | menu.border.color: white
14 | menu.separator.color: white
15 | menu.overlap.x: -20
16 |
17 |
18 | # osd
19 | osd.label.text.color: black
20 | osd.border.width: 0
21 |
22 |
23 | # windows
24 | border.width: 0
25 | *.border.color: white
26 | # *.active.border.color: #2a3741
27 | # *.inactive.border.color: #404b54
28 | window.client.padding.width: 0
29 | window.handle.width: 0
30 |
31 |
32 | # titlebars
33 | padding.height: 12
34 | padding.width: 12
35 |
36 |
37 | # active window
38 | window.*.*.bg: Flat Parentrelative
39 | window.*.*.*.bg.color: white
40 | window.*.*.*.image.color: black
41 | window.*.label.text.color: white
42 |
43 |
44 | # handle
45 | window.active.handle.bg: Flat
46 | window.active.handle.bg.color: white
47 | window.inactive.handle.bg: Flat
48 | window.inactive.handle.bg.color: white
49 |
50 |
51 | # grip
52 | window.active.grip.bg: Flat
53 | window.active.grip.bg.color: white
54 | window.inactive.grip.bg: Flat
55 | window.inactive.grip.bg.color: white
56 |
--------------------------------------------------------------------------------
/x/Xdefaults:
--------------------------------------------------------------------------------
1 | ! colors
2 | #include ".xres/wod.xres"
3 |
4 |
5 | ! fonts
6 | *font: xft:erusfont:size=8, \
7 | xft:Unifont:size=8, \
8 | xft:hy:size=8, \
9 | xft:vanilla:size=8, \
10 | xft:Biwidth:size=8, \
11 | xft:Symbola:size=10
12 |
13 | Sxiv*font: euphon:size=8
14 | Sxiv.foreground: #ffffff
15 | Sxiv.background: #444444
16 |
17 | *boldFont:
18 | *lineSpace: 2
19 | *letterSpace: 0
20 |
21 |
22 | ! scrollbar
23 | *scrollBar: false
24 | *scrollBar_right: true
25 | *scrollstyle: plain
26 | *scrollColor: #32414e
27 | *thickness: 10
28 |
29 |
30 | ! cursor
31 | *cursorBlink: 1
32 |
33 |
34 | ! links
35 | *.perl-ext-common: default,matcher,selection-to-clipboard
36 | *.url-launcher: /usr/bin/xdg-open
37 | *.matcher.button: 3
38 | *.matcher.rend.0: fg3
39 |
40 |
41 | ! size
42 | *geometry: 60x16
43 |
44 |
45 | ! padding
46 | *internalBorder: 20
47 |
48 |
49 | ! xft fonts settings
50 | Xft.autohint: 0
51 | Xft.lcdfilter: lcddefault
52 | Xft.hinting: 1
53 | Xft.hintstyle: hintslight
54 | Xft.antialias: 1
55 | Xft.rgba: rgb
56 |
57 |
58 | ! scrolling
59 | *.scrollTtyOutput: false
60 | *.scrollWithBuffer: true
61 | *.scrollTtyKeypress: true
62 |
63 |
64 | ! disable ctrl+shift
65 | *.iso14755: false
66 | *.iso14755_52: false
67 |
68 |
69 | ! tabbedex
70 | ! *.tabbedex.tabbar-fg: 8
71 | ! *.tabbedex.tabbar-bg: 0
72 | ! *.tabbedex.tab-fg: 7
73 | ! *.tabbedex.tab-bg: 0
74 | ! *.tabbedex.title-fg: 13
75 | ! *.tabbedex.title: false
76 | ! *.tabbedex.no-tabbedex-keys: yes
77 | ! *.keysym.Shift-Down: tabbedex:new_tab
78 | ! *.keysym.Control-Tab: tabbedex:next_tab
79 | ! *.keysym.Control-Shift-Tab: tabbedex:prev_tab
80 |
81 | ! irc config
82 | *irc.geometry: 100x11
83 | *irc.internalBorder: 30
84 | *irc.lineSpace: 2
85 | *irc.matcher.rend.0: fg6
86 | *irc.scrollBar: false
87 | *irc..url-launcher: /usr/local/bin/openup
88 |
89 | ! special
90 | *.irc.foreground: #707070
91 | *.irc.background: #ffffff
92 | *.irc.cursorColor: #707070
93 |
94 | ! black
95 | *.irc.color0: #ffffff
96 | *.irc.color8: #b3b3b3
97 |
98 | ! red
99 | *.irc.color1: #ef6b7b
100 | *.irc.color9: #ed5466
101 |
102 | ! green
103 | *.irc.color2: #99d569
104 | *.irc.color10: #afdb80
105 |
106 | ! yellow
107 | *.irc.color3: #f5b235
108 | *.irc.color11: #f5b535
109 |
110 | ! blue
111 | *.irc.color4: #4e5ee8
112 | *.irc.color12: #5d62ea
113 |
114 | ! magenta
115 | *.irc.color5: #d6999f
116 | *.irc.color13: #d29eb0
117 |
118 | ! cyan
119 | *.irc.color6: #959bc1
120 | *.irc.color14: #6f76a1
121 |
122 | ! white
123 | *.irc.color7: #707070
124 | *.irc.color15: #909090
125 |
--------------------------------------------------------------------------------