Xprofile
This commit is contained in:
parent
b7bc7ed388
commit
03a48bc226
5 changed files with 55 additions and 46 deletions
|
@ -1,28 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
export QT_STYLE_OVERRIDE="kvantum"
|
||||
export QT_QPA_PLATFORMTHEME="qt5ct"
|
||||
export KRITA_NO_STYLE_OVERRIDE=1
|
||||
export PATH="$PATH:$HOME/go/bin"
|
||||
|
||||
## Screens
|
||||
xrandr --output HDMI-A-1 --auto --primary
|
||||
xrandr --output DisplayPort-1 --auto --right-of HDMI-A-1
|
||||
|
||||
## Keyboard and shortcuts
|
||||
setxkbmap -layout "dvorak" -option "caps:backspace,lv3:ralt_switch,compose:sclk" && sxhkd &
|
||||
|
||||
## Cursor
|
||||
xsetroot -cursor_name left_ptr &
|
||||
xbanish &
|
||||
|
||||
## Colors / Wallpaper
|
||||
xrdb -merge -q ~/.Xresources && wal -Rq
|
||||
|
||||
## Bar
|
||||
"${HOME}/.config/polybar/launch.sh"
|
||||
btops 2&>/dev/null &
|
||||
|
||||
## BSPWM config
|
||||
bspc config focus_follows_pointer true
|
||||
|
||||
|
@ -43,25 +20,4 @@ bspc monitor -f primary
|
|||
## BSPWM Rules
|
||||
bspc rule -a Wine monitor=HDMI-A-1
|
||||
|
||||
## Music
|
||||
sshfs -o uid=1000 -o gid=1000 kemurikusa:/data/Music ~/Music &
|
||||
sshfs -o uid=1000 -o gid=1000 neptune-01:/home/deploy/Movies ~/Movies &
|
||||
mpd &
|
||||
|
||||
## No screensaver
|
||||
xset s off &
|
||||
xset -dpms &
|
||||
|
||||
## No time to waste
|
||||
xset r rate 300 50 &
|
||||
|
||||
## Compositor
|
||||
picom --experimental-backends --backend glx -b &
|
||||
redshift -l 44.481:0.3545 &
|
||||
|
||||
## Peripherals
|
||||
xsetwacom set $(xsetwacom --list devices | awk '/Pen stylus/ { if ($7 == "id:") { print $8 } }') MapToOutput HDMI-A-1 &
|
||||
xow &
|
||||
|
||||
## Swallow
|
||||
pidswallow --loop &
|
||||
btops &
|
||||
|
|
|
@ -1,10 +1,16 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
session=${1:-bspwm}
|
||||
|
||||
case $session in
|
||||
i3|i3wm ) exec i3;;
|
||||
kde ) exec startplasma-x11;;
|
||||
xfce|xfce4 ) exec startxfce4;;
|
||||
bspwm ) exec bspwm;;
|
||||
bspwm )
|
||||
[ -f /etc/xprofile ] && . /etc/xprofile
|
||||
[ -f ~/.xprofile ] && . ~/.xprofile
|
||||
exec bspwm
|
||||
;;
|
||||
sway ) exec sway;;
|
||||
wayfire ) exec wayfire;;
|
||||
river ) exec /home/jojo/bin/river.sh;;
|
||||
|
|
45
startx/.xprofile
Executable file
45
startx/.xprofile
Executable file
|
@ -0,0 +1,45 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
export QT_STYLE_OVERRIDE="kvantum"
|
||||
export QT_QPA_PLATFORMTHEME="qt5ct"
|
||||
export KRITA_NO_STYLE_OVERRIDE=1
|
||||
|
||||
## Screens
|
||||
xrandr --output HDMI-A-1 --auto --primary
|
||||
xrandr --output DisplayPort-1 --auto --right-of HDMI-A-1
|
||||
|
||||
## Keyboard and shortcuts
|
||||
setxkbmap -layout "dvorak" -option "caps:backspace,lv3:ralt_switch,compose:sclk" && sxhkd &
|
||||
|
||||
## Cursor
|
||||
xsetroot -cursor_name left_ptr &
|
||||
xbanish &
|
||||
|
||||
## Colors / Wallpaper
|
||||
xrdb -merge -q ~/.Xresources && wal -Rq
|
||||
|
||||
## Bar
|
||||
"${HOME}/.config/polybar/launch.sh"
|
||||
|
||||
## Music
|
||||
sshfs -o uid=1000 -o gid=1000 kemurikusa:/data/Music ~/Music &
|
||||
sshfs -o uid=1000 -o gid=1000 neptune-01:/home/deploy/Movies ~/Movies &
|
||||
mpd &
|
||||
|
||||
## No screensaver
|
||||
xset s off &
|
||||
xset -dpms &
|
||||
|
||||
## No time to waste
|
||||
xset r rate 300 50 &
|
||||
|
||||
## Compositor
|
||||
picom --experimental-backends --backend glx -b &
|
||||
redshift -l 44.481:0.3545 &
|
||||
|
||||
## Peripherals
|
||||
xsetwacom set $(xsetwacom --list devices | awk '/Pen stylus/ { if ($7 == "id:") { print $8 } }') MapToOutput HDMI-A-1 &
|
||||
xow &
|
||||
|
||||
## Swallow
|
||||
pidswallow --loop &
|
|
@ -62,6 +62,7 @@ abbr music 'mpc -q play; ~/.config/ncmpcpp/art.sh; sleep 1; ~/.config/ncmpcpp/ki
|
|||
abbr bars '~/.config/ncmpcpp/kitty.sh &; cava'
|
||||
abbr weather 'curl wttr.in'
|
||||
abbr manga 'sakura find -type f | sort | imv -s none -b 1F1F21'
|
||||
abbr cp 'rsync -ah --progress'
|
||||
|
||||
## Web
|
||||
abbr nico 'youtube-dl'
|
||||
|
|
|
@ -75,3 +75,4 @@ www.amazon.fr m.media-amazon.com script allow
|
|||
www.amazon.fr unagi-eu.amazon.com other allow
|
||||
www.amazon.fr images-na.ssl-images-amazon.com script allow
|
||||
www.amazon.fr images-eu.ssl-images-amazon.com script allow
|
||||
gifcities.org gifcities.archive.org xhr allow
|
Loading…
Add table
Add a link
Reference in a new issue