This commit is contained in:
grayTerminal-sh 2026-05-30 09:35:14 +02:00
parent 4bdcc16092
commit 79f56f47f2
17 changed files with 105 additions and 19 deletions

View file

@ -0,0 +1,9 @@
[main]
gtk-theme=Adwaita-dark
style=/home/fy59/.config/gtklock/style.css
background=/tmp/gtklock-blur.png
time-format=%H:%M
date-format=%A %d %B
idle-hide=true
idle-timeout=10
modules=userinfo-module;playerctl-module;powerbar-module

View file

@ -0,0 +1,53 @@
window {
background-color: #1e1e2e;
background-image: url("/tmp/gtklock-blur.png");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
#window-box {
background-color: rgba(30, 30, 46, 0.78);
border: 1px solid #b4befe;
border-radius: 12px;
padding: 12px;
box-shadow: 0 0 32px rgba(0, 0, 0, 0.55);
}
#clock-label {
color: #cdd6f4;
font-size: 72px;
font-weight: 700;
}
#date-label {
color: #bac2de;
font-size: 22px;
margin-bottom: 18px;
}
#input-field {
color: #cdd6f4;
background-color: rgba(17, 17, 27, 0.92);
border: 1px solid #b4befe;
border-radius: 6px;
padding: 12px;
font-size: 22px;
}
label {
color: #cdd6f4;
}
button {
color: #b4befe;
background-color: #b4befe;
border-radius: 6px;
border: 1px solid #45475a;
padding: 8px 12px;
}
button:hover {
background-color: rgba(69, 71, 90, 0.95);
border-color: #89b4fa;
}

View file

@ -1 +1 @@
1779784526:success:suspend_resume
1780126303:success:suspend_resume

View file

@ -1 +1 @@
4230
4823

View file

@ -5,10 +5,10 @@ text-color=#cdd6f4
border-color=#b4befe
progress-color=over #313244
border-radius=2
border-radius=5
# Comportement
default-timeout=5000
default-timeout=10000
ignore-timeout=1
max-visible=3
layer=overlay

View file

@ -16,13 +16,12 @@
# =================================================
# Wallpapers
exec-once=swaybg -i ~/.wallpapers/662412-vanilla-arch-wallpaper-linuxart.png
exec-once=swaybg -i ~/.wallpapers/arch_rainbow.jpg
# Lancement au démarrage
exec-once=kitty --class kitty-1 --directory $HOME sh -c "tmux"
# exec-once=perplexity
# exec-once=kitty --class kitty-2 --directory $HOME
exec-once=kitty --class kitty-1
exec-once=kitty --class kitty-2
exec-once=kitty --class kitty-3
exec-once=kitty --class kitty-mon --directory $HOME
exec-once=chromium
exec-once=gtk-launch chrome-hnpfjngllnobngcgfapefoaidbinmjnm-Default
@ -31,10 +30,11 @@ exec-once=thunderbird
exec-once=spotify-launcher
exec-once=waybar
exec-once=proton-pass
exec-once=AppFlowy
# Presse-papier
exec-once=wl-paste --type text --watch cliphist store
exec-once=wl-paste --type image --watch cliphist store
# Idle
exec-once=swayidle -w timeout 300 'swaylock -f -c 000000' timeout 360 'systemctl suspend' before-sleep 'swaylock -f -c 000000'
exec-once=swayidle -w timeout 300 '~/.config/mango/scripts/lock.sh' timeout 310 'wlopm --off "*"' resume 'wlopm --on "*"' before-sleep '~/.config/mango/scripts/lock.sh'

View file

@ -14,6 +14,8 @@ binds=SUPER+CTRL,l,spawn,swaylock
binds=SUPER+CTRL,e,spawn,wofi --cache-file=/dev/null -Dimage_size=26 -Dynamic_lines=true --location top --yoffset=10 --width=600 --height=300 --gtk-dark --show drun
binds=SUPER,v,spawn,~/.config/mango/scripts/copypast
binds=NONE,Print,spawn,~/.config/mango/scripts/screenshot-clip.sh
binds=SUPER+CTRL,f,spawn,AppFlowy
binds=SUPER+CTRL+SUPER,g,spawn,gimp
# Browsers & net
binds=SUPER,b,spawn,chromium

View file

@ -19,6 +19,7 @@ binds=SUPER,n,switch_layout
# reload config
binds=SUPER,r,reload_config
binds=SUPER+CTRL,w,~/.config/waybar/scripts/restartWaybar.sh
# exit
binds=SUPER+CTRL,q,quit

View file

@ -6,7 +6,7 @@
# layout support:
# tile,scroller,grid,deck,monocle,center_tile,vertical_tile,vertical_scroller
tagrule=id:1,layout_name:scroller
tagrule=id:1,layout_name:tile
tagrule=id:2,layout_name:scroller
tagrule=id:3,layout_name:scroller
tagrule=id:4,layout_name:scroller

View file

@ -5,14 +5,17 @@
##############################
# Tag 1 : shell / terminaux / Perplexity
windowrule=tags:1,2,scroller_proportion:0.5,appid:kitty-1
# windowrule=tags:1,scroller_proportion:0.5,appid:perplexity
# windowrule=tags:1,scroller_proportion:0.5,appid:kitty-2
windowrule=tags:1,appid:kitty-1
windowrule=tags:1,appid:kitty-2
windowrule=tags:1,appid:kitty-3
# Tag 2 : web
windowrule=tags:2,scroller_proportion:0.5,appid:chromium
windowrule=tags:2,scroller_proportion:1,appid:chromium
windowrule=tags:2,appid:firefox
# Tag 5 : web
windowrule=tags:5,scroller_proportion:1,appid:AppFlowy
# Tag 6 : web
windowrule=tags:6,scroller_proportion:1,appid:kitty-mon

View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
img="/tmp/gtklock-shot.png"
blur="/tmp/gtklock-blur.png"
grim "$img"
magick "$img" -blur 0x14 -brightness-contrast -8x-5 "$blur"
pidof gtklock || gtklock -d

View file

@ -19,15 +19,15 @@
"nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" },
"nvim-colorizer.lua": { "branch": "master", "commit": "5cfe7fffbd01e17b3c1e14af85d5febdef88bd8c" },
"nvim-lsp-file-operations": { "branch": "master", "commit": "b9c795d3973e8eec22706af14959bc60c579e771" },
"nvim-lspconfig": { "branch": "master", "commit": "a4ed4e761c400849e8c9f8bda33e5083f890268c" },
"nvim-lspconfig": { "branch": "master", "commit": "6f76a3eeadc2ee235d74cd7d5319e95a261084af" },
"nvim-tcss": { "branch": "main", "commit": "bf9001416158f32fe7e92c42de94de3595aa13e5" },
"nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" },
"nvim-ts-autotag": { "branch": "main", "commit": "88c1453db4ba7dd24131086fe51fdf74e587d275" },
"nvim-web-devicons": { "branch": "master", "commit": "0d7d35fa946837b8738b17c18d1faa1ac351e7f9" },
"nvim-web-devicons": { "branch": "master", "commit": "dfbfaa967a6f7ec50789bead7ef87e336c1fa63c" },
"nvim-window-picker": { "branch": "main", "commit": "6382540b2ae5de6c793d4aa2e3fe6dbb518505ec" },
"outline.nvim": { "branch": "main", "commit": "c293eb56db880a0539bf9d85b4a27816960b863e" },
"plenary.nvim": { "branch": "master", "commit": "74b06c6c75e4eeb3108ec01852001636d85a932b" },
"render-markdown.nvim": { "branch": "main", "commit": "629eb9533ec989d9d5c6cab8f3ad5372422c24e0" },
"render-markdown.nvim": { "branch": "main", "commit": "5adf0895310c1904e5abfaad40a2baad7fe44a07" },
"rustaceanvim": { "branch": "main", "commit": "e9c5aaba16fead831379d5f44617547a90b913c7" },
"telescope-file-browser.nvim": { "branch": "master", "commit": "3610dc7dc91f06aa98b11dca5cc30dfa98626b7e" },
"telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },

Binary file not shown.

After

Width:  |  Height:  |  Size: 821 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 MiB

After

Width:  |  Height:  |  Size: 650 KiB

View file

@ -14,7 +14,8 @@
"custom/tlp",
"group/hardware",
"clock",
"custom/power"
"custom/power",
"tray"
],
"group/hardware": {
"orientation": "horizontal",
@ -29,6 +30,10 @@
"disk"
]
},
"tray": {
"icon-size": 18,
"spacing": 8
},
"custom/tlp": {
"format": "{}",
"exec": "~/.config/waybar/scripts/tlp-profile.sh",

View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
pkill waybar && waybar &

View file

@ -28,6 +28,7 @@ window#waybar {
#backlight,
#custom-updates,
#custom-power,
#tray,
#custom-tlp {
background: alpha(@base, 0.32);
color: @text;