mirror of
https://git.davidovski.xyz/dot.git
synced 2024-08-15 00:43:28 +00:00
Merge branch 'master' of git.cheetah.remote:dot
This commit is contained in:
commit
c293e10e51
14 changed files with 30 additions and 25 deletions
|
@ -451,3 +451,4 @@ o(>< )o⌒* Mad (3)
|
||||||
(;^_^)ッ☆( ゜o゜) Slapping
|
(;^_^)ッ☆( ゜o゜) Slapping
|
||||||
\(~O~)/ Good Morning
|
\(~O~)/ Good Morning
|
||||||
\_(´▽`)♪_/ Bathtub
|
\_(´▽`)♪_/ Bathtub
|
||||||
|
( • )( • )ԅ(≖‿≖ԅ) BOOB
|
||||||
|
|
|
@ -10,6 +10,7 @@ xsetroot -cursor_name left_ptr &
|
||||||
xrdb ~/.Xdefaults
|
xrdb ~/.Xdefaults
|
||||||
|
|
||||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
pgrep -x sxhkd > /dev/null || sxhkd &
|
||||||
|
pgrep -x picom > /dev/null || picom &
|
||||||
pgrep -x xss-lock > /dev/null || xss-lock slock &
|
pgrep -x xss-lock > /dev/null || xss-lock slock &
|
||||||
pgrep -x bg.sh > /dev/null || $HOME/.scripts/bg.sh > /dev/null &
|
pgrep -x bg.sh > /dev/null || $HOME/.scripts/bg.sh > /dev/null &
|
||||||
|
|
||||||
|
|
|
@ -58,8 +58,8 @@
|
||||||
# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address
|
# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address
|
||||||
; source = auto
|
; source = auto
|
||||||
|
|
||||||
; method = alsa
|
method = alsa
|
||||||
; source = hw:Loopback,1
|
source = hw:Loopback,1
|
||||||
|
|
||||||
; method = fifo
|
; method = fifo
|
||||||
; source = /tmp/mpd.fifo
|
; source = /tmp/mpd.fifo
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
file:///home/x/pics/screenshot
|
||||||
file:///home/david/hd1/important
|
file:///home/david/hd1/important
|
||||||
file:///home/david/docs docs
|
file:///home/david/docs docs
|
||||||
file:///home/david/pics pics
|
file:///home/david/pics pics
|
||||||
|
|
|
@ -13,14 +13,6 @@ audio_output {
|
||||||
max_clients "0"
|
max_clients "0"
|
||||||
}
|
}
|
||||||
|
|
||||||
audio_output {
|
|
||||||
type "httpd"
|
|
||||||
name "HQ HTTP Stream"
|
|
||||||
encoder "wave" # optional, vorbis or lame
|
|
||||||
port "6681"
|
|
||||||
max_clients "0"
|
|
||||||
}
|
|
||||||
|
|
||||||
audio_output {
|
audio_output {
|
||||||
type "pulse"
|
type "pulse"
|
||||||
name "mpd"
|
name "mpd"
|
||||||
|
|
|
@ -289,8 +289,8 @@ blur-background-exclude = [
|
||||||
# `xrender` is the default one.
|
# `xrender` is the default one.
|
||||||
#
|
#
|
||||||
experimental-backends = true;
|
experimental-backends = true;
|
||||||
#backend = "glx";
|
backend = "glx";
|
||||||
backend = "xrender";
|
#backend = "xrender";
|
||||||
#backend = "xr_glx_hybrid";
|
#backend = "xr_glx_hybrid";
|
||||||
|
|
||||||
|
|
||||||
|
@ -405,14 +405,14 @@ detect-client-leader = true
|
||||||
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
|
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
|
||||||
# The opposing option is use-damage
|
# The opposing option is use-damage
|
||||||
#
|
#
|
||||||
no-use-damage = true
|
# no-use-damage = false
|
||||||
use-damage = false
|
use-damage = true
|
||||||
|
|
||||||
# Use X Sync fence to sync clients' draw calls, to make sure all draw
|
# Use X Sync fence to sync clients' draw calls, to make sure all draw
|
||||||
# calls are finished before picom starts drawing. Needed on nvidia-drivers
|
# calls are finished before picom starts drawing. Needed on nvidia-drivers
|
||||||
# with GLX backend for some users.
|
# with GLX backend for some users.
|
||||||
#
|
#
|
||||||
#xrender-sync-fence = true
|
xrender-sync-fence = true
|
||||||
|
|
||||||
# GLX backend: Use specified GLSL fragment shader for rendering window contents.
|
# GLX backend: Use specified GLSL fragment shader for rendering window contents.
|
||||||
# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
|
# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
|
||||||
|
|
|
@ -43,7 +43,7 @@ inherit = bar/base
|
||||||
width = 100%
|
width = 100%
|
||||||
offset-x = 0
|
offset-x = 0
|
||||||
modules-left = workspaces xwindow
|
modules-left = workspaces xwindow
|
||||||
modules-right = mpd temperature memory wlan battery pulseaudio microphone time
|
modules-right = mpd temperature memory network battery pulseaudio microphone time
|
||||||
tray-position = right
|
tray-position = right
|
||||||
background = ${color.bga}
|
background = ${color.bga}
|
||||||
border-size = 0
|
border-size = 0
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
selected-urgent-foreground: @background2;
|
selected-urgent-foreground: @background2;
|
||||||
|
|
||||||
text-color: @foreground;
|
text-color: @foreground;
|
||||||
|
border-color: @foreground;
|
||||||
|
|
||||||
background-color: #00000000;
|
background-color: #00000000;
|
||||||
background: #191919;
|
background: #191919;
|
||||||
|
|
|
@ -17,6 +17,14 @@ super + ctrl + alt + f
|
||||||
{XF86AudioMute}
|
{XF86AudioMute}
|
||||||
amixer -D pulse set Master 1+ toggle
|
amixer -D pulse set Master 1+ toggle
|
||||||
|
|
||||||
|
{_, super} + XF86MonBrightnessDown
|
||||||
|
xbacklight - {10,1}
|
||||||
|
{_, super} + XF86MonBrightnessUp
|
||||||
|
xbacklight + {10,1}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
super + r
|
super + r
|
||||||
rofi -show drun -show-icons
|
rofi -show drun -show-icons
|
||||||
|
|
||||||
|
|
2
mkshrc
2
mkshrc
|
@ -50,8 +50,6 @@ function parse_git_dirty {
|
||||||
[ ! "${bits}" == "" ] && echo " ${bits}" || echo ""
|
[ ! "${bits}" == "" ] && echo " ${bits}" || echo ""
|
||||||
}
|
}
|
||||||
|
|
||||||
#set -o vi
|
|
||||||
|
|
||||||
bind '^L=clear-screen'
|
bind '^L=clear-screen'
|
||||||
|
|
||||||
export PS1=$(echo -e "\e[0;97m\${PWD/#\$HOME/\~}\e[0;37m\`parse_git_branch\` > \e[0;0m")
|
export PS1=$(echo -e "\e[0;97m\${PWD/#\$HOME/\~}\e[0;37m\`parse_git_branch\` > \e[0;0m")
|
||||||
|
|
3
profile
3
profile
|
@ -5,10 +5,11 @@
|
||||||
[ -d "$HOME/.local/bin" ] && PATH="$HOME/.local/bin:$PATH"
|
[ -d "$HOME/.local/bin" ] && PATH="$HOME/.local/bin:$PATH"
|
||||||
[ -d "$HOME/.scripts" ] && PATH="$HOME/.scripts:$PATH"
|
[ -d "$HOME/.scripts" ] && PATH="$HOME/.scripts:$PATH"
|
||||||
|
|
||||||
|
export XDG_RUNTIME_DIR=/tmp/$USER-$(uuidgen)
|
||||||
alias editor=vim
|
alias editor=vim
|
||||||
|
|
||||||
export TERMINAL="urxvt"
|
export TERMINAL="urxvt"
|
||||||
export BROWSER="/usr/bin/firefox"
|
export BROWSER="/usr/bin/chromium-browser"
|
||||||
export FILE_MANAGER="/usr/bin/thunar"
|
export FILE_MANAGER="/usr/bin/thunar"
|
||||||
export EMAIL_CLIENT="/usr/bin/thunderbird"
|
export EMAIL_CLIENT="/usr/bin/thunderbird"
|
||||||
export EDITOR="/usr/bin/vim"
|
export EDITOR="/usr/bin/vim"
|
||||||
|
|
4
scripts/battery_level
Executable file
4
scripts/battery_level
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
full=$(cat /sys/class/power_supply/BAT0/charge_now)
|
||||||
|
now=$(cat /sys/class/power_supply/BAT0/charge_full)
|
||||||
|
echo $full / $now \* 100 | bc -l
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
file=$(fzf $@)
|
file="$(fzf $@)"
|
||||||
xdg-open $file &
|
xdg-open $file &
|
||||||
|
|
|
@ -20,21 +20,19 @@ tablet_ratio = (lambda s: float(s[0]) / float(s[1]))(sys.argv[4].split(":")) if
|
||||||
|
|
||||||
screens = [
|
screens = [
|
||||||
(0, 0, 1920, 1080),
|
(0, 0, 1920, 1080),
|
||||||
(0, 1080, 1920, 1080),
|
|
||||||
(1920, 1080, 2560, 1440),
|
|
||||||
]
|
]
|
||||||
|
|
||||||
#TODO find this with xrandr
|
#TODO find this with xrandr
|
||||||
|
|
||||||
target = screens[2]
|
target = screens[0]
|
||||||
|
|
||||||
#Physical offset of the selected screen
|
#Physical offset of the selected screen
|
||||||
offsetx = target[0]
|
offsetx = target[0]
|
||||||
offsety = target[1]
|
offsety = target[1]
|
||||||
|
|
||||||
#Size of the full screen areas
|
#Size of the full screen areas
|
||||||
sh = 1080+ 1440
|
sh = 1080
|
||||||
sw = 1920 + 2560
|
sw = 1920
|
||||||
#TODO calculate using list of screens
|
#TODO calculate using list of screens
|
||||||
|
|
||||||
#Aspect ratio of the tablet, to avoid weird scaling problems
|
#Aspect ratio of the tablet, to avoid weird scaling problems
|
||||||
|
|
Loading…
Reference in a new issue