mirror of
https://github.com/Rushilwiz/rice.git
synced 2025-04-09 14:50:17 -04:00
added i3 and kmonad config
This commit is contained in:
parent
65b9808838
commit
dbccadac49
|
@ -183,7 +183,7 @@ for_window [class="URxvt" instance="floating_urxvt$"] floating toggle
|
||||||
bindsym $mod+q kill
|
bindsym $mod+q kill
|
||||||
|
|
||||||
# exit-menu
|
# exit-menu
|
||||||
bindsym $mod+Shift+p exec ~/.config/polybar/forest/scripts/powermenu.sh
|
bindsym $mod+Shift+p exec ~/.config/polybar/scripts/powermenu.sh
|
||||||
|
|
||||||
# Lock the system
|
# Lock the system
|
||||||
# lock with a picture:
|
# lock with a picture:
|
||||||
|
@ -584,7 +584,7 @@ client.urgent $urgentred $urgentred $white $yellowbrown $yellowbrown
|
||||||
|
|
||||||
## rofi bindings fancy application menu ($mod+d /F9 optional disabled)
|
## rofi bindings fancy application menu ($mod+d /F9 optional disabled)
|
||||||
|
|
||||||
bindsym $mod+space exec ~/.config/polybar/forest/scripts/launcher.sh
|
bindsym $mod+space exec ~/.config/polybar/scripts/launcher.sh
|
||||||
|
|
||||||
# bindsym F9 exec rofi -modi drun -show drun \
|
# bindsym F9 exec rofi -modi drun -show drun \
|
||||||
# -config ~/.config/rofi/rofidmenu.rasi
|
# -config ~/.config/rofi/rofidmenu.rasi
|
||||||
|
@ -604,4 +604,5 @@ bindsym $mod+t exec rofi -show window \
|
||||||
# -config ~/.config/rofi/rofidmenu.rasi
|
# -config ~/.config/rofi/rofidmenu.rasi
|
||||||
|
|
||||||
exec --no-startup-id parcellite
|
exec --no-startup-id parcellite
|
||||||
exec --no-startup-id ~/.config/polybar/launch.sh
|
exec_always --no-startup-id ~/.config/polybar/launch.sh
|
||||||
|
exec_always --no-startup-id ~/.config/kmonad/launch.sh;
|
||||||
|
|
28
kmonad/config.kbd
Normal file
28
kmonad/config.kbd
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
(defcfg
|
||||||
|
;; For Linux
|
||||||
|
input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
|
||||||
|
output (uinput-sink "My KMonad output"
|
||||||
|
"/bin/sleep 1 && /bin/setxkbmap -option compose:ralt")
|
||||||
|
|
||||||
|
fallthrough true
|
||||||
|
)
|
||||||
|
|
||||||
|
(defsrc
|
||||||
|
a s d f g h j k l ;
|
||||||
|
)
|
||||||
|
|
||||||
|
(defalias
|
||||||
|
home_a (tap-hold-next-release 200 a lmet)
|
||||||
|
home_s (tap-hold-next-release 200 s lalt)
|
||||||
|
home_d (tap-hold-next-release 200 d lctl)
|
||||||
|
home_f (tap-hold-next-release 200 f lsft)
|
||||||
|
|
||||||
|
home_j (tap-hold-next-release 200 j rsft)
|
||||||
|
home_k (tap-hold-next-release 200 k rctl)
|
||||||
|
home_l (tap-hold-next-release 200 l lalt)
|
||||||
|
home_; (tap-hold-next-release 200 ; rmet)
|
||||||
|
)
|
||||||
|
|
||||||
|
(deflayer homerowmods
|
||||||
|
@home_a @home_s @home_d @home_f g h @home_j @home_k @home_l @home_;
|
||||||
|
)
|
|
@ -10,4 +10,4 @@ SE="${COLORS[$(( $RANDOM % 14 ))]}"
|
||||||
sed -i -e "s/ac: .*/ac: ${AC}FF;/g" $FILE
|
sed -i -e "s/ac: .*/ac: ${AC}FF;/g" $FILE
|
||||||
sed -i -e "s/se: .*/se: ${SE}FF;/g" $FILE
|
sed -i -e "s/se: .*/se: ${SE}FF;/g" $FILE
|
||||||
|
|
||||||
rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/polybar/forest/scripts/rofi/launcher.rasi
|
rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/polybar/scripts/rofi/launcher.rasi
|
||||||
|
|
|
@ -79,13 +79,7 @@ case $chosen in
|
||||||
$logout)
|
$logout)
|
||||||
ans=$(confirm_exit &)
|
ans=$(confirm_exit &)
|
||||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
||||||
if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then
|
i3-msg exit
|
||||||
openbox --exit
|
|
||||||
elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then
|
|
||||||
bspc quit
|
|
||||||
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
|
||||||
i3-msg exit
|
|
||||||
fi
|
|
||||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
SDIR="$HOME/.config/polybar/forest/scripts"
|
SDIR="$HOME/.config/polybar/scripts"
|
||||||
|
|
||||||
# Launch Rofi
|
# Launch Rofi
|
||||||
MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \
|
MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user