added extra configurations

This commit is contained in:
davidovski 2021-12-05 13:44:24 +00:00
parent d2d7738d65
commit bcdb3419af
13 changed files with 30 additions and 12 deletions

View file

@ -14,11 +14,10 @@ alias settabletscale="tablet 18 155 2 4:3"
alias gosumemory-default="sudo /home/david/.local/share/gosumemory/gosumemory -path /home/david/.local/share/osu-wine/OSU/Songs"
alias yta="youtube-dl --no-mtime --add-metadata --write-thumbnail --no-check-certificate -x -f bestaudio/best"
alias yta="youtube-dl --no-mtime --add-metadata --no-check-certificate -x -f bestaudio/best"
alias suspend="i3lock-fancy -p -t ''; systemctl suspend"
alias nano="nvim"
alias vim="nvim"
#alias tablet2='tablet 18 156 2.4'
@ -46,3 +45,6 @@ bitrate () {
mediainfo Aphrodite_-_Superman_\(dnb\).mp3 | grep 'Bit rate '
}
alias syncdir="sudo rsync -rv --no-perms --no-owner --no-group --delete"
alias chromium-tor="chromium --incognito --proxy-server=socks5://localhost:9050 --user-data-dir=/tmp"

View file

@ -1 +1 @@
2110694
1086

2
config/mpv/input.conf Normal file
View file

@ -0,0 +1,2 @@
r cycle_values video-rotate 90 180 270 0

View file

@ -43,3 +43,4 @@ TagLib: Could not open file /hd1/Music/Hardcore/HARDCORE SYNDROME 15/01. Srav3R
TagLib: Could not open file /hd1/Music/Hardcore/HARDCORE SYNDROME 15/12. USAO - Punish.mp3
TagLib: Could not open file /hd1/Music/Hardcore/HARDCORE SYNDROME 15/12. USAO - Punish.mp3
TagLib: Could not open file /hd1/Music/Hardcore/HARDCORE SYNDROME 15/12. USAO - Punish.mp3
regexSearch: bad_expression: Unmatched [ or [^ in character class declaration. The error occurred while parsing the regular expression: '[B>>>HERE>>>'.

View file

@ -253,7 +253,7 @@ opacity-rule = [
blur: {
# requires: https://github.com/ibhagwan/picom
method = "kawase";
method = "none";
#method = "kernel";
strength = 0;
# deviation = 1.0;

View file

@ -55,7 +55,6 @@ configuration {
/* window-format: "{w} {c} {t}";*/
/* click-to-exit: true;*/
/* show-match: true;*/
theme: "colors-rofi-dark";
/* color-normal: ;*/
/* color-urgent: ;*/
/* color-active: ;*/
@ -150,3 +149,5 @@ configuration {
/* me-accept-entry: "MouseDPrimary";*/
/* me-accept-custom: "Control+MouseDPrimary";*/
}
@theme "colors-rofi-dark"

View file

@ -75,8 +75,9 @@ super + shift + s
$HOME/.scripts/screenshot_fs
super + ctrl + s
$HOME/.scripts/screenshot_floating
# lock screen
super + alt + l
super + ctrl + l
$HOME/.scripts/lock
# power menu
@ -144,9 +145,11 @@ super + alt + s
super + period
.scripts/calculator
# web search
# file search and open
super + slash
~/.scripts/websearch
bspc rule -a \* -o state=floating && $TERMINAL -e ~/.scripts/fzf_menu.sh
shift + super + slash
bspc rule -a \* -o state=floating && $TERMINAL -e ~/.scripts/fzf_menu.sh
# Calendar
super + c

View file

@ -32,3 +32,5 @@ nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
nnoremap <F9> :w<Enter>:!"%:p"<Enter>

3
scripts/fzf_menu.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
file=$(fzf $@)
xdg-open $file &

View file

@ -1,3 +1,4 @@
#!/bin/sh
[ ! -s ~/.config/mpd/pid ] && mpd .config/mpd/mpd.conf
[ -s ~/.config/mpd/pid ] && mpdscribble --conf .config/mpdscribble/mpdscribble.conf
[ -s ~/.config/mpd/pid ] && mpd-rpc --no-idle --fork

View file

@ -9,9 +9,10 @@ tablet_ratio = (lambda s: float(s[0]) / float(s[1]))(sys.argv[4].split(":")) if
#Layout of screens: (x, y, w, h)
screens = [
(0,0, 1080, 1920),
(1080, 0, 2560, 1440),
(3640, 208, 1280, 1024),
(3840, 0, 1080, 1920),
(1280, 0, 2560, 1440),
(4920, 0, 1080, 1920),
(0, 0, 1280, 1024),
]
#TODO find this with xrandr
@ -24,7 +25,7 @@ offsety = target[1]
#Size of the full screen areas
sh = 1920
sw = 1280 + 2560 + 1080
sw = 1280 + 2560 + 1080 + 1080
#TODO calculate using list of screens
#Aspect ratio of the tablet, to avoid weird scaling problems

View file

@ -1,3 +1,5 @@
xrdb ~/.Xdefaults
eval $(gnome-keyring-daemon --start)
export SSH_AUTH_SOCK
exec bspwm