Suppression du changement de workspace en cas de flag urgent sur une fenêtre d’un autre workspace

This commit is contained in:
Breizh 2025-02-01 23:48:48 +01:00
parent e085f3514f
commit 0780fe83dd
7 changed files with 14 additions and 14 deletions

View file

@ -32,7 +32,7 @@ conky.config = {
font2 = 'xos4 Terminus:pixelsize=14', font2 = 'xos4 Terminus:pixelsize=14',
template0 = [[${if_match ${cpu cpu\1}>75}${color F2777A}$else${if_match ${cpu cpu\1}>50}${color FFCC66}$else${color}$endif$endif${cpubar cpu\1 6,61}${goto 71}${if_match ${cpu cpu\2}>75}${color F2777A}$else${if_match ${cpu cpu\2}>50}${color FFCC66}$else${color}$endif$endif${cpubar cpu\2 6,61}${goto 137}${if_match ${cpu cpu\3}>75}${color F2777A}$else${if_match ${cpu cpu\3}>50}${color FFCC66}$else${color}$endif$endif${cpubar cpu\3 6,61}${goto 203}${if_match ${cpu cpu\4}>75}${color F2777A}$else${if_match ${cpu cpu\4}>50}${color FFCC66}$else${color}$endif$endif${cpubar cpu\4 6,61}$color]], template0 = [[${if_match ${cpu cpu\1}>75}${color F2777A}$else${if_match ${cpu cpu\1}>50}${color FFCC66}$else${color}$endif$endif${cpubar cpu\1 6,61}${goto 71}${if_match ${cpu cpu\2}>75}${color F2777A}$else${if_match ${cpu cpu\2}>50}${color FFCC66}$else${color}$endif$endif${cpubar cpu\2 6,61}${goto 137}${if_match ${cpu cpu\3}>75}${color F2777A}$else${if_match ${cpu cpu\3}>50}${color FFCC66}$else${color}$endif$endif${cpubar cpu\3 6,61}${goto 203}${if_match ${cpu cpu\4}>75}${color F2777A}$else${if_match ${cpu cpu\4}>50}${color FFCC66}$else${color}$endif$endif${cpubar cpu\4 6,61}$color]],
template4 = [[${voffset -2}${goto 12}${if_match ${freq \1}>=4000}${color F2777A}$else${if_match ${freq \1}>=3000}${color FFCC66}$else${if_match ${freq \1}>=2000}${color 99CC99}$else${color}$endif$endif$endif${freq_g \1} GHz${goto 78}${if_match ${freq \2}>=4000}${color F2777A}$else${if_match ${freq \2}>=3000}${color FFCC66}$else${if_match ${freq \2}>=2000}${color 99CC99}$else${color}$endif$endif$endif${freq_g \2} GHz${goto 144}${if_match ${freq \3}>=4000}${color F2777A}$else${if_match ${freq \3}>=3000}${color FFCC66}$else${if_match ${freq \3}>=2000}${color 99CC99}$else${color}$endif$endif$endif${freq_g \3} GHz${goto 210}${if_match ${freq \4}>=4000}${color F2777A}$else${if_match ${freq \4}>=3000}${color FFCC66}$else${if_match ${freq \4}>=2000}${color 99CC99}$else${color}$endif$endif$endif${freq_g \4} GHz${voffset 5}$color]], template4 = [[${voffset -2}${goto 13}${if_match ${freq \1}>=4000}${color F2777A}$else${if_match ${freq \1}>=3600}${color FFCC66}$else${if_match ${freq \1}>=3000}${color 99CC99}$else${color}$endif$endif$endif${freq_g \1} GHz${goto 79}${if_match ${freq \2}>=4000}${color F2777A}$else${if_match ${freq \2}>=3600}${color FFCC66}$else${if_match ${freq \2}>=3000}${color 99CC99}$else${color}$endif$endif$endif${freq_g \2} GHz${goto 145}${if_match ${freq \3}>=4000}${color F2777A}$else${if_match ${freq \3}>=3600}${color FFCC66}$else${if_match ${freq \3}>=3000}${color 99CC99}$else${color}$endif$endif$endif${freq_g \3} GHz${goto 211}${if_match ${freq \4}>=4000}${color F2777A}$else${if_match ${freq \4}>=3600}${color FFCC66}$else${if_match ${freq \4}>=3000}${color 99CC99}$else${color}$endif$endif$endif${freq_g \4} GHz${voffset 5}$color]],
template1 = [[${top pid \1} ${top name \1}$alignr${top cpu \1}%]], template1 = [[${top pid \1} ${top name \1}$alignr${top cpu \1}%]],
template2 = [[${top_io pid \1} ${top_io name \1}$alignr${top_io io_perc \1}%]], template2 = [[${top_io pid \1} ${top_io name \1}$alignr${top_io io_perc \1}%]],
template3 = [[${scroll wait 20 1 2 \2} ${goto 140}${if_match ${fs_used_perc \1}>90}${color F2777A}$else${if_match ${fs_used_perc \1}>75}${color FFCC66}$else${color 99CC99}$endif$endif${fs_bar \1}${color}\nUtilisé : ${fs_used \1}${goto 140}Libre: ${fs_free \1}\nTaux ut.: ${fs_used_perc \1}%${goto 140}Total: ${fs_size \1}]] template3 = [[${scroll wait 20 1 2 \2} ${goto 140}${if_match ${fs_used_perc \1}>90}${color F2777A}$else${if_match ${fs_used_perc \1}>75}${color FFCC66}$else${color 99CC99}$endif$endif${fs_bar \1}${color}\nUtilisé : ${fs_used \1}${goto 140}Libre: ${fs_free \1}\nTaux ut.: ${fs_used_perc \1}%${goto 140}Total: ${fs_size \1}]]
@ -43,7 +43,7 @@ ${color 6699CC}$alignc${font xos4 Terminus:pixelsize=18}Arch Linux$font$color
${color2}${font2}Processeur $hr${font}${color} ${color2}${font2}Processeur $hr${font}${color}
${cpugraph} ${cpugraph}
Utilisation: $cpu%${goto 140}${if_match $cpu>90}${color F2777A}$else${if_match $cpu>70}${color FFCC66}$else${color 99CC99}$endif$endif${cpubar}$color Utilisation: $cpu%${goto 137}${if_match $cpu>90}${color F2777A}$else${if_match $cpu>70}${color FFCC66}$else${color 99CC99}$endif$endif${cpubar}$color
#${template0 1}${template0 2}${template0 3}${template0 4} #${template0 1}${template0 2}${template0 3}${template0 4}
#${freq 1} MHz${goto 70}${freq 2} Mhz${goto 135}${freq 3} MHz${goto 200}${freq 4} MHz #${freq 1} MHz${goto 70}${freq 2} Mhz${goto 135}${freq 3} MHz${goto 200}${freq 4} MHz
#${template0 5}${template0 6}${template0 7}${template0 8} #${template0 5}${template0 6}${template0 7}${template0 8}

View file

@ -38,7 +38,7 @@ column_meters_0=LeftCPUs2 Blank CPU Memory Swap Blank Hostname System DateTime B
column_meter_modes_0=1 2 1 1 1 2 2 2 2 2 2 2 2 2 2 column_meter_modes_0=1 2 1 1 1 2 2 2 2 2 2 2 2 2 2
column_meters_1=RightCPUs2 Blank CPU Memory Swap Blank Uptime LoadAverage Tasks Blank DiskIO NetworkIO Blank PressureStallMemoryFull PressureStallIOFull column_meters_1=RightCPUs2 Blank CPU Memory Swap Blank Uptime LoadAverage Tasks Blank DiskIO NetworkIO Blank PressureStallMemoryFull PressureStallIOFull
column_meter_modes_1=1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 column_meter_modes_1=1 2 2 2 2 2 2 2 2 2 2 2 2 2 2
tree_view=0 tree_view=1
sort_key=47 sort_key=47
tree_sort_key=0 tree_sort_key=0
sort_direction=-1 sort_direction=-1
@ -49,7 +49,7 @@ screen:Main=PID USER PRIORITY NICE OOM M_VIRT M_RESIDENT M_SHARE M_SWAP IO_RATE
.sort_key=PERCENT_MEM .sort_key=PERCENT_MEM
.tree_sort_key=PID .tree_sort_key=PID
.tree_view_always_by_pid=0 .tree_view_always_by_pid=0
.tree_view=0 .tree_view=1
.sort_direction=-1 .sort_direction=-1
.tree_sort_direction=1 .tree_sort_direction=1
.all_branches_collapsed=0 .all_branches_collapsed=0

View file

@ -295,16 +295,14 @@ for_window [title="File Transfer*"] floating enable
for_window [class="Pavucontrol"] floating enable for_window [class="Pavucontrol"] floating enable
for_window [class="qt5ct"] floating enable sticky enable border normal for_window [class="qt5ct"] floating enable sticky enable border normal
for_window [class="Qtconfig-qt4"] floating enable sticky enable border normal for_window [class="Qtconfig-qt4"] floating enable sticky enable border normal
for_window [class="(?i)TransportFever2"] border none fullscreen disable
for_window [class="(?i)System-config-printer.py"] floating enable border normal for_window [class="(?i)System-config-printer.py"] floating enable border normal
for_window [class="(?i)variety"] floating enable for_window [class="(?i)variety"] floating enable
# switch to workspace with urgent window automatically
for_window [urgent=latest] focus
for_window [instance="newsboat"] move scratchpad for_window [instance="newsboat"] move scratchpad
# Games # Games
for_window [class="(?i)factorio"] border none for_window [class="(?i)factorio"] border none
for_window [class="(?i)Rail Route.x86"] border none for_window [class="(?i)Rail Route.x86"] border none
for_window [class="(?i)TransportFever2"] border none fullscreen disable
# Icons # Icons
for_window [all] title_window_icon on for_window [all] title_window_icon on

View file

@ -68,8 +68,8 @@
#PGDWN add chapter -1 # seek to the previous chapter #PGDWN add chapter -1 # seek to the previous chapter
#Shift+PGUP seek 600 # seek 10 minutes forward #Shift+PGUP seek 600 # seek 10 minutes forward
#Shift+PGDWN seek -600 # seek 10 minutes backward #Shift+PGDWN seek -600 # seek 10 minutes backward
#[ multiply speed 1/1.1 # decrease the playback speed [ add speed -0.1 # decrease the playback speed
#] multiply speed 1.1 # increase the playback speed ] add speed 0.1 # increase the playback speed
#{ multiply speed 0.5 # halve the playback speed #{ multiply speed 0.5 # halve the playback speed
#} multiply speed 2.0 # double the playback speed #} multiply speed 2.0 # double the playback speed
#BS set speed 1.0 # reset the speed to normal #BS set speed 1.0 # reset the speed to normal

View file

@ -30,10 +30,10 @@ ytdl-raw-options=write-auto-subs=,netrc=
# Cache # Cache
cache=yes cache=yes
cache-pause cache-pause
cache-pause-wait=5 cache-pause-wait=20
cache-pause-initial=yes cache-pause-initial=yes
demuxer-max-bytes=512MiB demuxer-max-bytes=2GiB
demuxer-readahead-secs=20 demuxer-readahead-secs=120
prefetch-playlist=yes prefetch-playlist=yes
# Autre # Autre

View file

@ -39,3 +39,5 @@ set page-padding 0
map D set "first-page-column 1:1" map D set "first-page-column 1:1"
map <C-d> set "first-page-column 1:2" map <C-d> set "first-page-column 1:2"
set database "sqlite"

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
rsync -rltDi -hh --chmod=D755,F644 ~/Musique/ files@breizh.pm:/Musique/ --delete -f '- Podcasts' -f '-p index.html' --info=progress2 --stats rsync --no-i-r -rltDi -hh --chmod=D755,F644 ~/Musique/ files@breizh.pm:/Musique/ --delete -f '-p index.html' --info=progress2 --stats
rsync -rltDi -hh --chmod=D755,F644 ~/Musique.opus/ files@breizh.pm:/Musique.opus/ --link-dest=/Musique/ --delete -f '- Podcasts' -f '-p index.html' --info=progress2 --stats rsync --no-i-r -rltDi -hh --chmod=D755,F644 ~/Musique.opus/ files@breizh.pm:/Musique.opus/ --link-dest=/Musique/ --delete -f '-p index.html' --info=progress2 --stats