summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2018-07-21 19:04:02 -0400
committerAmin Bandali <amin@aminb.org>2018-07-21 19:04:02 -0400
commitec00205049a7e8d4c3634b209833c00cf9155ebf (patch)
tree8ad49fd7682dc3344a804f0844cbe1bc89d1f1e3
parent0e0dc607420a2895074702d45e09009fa7e7428b (diff)
downloadconfigs-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.org14
1 files changed, 14 insertions, 0 deletions
diff --git a/rc.org b/rc.org
index a63d391..2c54071 100644
--- a/rc.org
+++ b/rc.org
@@ -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"