Updates
This commit is contained in:
parent
6fe65fe53f
commit
3052b7dad4
|
@ -10,10 +10,13 @@ Prompt: starship
|
|||
Bar: polybar
|
||||
Icons: Font Awesome
|
||||
Menus: Rofi
|
||||
Colorscheme: pywal
|
||||
Colorscheme: pywal (dynamic)
|
||||
Browser: brave
|
||||
Filemanager: ranger, Thunar
|
||||
Screenshots: scrot
|
||||
Cursor: Bibata Modern Classic
|
||||
Icons: Tela Circle Orange Dark
|
||||
Theme: Adapta-Nokto
|
||||
Virtual Machine: qemu (Windows 11 with looking glass and xrdp)
|
||||
|
||||
Please also see the script folder how I setup my system.
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
# The transparency of the window. Range: [0; 100].
|
||||
# This option will only work if a compositing window manager is
|
||||
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
|
||||
transparency = 50
|
||||
transparency = 30
|
||||
|
||||
# Draw a line of "separator_height" pixel height between two
|
||||
# notifications.
|
||||
|
@ -127,7 +127,7 @@
|
|||
|
||||
# The spacing between lines. If the height is smaller than the
|
||||
# font height, it will get raised to the font height.
|
||||
line_height = 0
|
||||
line_height = 3
|
||||
|
||||
# Possible values are:
|
||||
# full: Allow a small subset of html markup in notifications:
|
||||
|
@ -315,14 +315,14 @@
|
|||
# Otherwise the "#" and following would be interpreted as a comment.
|
||||
background = "#000000"
|
||||
foreground = "#888888"
|
||||
timeout = 10
|
||||
timeout = 6
|
||||
# Icon for notifications with low urgency, uncomment to enable
|
||||
#default_icon = /path/to/icon
|
||||
|
||||
[urgency_normal]
|
||||
background = "#000000"
|
||||
foreground = "#ffffff"
|
||||
timeout = 10
|
||||
timeout = 6
|
||||
# Icon for notifications with normal urgency, uncomment to enable
|
||||
#default_icon = /path/to/icon
|
||||
|
||||
|
@ -330,7 +330,7 @@
|
|||
background = "#900000"
|
||||
foreground = "#ffffff"
|
||||
frame_color = "#ffffff"
|
||||
timeout = 10
|
||||
timeout = 6
|
||||
# Icon for notifications with critical urgency, uncomment to enable
|
||||
#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" ])
|
||||
then
|
||||
virsh --connect qemu:///system start win11
|
||||
notify-send "Virtual Machine started" "Domain win11"
|
||||
echo "Waiting 25 sec for Windows 11 startup..."
|
||||
countdown "00:00:25"
|
||||
else
|
||||
notify-send "Virtual Machine already running" "Domain win11"
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
exit
|
||||
|
|
|
@ -22,10 +22,15 @@ choice=$(echo -e "$options" | rofi -i -dmenu -lines 4 -width 30 -p "Take Screens
|
|||
|
||||
case $choice in
|
||||
$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)
|
||||
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)
|
||||
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
|
||||
|
|
|
@ -23,9 +23,10 @@ qtile cmd-obj -o cmd -f reload_config
|
|||
# Get new theme
|
||||
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
|
||||
notify-send "Theme updated" "with image $newwall"
|
||||
notify-send "Theme and Wallpaper updated" "With image $newwall"
|
||||
|
||||
echo "Done."
|
||||
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
selected=$(ls -1 ~/wallpaper | grep "jpg" | rofi -dmenu -p "Select the wallpaper")
|
||||
|
||||
if [ "$selected" ]; then
|
||||
|
||||
echo "Changing theme..."
|
||||
# Update wallpaper with pywal
|
||||
wal -q -i ~/wallpaper/$selected
|
||||
|
||||
|
@ -21,4 +23,14 @@ if [ "$selected" ]; then
|
|||
|
||||
# Reload qtile to color bar
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user