Add xinit for xmonad
This commit is contained in:
parent
2d360d3a04
commit
ee15a55ba6
0
general/.xmonad/setup-script/setup-screen.desktop.sh
Executable file
0
general/.xmonad/setup-script/setup-screen.desktop.sh
Executable file
3
general/.xmonad/setup-script/setup-screen.laptop.sh
Executable file
3
general/.xmonad/setup-script/setup-screen.laptop.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
xrandr --output eDP-1 --mode 1920x1080
|
56
general/.xmonad/setup-script/xinit.sh
Executable file
56
general/.xmonad/setup-script/xinit.sh
Executable file
@ -0,0 +1,56 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
ifExistsThen() {
|
||||||
|
if command -v $1 &> /dev/null; then
|
||||||
|
eval $2
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
xrdb -merge ~/.Xresources
|
||||||
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
|
||||||
|
# ░█▀▄░▀█▀░█▀▀░█▀█░█░░░█▀█░█░█
|
||||||
|
# ░█░█░░█░░▀▀█░█▀▀░█░░░█▀█░░█░
|
||||||
|
# ░▀▀░░▀▀▀░▀▀▀░▀░░░▀▀▀░▀░▀░░▀░
|
||||||
|
|
||||||
|
# export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
||||||
|
|
||||||
|
ifExistsThen picom \
|
||||||
|
"picom --experimental-backends &"
|
||||||
|
ifExistsThen feh \
|
||||||
|
"feh --bg-fill $HOME/Dropbox/bilder/Wallpapers/pixiv/80242900_p0.jpg"
|
||||||
|
|
||||||
|
# ░█░█░█▀▀░█░█░█▀▀
|
||||||
|
# ░█▀▄░█▀▀░░█░░▀▀█
|
||||||
|
# ░▀░▀░▀▀▀░░▀░░▀▀▀
|
||||||
|
|
||||||
|
setxkbmap -option caps:escape
|
||||||
|
|
||||||
|
export GTK_IM_MODULE=fcitx
|
||||||
|
export QT_IM_MODULE=fcitx
|
||||||
|
export XMODIFIERS=@im=fcitx
|
||||||
|
|
||||||
|
# ░▀█▀░█▀▄░█▀█░█░█
|
||||||
|
# ░░█░░█▀▄░█▀█░░█░
|
||||||
|
# ░░▀░░▀░▀░▀░▀░░▀░
|
||||||
|
|
||||||
|
# flameshot &
|
||||||
|
# pa-applet &
|
||||||
|
ifExistsThen nm-applet \
|
||||||
|
"nm-applet --sm-disable --indicator &"
|
||||||
|
ifExistsThen dropbox \
|
||||||
|
"dropbox &"
|
||||||
|
ifExistsThen fcitx \
|
||||||
|
"fcitx &"
|
||||||
|
ifExistsThen protonmail-bridge \
|
||||||
|
"protonmail-bridge --no-window &"
|
||||||
|
ifExistsThen mpd \
|
||||||
|
"mpd"
|
||||||
|
ifExistsThen piavpn \
|
||||||
|
"piavpn"
|
||||||
|
ifExistsThen copyq \
|
||||||
|
"copyq --start-server"
|
||||||
|
|
||||||
|
source ~/.aliases
|
||||||
|
|
||||||
|
xmonad
|
Loading…
Reference in New Issue
Block a user