From df2cf4044e144cda3d1fd8beb20ca7f579614fb7 Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Sun, 5 May 2019 03:51:26 -0400 Subject: [PATCH] Spotify settings --- dot_config/i3/config.tmpl | 12 ++++++------ dot_config/i3blocks/scripts/executable_calendar | 3 ++- dot_config/spotify/Users/polarbier-user/prefs.tmpl | 6 ++++++ key_aliases.tmpl | 9 +++++++++ key_dirs.tmpl | 6 ++++-- key_files.tmpl | 2 -- 6 files changed, 27 insertions(+), 11 deletions(-) create mode 100644 dot_config/spotify/Users/polarbier-user/prefs.tmpl diff --git a/dot_config/i3/config.tmpl b/dot_config/i3/config.tmpl index dbdbc52..53e428c 100755 --- a/dot_config/i3/config.tmpl +++ b/dot_config/i3/config.tmpl @@ -287,13 +287,13 @@ bindsym $mod+F5 workspace $ws5; exec $browser # bindsym Mod4+g workspace $ws5; layout stacking; exec urxvt -e steam bindsym Mod4+g workspace $ws5; layout tabbed; exec gimp bindsym Mod4+t workspace $ws5; exec thunderbird -bindsym Mod4+F5 workspace $ws5; exec cd ~/coding/ada-mario-prep && godot -e +bindsym Mod4+5 workspace $ws5; exec godot +bindsym Mod4+F5 workspace $ws5; exec cd ~/coding/ada-mario && godot -e # for_window [class="Move_mouse_with_head"] floating enable; move absolute position 0 0 -for_window [class="Move_mouse_with_head"] floating enable -for_window [class="Move_mouse_with_head"] move absolute position 0 0 -# for_window [class="ada-mario-prep"] floating enable; move absolute position 1000 700 -for_window [class="ada-mario-prep"] floating enable -for_window [class="ada-mario-prep"] move absolute position 930 480 +for_window [class="Face_detector"] floating enable +for_window [class="Face_detector"] move absolute position 0 0 +for_window [class="ada-mario"] floating enable +for_window [class="ada-mario"] move absolute position 930 480 set $ws6 "6 " workspace $ws6 output $secondary diff --git a/dot_config/i3blocks/scripts/executable_calendar b/dot_config/i3blocks/scripts/executable_calendar index df4fb6e..44a72e1 100755 --- a/dot_config/i3blocks/scripts/executable_calendar +++ b/dot_config/i3blocks/scripts/executable_calendar @@ -32,9 +32,10 @@ case "$BLOCK_BUTTON" in i3-msg -q "exec yad --calendar \ --width=$WIDTH --height=$HEIGHT \ --undecorated --fixed \ - --close-on-unfocus --no-buttons \ + --no-buttons \ --posx=$posX --posy=$posY \ > /dev/null" + # --close-on-unfocus \ esac . "/home/kevin/.cache/wal/colors.sh" echo "$LABEL$(date "$DATEFMT")" diff --git a/dot_config/spotify/Users/polarbier-user/prefs.tmpl b/dot_config/spotify/Users/polarbier-user/prefs.tmpl new file mode 100644 index 0000000..ed1b795 --- /dev/null +++ b/dot_config/spotify/Users/polarbier-user/prefs.tmpl @@ -0,0 +1,6 @@ +audio.crossfade_v2=true +audio.sync_bitrate_enumeration=4 +ui.track_notifications_enabled=false +ui.show_friend_feed=false +audio.play_bitrate_enumeration=4 +app.browser.zoom-level=300 diff --git a/key_aliases.tmpl b/key_aliases.tmpl index 2ca79b4..dbb5b8a 100755 --- a/key_aliases.tmpl +++ b/key_aliases.tmpl @@ -97,6 +97,10 @@ rb "systemctl reboot" lo "i3-msg exit" x "xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE" X "xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE" +{{ if eq .chezmoi.fullHostname "x1-carbon" }} +xl "xmodmap ~/.Xmodmap-laptop && xset r rate $XSET_DELAY $XSET_RATE" +XL "xmodmap ~/.Xmodmap-laptop && xset r rate $XSET_DELAY $XSET_RATE" +{{ end }} # ]]] power options # @@ -292,6 +296,7 @@ gdlc "git diff --cached -w" gdh "git diff --cached -w HEAD~1" gds "git diff --stat" gl "git log" +glm "git log master" gsl "git shortlog" # ]]] diff/log # @@ -413,6 +418,10 @@ rt "python ~/coding/rt-scraper/!rt-scraper.py" # ]]] mfs # mm "printf '\033c' && bear make clean move_mouse_with_head && ./move_mouse_with_head" +med "printf '\033c' && bear make clean eye_detector && ./eye_detector" +mft "printf '\033c' && bear make clean face_detector && ./face_detector" +rft "~/coding/face-tracker/face_detector > /tmp/move_mouse_with_head.out" +gpsb "git push bitbucket" # ]]] coding projs # diff --git a/key_dirs.tmpl b/key_dirs.tmpl index 3b8a0c0..dd12305 100755 --- a/key_dirs.tmpl +++ b/key_dirs.tmpl @@ -26,9 +26,11 @@ tm /tmp b1 ~/coding/mf-site/themes/base16 2d ~/coding/godot-demos/2d-plat -ad ~/coding/ada-mario-prep -ads ~/coding/ada-mario-prep/scripts +ad ~/coding/ada-mario +ads ~/coding/ada-mario/scripts +adP ~/Pictures/ada-mario cn ~/coding +ft ~/coding/face-tracker ib ~/linux-config/dot_config/i3blocks/scripts j ~/Documents/journal lh ~/Documents/listening-history diff --git a/key_files.tmpl b/key_files.tmpl index 60675ca..43c884e 100755 --- a/key_files.tmpl +++ b/key_files.tmpl @@ -24,9 +24,7 @@ z ~/linux-config/aliases/zsh_aliases # cdn [[[ # -adt ~/coding/ada-mario-prep/txt/todo.md cm /tmp/commit-msg.txt -adt ~/coding/ada-mario-prep/txt/todo.md bid ~/coding/project-ideas/blog.md ci ~/linux-config/txt/ideas.md cmd ./commit-msg.txt