Info + Icon + key copy

This commit is contained in:
ITmail-dk
2022-01-03 08:01:59 +01:00
parent e2f5d1078f
commit c902b83c12
4 changed files with 179 additions and 14 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/bash
cd ~/bspwm-install-ma-dte
echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Creates folders."
@@ -68,27 +70,27 @@ echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
. ~/bspwm-install-ma-dte/install-alacritty-debian.sh
cd ~
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " ALL DONE - Press [Enter] to Rebooting System."
echo " INFO."
echo " SUPER + ENTER = Terminal"
echo " SUPER + R = Run menu"
echo " SUPER + E = File Manager"
echo " "
echo " ZSH Setup Guide... is launching now..."
echo " SUPER + W = Close Program"
echo " SUPER + R = Run menu"
echo " "
echo " If you are in a virtual machine and can not use SUPER KEY"
echo " press CTRL + C to stop and edit the file."
echo " press CTRL + C to stop and run file."
echo " "
echo " nano .config/sxhkd/sxhkdrc"
echo " . copy-vm-keys.sh"
echo " "
echo " It will make your ALT KEY on the keyboard become the SUPER KEY "
echo " As long as you are running in a virtual machine then use it."
echo " "
echo " And then you are ready to reboot, sudo reboot"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
zsh
read -p "Press [Enter] key to Reboot System."
echo "You are ready to reboot..."
#sudo reboot
sudo reboot

View File

@@ -309,7 +309,7 @@ format-charging-underline = #032945
format-discharging = <animation-discharging> <label-discharging>
format-discharging-underline = ${self.format-charging-underline}
format-full-prefix = " "
format-full-prefix = " "
format-full-prefix-foreground = ${colors.foreground-alt}
format-full-underline = ${self.format-charging-underline}
@@ -340,7 +340,7 @@ format-underline = #f50a4d
format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline}
label = %temperature-c%
label = %temperature-c%
label-warn = %temperature-c%
label-warn-foreground = ${colors.secondary}
@@ -368,14 +368,14 @@ menu-0-0-exec = menu-open-1
menu-0-1 = 
menu-0-1-exec = menu-open-2
menu-1-0 = fl No back
menu-1-0 =
menu-1-0-exec = menu-open-0
menu-1-1 = 
menu-1-1-exec = systemctl reboot
menu-2-0 = 
menu-2-0-exec = systemctl poweroff
menu-2-1 = fl No back
menu-2-1 =
menu-2-1-exec = menu-open-0
[settings]

140
config/sxhkd/sxhkdrc-vm Normal file
View File

@@ -0,0 +1,140 @@
#
# Hotkey - Config
#
# terminal emulator
alt + Return
alacritty
alt + shift + Return
kitty
# program launcher
alt + r
rofi -show run
# make sxhkd reload its configuration files:
alt + alt + ctrl + Escape
pkill -USR1 -x sxhkd
alt + b
google-chrome
alt + shift + b
firefox
alt + e
thunar
super + alt + ctrl + a
kitty -e pulsemixer
super + alt + ctrl + m
. ~/.config/rofi/rofi-beats
#
# BSPwm Hotkeys
#
# quit/restart bspwm
super + alt + ctrl + {q,r}
bspc {quit,wm -r}
# close and kill
alt + {_,shift + }w
bspc node -{c,k}
# alternate between the tiled and monocle layout
#super + m
# bspc desktop -l next
# send the newest marked node to the newest preselected node
#super + y
# bspc node newest.marked.local -n newest.!automatic.local
# swap the current node and the biggest window
#super + g
# bspc node -s biggest.window
#
# state/flags
#
# set the window state
alt + {t,shift + t,s,f}
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
# set the node flags
super + ctrl + {m,x,y,z}
bspc node -g {marked,locked,sticky,private}
#
# focus/swap
#
# focus the node in the given direction
alt + {_,shift + }{h,j,k,l}
bspc node -{f,s} {west,south,north,east}
# focus the node for the given path jump
#super + {p,b,comma,period}
# bspc node -f @{parent,brother,first,second}
# focus the next/previous window in the current desktop
alt + {_,shift + }c
bspc node -f {next,prev}.local.!hidden.window
# focus the next/previous desktop in the current monitor
alt + bracket{left,right}
bspc desktop -f {prev,next}.local
# focus the last node/desktop
#super + {grave,Tab}
# bspc {node,desktop} -f last
# focus the older or newer node in the focus history
#super + {o,i}
# bspc wm -h off; \
# bspc node {older,newer} -f; \
# bspc wm -h on
# focus or send to the given desktop
alt + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} '^{1-9,10}'
#
# preselect
#
# preselect the direction
alt + ctrl + {h,j,k,l}
bspc node -p {west,south,north,east}
# preselect the ratio
alt + ctrl + {1-9}
bspc node -o 0.{1-9}
# cancel the preselection for the focused node
alt + ctrl + space
bspc node -p cancel
# cancel the preselection for the focused desktop
alt + ctrl + shift + space
bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
#
# move/resize
#
# expand a window by moving one of its side outward
super + alt + {h,j,k,l}
bspc node -z {left -50 0,bottom 0 50,top 0 -50,right 50 0}
# contract a window by moving one of its side inward
super + alt + shift + {h,j,k,l}
bspc node -z {right -50 0,top 0 50,bottom 0 -50,left 50 0}
# move a floating window
super + {Left,Down,Up,Right}
bspc node -v {-20 0,0 20,0 -20,20 0}

23
copy-vm-keys.sh Normal file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
cd ~/bspwm-install-ma-dte/
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " copy + chmod +x The sxhkdrc VM file"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
mv ~/.config/sxhkd/sxhkdrc sxhkdrc-org
cp ~/bspwm-install-ma-dte/config/sxhkd/sxhkdrc-vm ~/.config/sxhkd/sxhkdrc
chmod +x ~/.config/sxhkd/sxhkdrc
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " ALL DONE sxhkdrc VM Keys"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
read -p "Press [Enter] key to Reboot System."
echo "You are ready to reboot..."
sudo reboot