diff options
| author | benj <benj@rse8.com> | 2021-09-28 17:12:54 -0700 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2021-09-28 17:12:54 -0700 |
| commit | f7975dda7e2c844157a189e236952fe49216f791 (patch) | |
| tree | 0ba476e6e8f682cecdcba65d6962495d35f3e5b4 | |
| parent | d18fe5d69d5c1dec9d980b06e4a4b312c212c034 (diff) | |
| download | setup-f7975dda7e2c844157a189e236952fe49216f791.tar setup-f7975dda7e2c844157a189e236952fe49216f791.tar.gz setup-f7975dda7e2c844157a189e236952fe49216f791.tar.bz2 setup-f7975dda7e2c844157a189e236952fe49216f791.tar.lz setup-f7975dda7e2c844157a189e236952fe49216f791.tar.xz setup-f7975dda7e2c844157a189e236952fe49216f791.tar.zst setup-f7975dda7e2c844157a189e236952fe49216f791.zip | |
xinit template (mobile) and fcitx setup
Diffstat (limited to '')
| -rw-r--r-- | .xinitrc | 11 | ||||
| -rw-r--r-- | des/i3/config | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc new file mode 100644 index 0000000..45ad2f7 --- /dev/null +++ b/.xinitrc @@ -0,0 +1,11 @@ +export GTK_IM_MODULE=fcitx +export QT_IM_MODULE=fcitx +export XMODIFIERS=@im=fcitx + +xset r rate 200 60 +xrandr --output eDP-1 --scale 1.25x1.25 +systemctl --user import-environment DISPLAY +/usr/bin/libinput-gestures & +[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources +[[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap +exec i3 --shmlog-size=2621440 diff --git a/des/i3/config b/des/i3/config index 535abd5..ff6d291 100644 --- a/des/i3/config +++ b/des/i3/config @@ -48,6 +48,7 @@ for_window [class="Yad"] floating enable # and nm-applet is a desktop environment-independent system tray GUI for it. exec --no-startup-id nm-applet +exec --no-startup-id fcitx -d # Use pactl to adjust volume in PulseAudio. bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -SIGRTMIN+10 i3blocks bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && pkill -SIGRTMIN+10 i3blocks |
