Browse Source

added extra configurations

master
davidovski 6 months ago
parent
commit
bcdb3419af
  1. 6
      bash_aliases
  2. 2
      config/mpd/pid
  3. 2
      config/mpv/input.conf
  4. 1
      config/ncmpcpp/error.log
  5. 2
      config/picom/picom.conf
  6. 3
      config/rofi/config.rasi
  7. 9
      config/sxhkd/sxhkdrc
  8. 2
      config/vim/vimrc
  9. BIN
      fonts/noto-cjk/NotoSansCJK-Regular.ttc
  10. 3
      scripts/fzf_menu.sh
  11. 1
      scripts/start-mpd
  12. 9
      scripts/tablet
  13. 2
      xinitrc

6
bash_aliases

@ -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"

2
config/mpd/pid

@ -1 +1 @@
2110694
1086

2
config/mpv/input.conf

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

1
config/ncmpcpp/error.log

@ -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>>>'.

2
config/picom/picom.conf

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

3
config/rofi/config.rasi

@ -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"

9
config/sxhkd/sxhkdrc

@ -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

2
config/vim/vimrc

@ -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>

BIN
fonts/noto-cjk/NotoSansCJK-Regular.ttc

Binary file not shown.

3
scripts/fzf_menu.sh

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

1
scripts/start-mpd

@ -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

9
scripts/tablet

@ -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

2
xinitrc

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

Loading…
Cancel
Save