Better screenshot, yuzzit magic space
This commit is contained in:
parent
00b8e74033
commit
9dbfb2168d
@ -40,6 +40,7 @@ $social = firefox "http://jdb.localhost/" "https://web.telegram.org" "https://we
|
||||
|
||||
exec-once = $hyprscript stat
|
||||
exec-once = hyprpaper
|
||||
exec-once = XDG_CURRENT_DESKTOP=sway XDG_SESSION_DESKTOP=sway QT_QPA_PLATFORM=wayland flameshot
|
||||
exec-once = hypridle
|
||||
exec-once = nm-applet
|
||||
exec-once = blueberry-tray
|
||||
@ -286,10 +287,12 @@ bind = $mainMod SHIFT, code:19, exec, $hyprscript movetoworkspace 10
|
||||
|
||||
# Screenshot
|
||||
bind = , Print, exec, XDG_CURRENT_DESKTOP=sway XDG_SESSION_DESKTOP=sway QT_QPA_PLATFORM=wayland flameshot gui
|
||||
# bind =, Print, exec, grim -g "$(slurp)" - | wl-copy
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
bind = $mainMod, Q, togglespecialworkspace, a_social
|
||||
bind = $mainMod, S, togglespecialworkspace, b_mail
|
||||
bind = $mainMod, D, togglespecialworkspace, c_yuzzit
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
|
||||
@ -209,7 +209,12 @@ def monitor_stats():
|
||||
cpu_percent = psutil.cpu_percent(interval=2)
|
||||
mem_percent = psutil.virtual_memory().percent
|
||||
battery = psutil.sensors_battery()
|
||||
temps = psutil.sensors_temperatures(fahrenheit=False).get('k10temp')
|
||||
all_temps = psutil.sensors_temperatures(fahrenheit=False)
|
||||
|
||||
temps = all_temps.get('k10temp', None)
|
||||
if temps is None:
|
||||
temps = all_temps.get('coretemp')
|
||||
|
||||
temp = max([x.current for x in temps if x.label != 'Tctl'])
|
||||
|
||||
temp_percent = 100 * min(max([temp - min_temp, 0]) / (max_temp - min_temp), 1)
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
"format-icons": {
|
||||
"a_social": " ",
|
||||
"b_mail": " ",
|
||||
"c_terminal": " ",
|
||||
"c_yuzzit": "Y",
|
||||
"11": "1",
|
||||
"12": "2",
|
||||
"13": "3",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user