diff options
author | Amin Bandali <amin@aminb.org> | 2018-07-21 19:04:02 -0400 |
---|---|---|
committer | Amin Bandali <amin@aminb.org> | 2018-07-21 19:04:02 -0400 |
commit | ec00205049a7e8d4c3634b209833c00cf9155ebf (patch) | |
tree | 8ad49fd7682dc3344a804f0844cbe1bc89d1f1e3 | |
parent | 0e0dc607420a2895074702d45e09009fa7e7428b (diff) | |
download | configs-ec00205049a7e8d4c3634b209833c00cf9155ebf.tar.gz configs-ec00205049a7e8d4c3634b209833c00cf9155ebf.tar.xz configs-ec00205049a7e8d4c3634b209833c00cf9155ebf.zip |
[rc] add s script for launching sway with customizations
TODO: later might want to check for hostname to decide what to do on
plasma and enigma (currently, i'm only using it on plasma)
-rw-r--r-- | rc.org | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -4827,6 +4827,20 @@ val=$(rofi -dmenu -mesg "light $cur" -p "light -S " -l 0 -width 12) light -S $val #+end_src +** s (run sway) +:PROPERTIES: +:header-args+: :tangle ~/.local/bin/s :shebang "#!/bin/bash" +:END: + +#+begin_src bash +export XKB_DEFAULT_OPTIONS=ctrl:nocaps,altwin:swap_alt_win,ctrl:rctrl_ralt +export _JAVA_AWT_WM_NONREPARENTING=1 +export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true' +light -Scrs "intel_backlight" 2 +source $HOME/.zprofile +sway +#+end_src + ** toggle-layout :PROPERTIES: :header-args+: :tangle ~/.local/bin/toggle-layout :shebang "#!/bin/bash" |