too much shit to say

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2019-10-03 12:03:31 +03:00
parent 7e99d071c0
commit dc36432cac
14 changed files with 156 additions and 161 deletions

View File

@ -12,7 +12,7 @@ xsetroot -cursor_name left_ptr
# Global config # Global config
bspc config focused_sticky_border_color "#030061" bspc config focused_sticky_border_color "#030061"
bspc config focused_border_color "#467EC2" bspc config focused_border_color "#67748F"
bspc config normal_border_color "#1f1f1f" bspc config normal_border_color "#1f1f1f"
bspc config urgent_border_color "#f9f9f9" bspc config urgent_border_color "#f9f9f9"
bspc config window_gap "9" bspc config window_gap "9"
@ -41,10 +41,11 @@ done
while read -r rule _; do bspc rule -r "$rule"; done < <(bspc rule -l) while read -r rule _; do bspc rule -r "$rule"; done < <(bspc rule -l)
# Now add the rules # Now add the rules
bspc rule -a Steam state=floating desktop=^8 bspc rule -a 'Steam' state=floating desktop=^8
bspc rule -a Firefox:Navigator state=tiled desktop=^2 bspc rule -a 'Firefox:Navigator' state=tiled desktop=^2
bspc rule -a \*:Hearthstone.exe desktop=^5 bspc rule -a '*:Hearthstone.exe' desktop=^5
bspc rule -a \* state=floating bspc rule -a '*:Arma 3' state=fullscreen desktop=^5
bspc rule -a '*' state=floating
# start some services # start some services
services=( sxhkd dunst ssh-agent ) services=( sxhkd dunst ssh-agent )

View File

@ -3,23 +3,20 @@
# #
# general # general
super + w; {q,c,k} super + w; {q,k}
bspc node -{c,c,k} bspc node -{c,k}
super + w; {n,p}
bspc node -f {next,prev}.local
super + w; m; {t,f,T,F} super + w; m; {t,f,T,F}
bspc node -t {tiled,floating,pseudo_tiled,fullscreen} bspc node -t {tiled,floating,pseudo_tiled,fullscreen}
super + w; d; {0-9,h} super + w; d; {0-9,h,p}
bspc node -d {0-9,h} bspc node -d {0-9,h,p}
super + w; s; {Left,Up,Right,Down} super + w; s; {Left,Up,Right,Down}
bspc node --presel-dir '~'{west,north,east,south} bspc node --presel-dir '~'{west,north,east,south}
super + w; {0-9,h} super + w; {0-9,h,p}
bspc desktop -f {0-9,h} bspc desktop -f {0-9,h,p}
super + w; space super + w; space
bspc desktop -l next bspc desktop -l next
@ -27,9 +24,21 @@ super + w; space
super + w; x super + w; x
terminal terminal
super + w; b
bspc node -s biggest.local
super + w; Return
bspc node @focused:/ -R 90
super + w; w
ssm chameleon reload
super + w; c
win-hd-center 1280x720
# Locker # Locker
super + l; l super + l; l
ssm lockd lock ssm lockd start_or_lock
super + l; {u,s} super + l; {u,s}
ssm lockd stop ssm lockd stop
@ -49,11 +58,11 @@ super + {j,k}
# mpd # mpd
super + m; {a,s,n,p} super + m; {a,s,n,p}
mpc {play,stop,next,prev} playerctl -p tuijam {play-pause,stop,next,prev}
# Sound # Sound
super + {comma,period} super + {comma,period}
amixer -c 0 set PCM 2dB{-,+} amixer -c 0 set PCM 5%{-,+}
# Fucking Firefox man # Fucking Firefox man
control + q control + q

View File

@ -1,5 +1,5 @@
[global] [global]
font = xos4 Terminus 12 font = Terminus 12
# Allow a small subset of html markup: # Allow a small subset of html markup:
# <b>bold</b> # <b>bold</b>

View File

@ -1,74 +1,65 @@
# vim: ft=yaml sw=2 et # vim: ft=yaml sw=2 et
#geometry: '1262x14+9+9' panels:
height: 14 main:
gap: 9 #geometry: '1262x14+9+9'
fontspec: '-*-terminesspowerline-medium-*-normal-*-14-*-*-*-*-*-iso10646-*' height: 14
window_name: 'moltenbar' gap: 9
active_areas: '128' fontspec: '-*-terminus-medium-*-*-*-14-*-*-*-*-*-*-*'
modules: window_name: 'moltenbar'
- bspwm_pager active_areas: '128'
- date modules:
- bspwm_taskbar pager: bspwm_pager
- load_average taskbar: bspwm_taskbar
- network date: date
- memory la: load_average
format: "<%= @panel_data['bspwm_pager'] %><%= @panel_data['bspwm_taskbar'] %>%{r}%{F<%= @config['colours']['bg_focused'] %>} %{F-}%{B<%= @config['colours']['bg_focused'] %>} LA: <%= @panel_data['load_average'] %> Mem (used): <%= @panel_data['memory'] %>% Internet: <%= @panel_data['network'] %> Warp: <%= @panel_data['warp'] %> <%= @panel_data['date'] %> %{B-}" memory: memory
colours: playing: playing
fg: '#f9f9f9' www: network
fg_focused: '#f9f9f9' xnt: network
bg: '#001f1f1f' warp: network
bg_focused: '#467EC2' format: "@{pager}%{FC{bg}}%{BC{bg_focused}}%{F-} @{taskbar}%{FC{bg_focused}} %{B-} %{r} %{FC{bg_focused}} %{F-}%{BC{bg_focused}} d( %{F#E87C00}@{playing}%{F-} )b | LA: @{la} | Mem: @{memory}%% | Network: @{www} @{warp} @{xnt} | @{date} %{B-}"
mon_focused: '#46C252' colours:
# #1D2129
fg: '#f9f9f9'
fg_focused: '#f9f9f9'
bg: '#001f1f1f'
bg_focused: '#67748F'
mon_focused: '#46C252'
ok_colour: "#17D127"
warn_colour: "#CAD117"
crit_colour: "#D15417"
# Module settings # Module settings
mod: mod:
bspwm_pager: pager:
colour_focused: '#f9f9f9' show_empty_desktops: false
show_empty_desktops: false show_single_monitor: false
show_single_monitor: false #monitors:
#monitors: # - "main"
# - "main" blacklist:
blacklist: -0
-h -p
bspwm_taskbar: date:
begin: "%{F<%= @config['colours']['bg'] %>}%{B<%= @config['colours']['bg_focused'] %>}%{F-} " format: '%A, %Y.%m.%d %H:%M:%S'
end: "%{F<%= @config['colours']['bg_focused'] %>} %{B-} " la:
date: warn_value: 3
format: '%A, %Y.%m.%d %H:%M:%S' crit_value: 4
load_average: www:
warn_value: 3 hosts:
crit_value: 4 - de-ber-as20647.anchors.atlas.ripe.net
ok_colour: "#00FF00" - nl-ams-as1101.anchors.atlas.ripe.net
warn_colour: "#FFFF00" - ru-mow-as15835.anchors.atlas.ripe.net
crit_colour: "#FF0000" warp:
network: hosts:
hosts: - malganis.priv
- de-ber-as20647.anchors.atlas.ripe.net - spike.priv
- nl-ams-as1101.anchors.atlas.ripe.net - builder.virt
- uk-boh-as196745.anchors.atlas.ripe.net xnt:
ok_colour: "#00FF00" hosts:
warn_colour: "#FFFF00" - emerald.zorg.sh
crit_colour: "#FF0000" - brilliant.zorg.sh
warp: - ui-server17.prod.zorg.sh
hosts: memory:
- malganis.priv warn_value: 75
- spike.priv crit_value: 90
- builder.virt
ok_colour: "#00FF00"
warn_colour: "#FFFF00"
crit_colour: "#FF0000"
newmail:
ok_message: "*"
ok_colour: "#00FF00"
crit_message: "***"
crit_colour: "#FF0000"
maildirs:
- /home/fbt/sync/maildir/.ops
- /home/fbt/sync/maildir/.inbox
memory:
ok_colour: "#00FF00"
warn_colour: "#FFFF00"
crit_colour: "#FF0000"
warn_value: 75
crit_value: 90

View File

@ -1,4 +1,3 @@
#!/usr/bin/env watchman #!/usr/bin/env ssm
service_command='/bin/compton' service_command = /bin/compton --vsync -f -D 3 -e 1.0
service_args=( --vsync opengl -f -D 3 -e 1.0 )

View File

@ -1,33 +1,24 @@
#!/usr/bin/env ssm #!/usr/bin/env ssm
# vim: ft=sh # vim: ft=sh
service_respawn='true' service_respawn = always
service_command="$HOME/bin/lockd" service_command = "$HOME/bin/lockd" i3lock-extra -s -o ~/pics/lock.png -p -g -- -e -f
service_args=( i3lock-extra -s -o ~/pics/lock.png -g -p )
function do_notify { function pre_start {
declare output; var output notify-send 'ssm' "Starting $service_name; press again to lock."
output = "$( "$@" )"
if output; then
notify-send "ssm ($service_name)" "$output"
fi
} }
function start_or_lock { function start_or_lock {
if status; then if ! status; then
notify-send 'ssm' "Starting $service_name" "$0" "$service_name" start
start
else else
notify-send 'ssm' "Locking..." "$0" "$service_name" lock
kill -USR1 "$service_pid"
fi fi
} }
function toggle { function pre_lock { notify-send 'ssm' "Locking..."; }
if status; then function lock { kill -USR1 "$service_pid"; }
do_notify "$0" "$service_name" stop
else function pre_stop {
do_notify "$0" "$service_name" start notify-send 'ssm' "Stopping $service_name"
fi
} }

View File

@ -1,14 +1,10 @@
#!/bin/env watchman #!/bin/env watchman
service_depends=( jackd )
service_command='/usr/bin/pulseaudio' service_command = '/usr/bin/pulseaudio' \
service_args=( --exit-idle-time=-1 \
--realtime=false -L module-jack-sink \
--exit-idle-time=-1 -L module-jack-source \
-L module-jack-sink
-L module-jack-source
-L module-native-protocol-tcp -L module-native-protocol-tcp
)
stop () { "$service_command" -k; } stop() { "$service_command" -k; }

View File

@ -1,5 +1,4 @@
#!/usr/bin/env ssm #!/usr/bin/env ssm
service_respawn='true' service_respawn = always
service_command='/usr/bin/crond' service_command = /usr/bin/crond -n -f ~/.config/crontab
service_args=( -n -f ~/.config/crontab )

View File

@ -1,4 +1,4 @@
#!/usr/bin/env watchman #!/usr/bin/env watchman
service_command='/usr/bin/ssh-agent' service_command='/usr/bin/ssh-agent'
service_args=( -d -a "/tmp/${USER}-ssh-auth.sock" ) service_args=( -d -a "/run/user/$UID/ssh-auth.sock" )

View File

@ -1,5 +1,8 @@
#!/usr/bin/env watchman #!/usr/bin/env watchman
service_respawn='true' service_workdir = "$HOME"
service_command='/usr/bin/sxhkd' service_respawn = always
service_reload_signal='USR1' service_command = /usr/bin/sxhkd
service_reload_signal = USR1
service_cgroup_exclusive = 0

View File

@ -1,4 +1,6 @@
#!/usr/bin/env watchman #!/usr/bin/env ssm
service_tmpfiles=( "/run/user/$UID/ufwd:dir" )
#service_respawn='true' #service_respawn='true'
service_command='/usr/bin/ufwd' service_command='/usr/bin/ufwd'

View File

@ -1,5 +1,12 @@
# Copyright (c) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (c) 2016-present Sven Greb <code@svengreb.de>
# Project: Nord Termite
# Repository: https://github.com/arcticicestudio/nord-termite
# License: MIT
[options] [options]
font = xos4 terminus 10 font = Terminus 10
#allow_bold = false #allow_bold = false
cursor_blink = off cursor_blink = off
cursor_shape = ibeam cursor_shape = ibeam
@ -12,30 +19,29 @@ font = terminus 10
roundness = 0.0 roundness = 0.0
[colors] [colors]
foreground = #839496 cursor = #d8dee9
foreground_bold = #eee8d5 cursor_foreground = #2e3440
foreground_dim = #888888
background = #141414
#background = rgba(18, 21, 26, 0.9)
cursor = #93a1a1
# if unset, will reverse foreground and background foreground = #d8dee9
#highlight = #839496 foreground_bold = #d8dee9
background = #262C36
background = rgba(38, 44, 54, 0.9)
# colors from color0 to color254 can be set highlight = #4c566a
color0 = #073642
color1 = #dc322f color0 = #3b4252
color2 = #859900 color1 = #bf616a
color3 = #b58900 color2 = #a3be8c
color4 = #268bd2 color3 = #ebcb8b
color5 = #d33682 color4 = #81a1c1
color6 = #2aa198 color5 = #b48ead
color7 = #eee8d5 color6 = #88c0d0
color8 = #002b36 color7 = #e5e9f0
color9 = #cb4b16 color8 = #4c566a
color10 = #586e75 color9 = #bf616a
color11 = #657b83 color10 = #a3be8c
color12 = #839496 color11 = #ebcb8b
color13 = #6c71c4 color12 = #81a1c1
color14 = #93a1a1 color13 = #b48ead
color15 = #fdf6e3 color14 = #8fbcbb
color15 = #eceff4

View File

@ -43,8 +43,7 @@ set_misc_path \
"$HOME/games/bin" \ "$HOME/games/bin" \
"$HOME/.local/bin" \ "$HOME/.local/bin" \
"$HOME/.nails/bin" \ "$HOME/.nails/bin" \
"$HOME/.winepx/bin" \ "$HOME/.winepx/bin"
"$HOME/.rvm/bin"
# GPG # GPG
GPG_TTY=$(tty) GPG_TTY=$(tty)

View File

@ -34,12 +34,11 @@ selected_item_suffix = "$9"
#playlist_separate_albums = no #playlist_separate_albums = no
#progressbar_look = "▃▃ " progressbar_look = "▰▱ "
progressbar_look = "▄▄ "
progressbar_boldness = yes progressbar_boldness = yes
header_visibility = no header_visibility = no
statusbar_visibility = no statusbar_visibility = yes
titles_visibility = no titles_visibility = no
## Screens available for use: help, playlist, browser, search_engine, ## Screens available for use: help, playlist, browser, search_engine,