diff options
| author | Andrew Guschin <guschin@altlinux.org> | 2023-07-28 01:40:21 +0400 |
|---|---|---|
| committer | Andrew Guschin <guschin@altlinux.org> | 2023-07-28 01:40:21 +0400 |
| commit | 3f286ea0d780e039fabf2ad86b2d08aa80f351ea (patch) | |
| tree | f246fc59320dd04e8ecfb92c549c2ee7f402d332 /.xprofile | |
| parent | 5ec338174c5ef3225d6b7009b8ac55772f76008e (diff) | |
Changed .xprofile
Diffstat (limited to '.xprofile')
| -rw-r--r-- | .xprofile | 20 |
1 files changed, 8 insertions, 12 deletions
@@ -5,17 +5,13 @@ if [ "$DESKTOP_SESSION" = "openbox-session" ] || \ [ "$DESKTOP_SESSION" = "bspwm" ] || \ [ "$DESKTOP_SESSION" = "dwm" ]; then -setxkbmap -layout us,ru -option "grp:win_space_toggle" +setxkbmap -layout us,ru -option "grp:caps_toggle" dunst & xss-lock -v -- slock -m "$(cowsay 'You shall not pass!')" & -geary --gapplication-service & -# Window manager specific config -if [ "$DESKTOP_SESSION" = "dwm" ]; then - compositor_args="-o 0" - dwmblocks & -elif [ "$DESKTOP_SESSION" = "xmonad" ] || \ - [ "$DESKTOP_SESSION" = "bspwm" ]; then +if [ "$DESKTOP_SESSION" = "dwm" ] || \ + [ "$DESKTOP_SESSION" = "xmonad" ] || \ + [ "$DESKTOP_SESSION" = "bspwm" ]; then compositor_args="-o 0" fi @@ -23,7 +19,7 @@ compositor_args="$compositor_args --backend glx --vsync" # Setup wallpaper WP_DIR="$HOME/Pictures/Wallpapers/" -if [ -d "$WP_DIR" ]; then +if [ -d "$WP_DIR" ]; then WP=$( ls -l "$WP_DIR" | tail -n +2 | awk '{ print $9 }' | shuf | tail -n -1 ) xwallpaper --zoom "$WP_DIR/$WP" fi @@ -33,12 +29,12 @@ if ! [ $(command -v compton) ]; then alias compton="picom" fi -if [ "$DESKTOP_SESSION" = "openbox-session" ] || \ - [ "$DESKTOP_SESSION" = "dwm" ]; then +if [ "$DESKTOP_SESSION" = "openbox-session" ] || \ + [ "$DESKTOP_SESSION" = "dwm" ]; then compton -c --config $XDG_CONFIG_HOME/compton/compton.conf $compositor_args & fi fi export TERMINAL="x-terminal-emulator" -export BROWSER="brave" +export BROWSER="firefox" |