Updates
This commit is contained in:
parent
6fe65fe53f
commit
3052b7dad4
|
@ -10,10 +10,13 @@ Prompt: starship
|
||||||
Bar: polybar
|
Bar: polybar
|
||||||
Icons: Font Awesome
|
Icons: Font Awesome
|
||||||
Menus: Rofi
|
Menus: Rofi
|
||||||
Colorscheme: pywal
|
Colorscheme: pywal (dynamic)
|
||||||
Browser: brave
|
Browser: brave
|
||||||
Filemanager: ranger, Thunar
|
Filemanager: ranger, Thunar
|
||||||
Screenshots: scrot
|
Screenshots: scrot
|
||||||
|
Cursor: Bibata Modern Classic
|
||||||
|
Icons: Tela Circle Orange Dark
|
||||||
|
Theme: Adapta-Nokto
|
||||||
Virtual Machine: qemu (Windows 11 with looking glass and xrdp)
|
Virtual Machine: qemu (Windows 11 with looking glass and xrdp)
|
||||||
|
|
||||||
Please also see the script folder how I setup my system.
|
Please also see the script folder how I setup my system.
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
# The transparency of the window. Range: [0; 100].
|
# The transparency of the window. Range: [0; 100].
|
||||||
# This option will only work if a compositing window manager is
|
# This option will only work if a compositing window manager is
|
||||||
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
|
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
|
||||||
transparency = 50
|
transparency = 30
|
||||||
|
|
||||||
# Draw a line of "separator_height" pixel height between two
|
# Draw a line of "separator_height" pixel height between two
|
||||||
# notifications.
|
# notifications.
|
||||||
|
@ -127,7 +127,7 @@
|
||||||
|
|
||||||
# The spacing between lines. If the height is smaller than the
|
# The spacing between lines. If the height is smaller than the
|
||||||
# font height, it will get raised to the font height.
|
# font height, it will get raised to the font height.
|
||||||
line_height = 0
|
line_height = 3
|
||||||
|
|
||||||
# Possible values are:
|
# Possible values are:
|
||||||
# full: Allow a small subset of html markup in notifications:
|
# full: Allow a small subset of html markup in notifications:
|
||||||
|
@ -315,14 +315,14 @@
|
||||||
# Otherwise the "#" and following would be interpreted as a comment.
|
# Otherwise the "#" and following would be interpreted as a comment.
|
||||||
background = "#000000"
|
background = "#000000"
|
||||||
foreground = "#888888"
|
foreground = "#888888"
|
||||||
timeout = 10
|
timeout = 6
|
||||||
# Icon for notifications with low urgency, uncomment to enable
|
# Icon for notifications with low urgency, uncomment to enable
|
||||||
#default_icon = /path/to/icon
|
#default_icon = /path/to/icon
|
||||||
|
|
||||||
[urgency_normal]
|
[urgency_normal]
|
||||||
background = "#000000"
|
background = "#000000"
|
||||||
foreground = "#ffffff"
|
foreground = "#ffffff"
|
||||||
timeout = 10
|
timeout = 6
|
||||||
# Icon for notifications with normal urgency, uncomment to enable
|
# Icon for notifications with normal urgency, uncomment to enable
|
||||||
#default_icon = /path/to/icon
|
#default_icon = /path/to/icon
|
||||||
|
|
||||||
|
@ -330,7 +330,7 @@
|
||||||
background = "#900000"
|
background = "#900000"
|
||||||
foreground = "#ffffff"
|
foreground = "#ffffff"
|
||||||
frame_color = "#ffffff"
|
frame_color = "#ffffff"
|
||||||
timeout = 10
|
timeout = 6
|
||||||
# Icon for notifications with critical urgency, uncomment to enable
|
# Icon for notifications with critical urgency, uncomment to enable
|
||||||
#default_icon = /path/to/icon
|
#default_icon = /path/to/icon
|
||||||
|
|
||||||
|
|
|
@ -37,12 +37,15 @@ tmp=$(virsh --connect qemu:///system list | grep " win11 " | awk '{ print $3}')
|
||||||
if ([ "x$tmp" == "x" ] || [ "x$tmp" != "xrunning" ])
|
if ([ "x$tmp" == "x" ] || [ "x$tmp" != "xrunning" ])
|
||||||
then
|
then
|
||||||
virsh --connect qemu:///system start win11
|
virsh --connect qemu:///system start win11
|
||||||
|
notify-send "Virtual Machine started" "Domain win11"
|
||||||
echo "Waiting 25 sec for Windows 11 startup..."
|
echo "Waiting 25 sec for Windows 11 startup..."
|
||||||
countdown "00:00:25"
|
countdown "00:00:25"
|
||||||
|
else
|
||||||
|
notify-send "Virtual Machine already running" "Domain win11"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Starting xfreerdp now..."
|
echo "Starting xfreerdp now..."
|
||||||
xfreerdp -grab-keyboard /t:"Windows 11" /v:192.168.122.42 /size:100% /d: /p:sancho /dynamic-resolution /gfx-h264:avc444 +gfx-progressive &
|
xfreerdp -grab-keyboard /t:"Windows 11" /v:192.168.122.42 /size:100% /u:raabe /d: /dynamic-resolution /gfx-h264:avc444 +gfx-progressive &
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
exit
|
exit
|
||||||
|
|
|
@ -22,10 +22,15 @@ choice=$(echo -e "$options" | rofi -i -dmenu -lines 4 -width 30 -p "Take Screens
|
||||||
|
|
||||||
case $choice in
|
case $choice in
|
||||||
$option1)
|
$option1)
|
||||||
scrot $DIR$NAME -d 3 -e 'xclip -selection clipboard -t image/png -i $f' -c -z -u;;
|
scrot $DIR$NAME -d 3 -e 'xclip -selection clipboard -t image/png -i $f' -c -z -u
|
||||||
|
notify-send "Screenshot created" "Mode: Selected window"
|
||||||
|
;;
|
||||||
$option2)
|
$option2)
|
||||||
scrot $DIR$NAME -s -e 'xclip -selection clipboard -t image/png -i $f';;
|
scrot $DIR$NAME -s -e 'xclip -selection clipboard -t image/png -i $f'
|
||||||
|
notify-send "Screenshot created" "Mode: Selected area"
|
||||||
|
;;
|
||||||
$option3)
|
$option3)
|
||||||
scrot $DIR$NAME -d 3 -e 'xclip -selection clipboard -t image/png -i $f';;
|
scrot $DIR$NAME -d 3 -e 'xclip -selection clipboard -t image/png -i $f'
|
||||||
|
notify-send "Screenshot created" "Mode: Fullscreen"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -23,9 +23,10 @@ qtile cmd-obj -o cmd -f reload_config
|
||||||
# Get new theme
|
# Get new theme
|
||||||
source "$HOME/.cache/wal/colors.sh"
|
source "$HOME/.cache/wal/colors.sh"
|
||||||
|
|
||||||
newwall=$(echo $wallpaper | sed 's|/home/raabe/wallpaper/||g')
|
newwall=$(echo $wallpaper | sed "s|$HOME/wallpaper/||g")
|
||||||
|
|
||||||
# Send notification
|
# Send notification
|
||||||
notify-send "Theme updated" "with image $newwall"
|
notify-send "Theme and Wallpaper updated" "With image $newwall"
|
||||||
|
|
||||||
echo "Done."
|
echo "Done."
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
selected=$(ls -1 ~/wallpaper | grep "jpg" | rofi -dmenu -p "Select the wallpaper")
|
selected=$(ls -1 ~/wallpaper | grep "jpg" | rofi -dmenu -p "Select the wallpaper")
|
||||||
|
|
||||||
if [ "$selected" ]; then
|
if [ "$selected" ]; then
|
||||||
|
|
||||||
|
echo "Changing theme..."
|
||||||
# Update wallpaper with pywal
|
# Update wallpaper with pywal
|
||||||
wal -q -i ~/wallpaper/$selected
|
wal -q -i ~/wallpaper/$selected
|
||||||
|
|
||||||
|
@ -21,4 +23,14 @@ if [ "$selected" ]; then
|
||||||
|
|
||||||
# Reload qtile to color bar
|
# Reload qtile to color bar
|
||||||
qtile cmd-obj -o cmd -f reload_config
|
qtile cmd-obj -o cmd -f reload_config
|
||||||
|
|
||||||
|
# Get new theme
|
||||||
|
source "$HOME/.cache/wal/colors.sh"
|
||||||
|
|
||||||
|
newwall=$(echo $wallpaper | sed "s|$HOME/wallpaper/||g")
|
||||||
|
|
||||||
|
# Send notification
|
||||||
|
notify-send "Theme and Wallpaper updated" "With image $newwall"
|
||||||
|
|
||||||
|
echo "Done."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user