1st dotfiles commit
This commit is contained in:
parent
39c99549d0
commit
a57c4c068f
31 changed files with 8636 additions and 0 deletions
216
waybar/backup/config_ini.json
Normal file
216
waybar/backup/config_ini.json
Normal file
|
|
@ -0,0 +1,216 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 30,
|
||||
"icon-size": 40,
|
||||
"reload-style-on-change": true,
|
||||
"modules-left": [
|
||||
"custom/shutdown",
|
||||
"sway/workspaces",
|
||||
"mpris"
|
||||
],
|
||||
"modules-center": ["custom/weather"],
|
||||
"modules-right": [
|
||||
"group/audio",
|
||||
"group/hardware",
|
||||
"battery",
|
||||
"network",
|
||||
"clock",
|
||||
"idle_inhibitor",
|
||||
"sway/hibernate"
|
||||
],
|
||||
"sway/workspaces": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "<span></span>",
|
||||
"2": "<span></span>",
|
||||
"3": "<span></span>",
|
||||
"4": "<span></span>",
|
||||
"5": "<span></span>",
|
||||
"6": "<span></span>",
|
||||
"7": "<span></span>",
|
||||
"8": "<span></span>",
|
||||
},
|
||||
"on-click": "activate"
|
||||
},
|
||||
"custom/shutdown": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"on-click": "systemctl poweroff"
|
||||
},
|
||||
"custom/hibernate": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"on-click": "systemctl hibernate"
|
||||
},
|
||||
|
||||
"custom/weather": {
|
||||
"format": "{}",
|
||||
"interval": 900,
|
||||
"exec": "~/.config/waybar/scripts/weather_module.py",
|
||||
"tooltip": true,
|
||||
"on-click": "exec ~/.config/waybar/scripts/weather_module.py",
|
||||
"return-type": "json",
|
||||
},
|
||||
|
||||
"mpris": {
|
||||
"interval": 10,
|
||||
"format": "{player_icon} {dynamic}",
|
||||
"format-paused": "{status_icon} {artist} {title}",
|
||||
"on-click-middle": "playerctl play-pause",
|
||||
"on-click": "playerctl previous",
|
||||
"on-click-right": "playerctl next",
|
||||
"scroll-step": 5.0,
|
||||
"on-scroll-up": "$HOME/.config/hypr/scripts/volume.sh --inc",
|
||||
"on-scroll-down": "$HOME/.config/hypr/scripts/volume.sh --dec",
|
||||
"smooth-scrolling-threshold": 1,
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{status_icon} {dynamic}\nLeft Click: previous\nMid Click: Pause\nRight Click: Next",
|
||||
"player-icons": {
|
||||
"chromium": "",
|
||||
"default": "",
|
||||
"firefox": "",
|
||||
"kdeconnect": "",
|
||||
"mopidy": "",
|
||||
"mpv": "",
|
||||
"spotify": "",
|
||||
"vlc": "",
|
||||
},
|
||||
"status-icons": {
|
||||
"paused": "",
|
||||
"playing": "",
|
||||
"stopped": "",
|
||||
},
|
||||
"dynamic-order": ["artist", "title"],
|
||||
"max-length": 50,
|
||||
},
|
||||
|
||||
"group/audio": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"pulseaudio",
|
||||
"bluetooth"
|
||||
]
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-bluetooth": "{icon} {volume}% ",
|
||||
"format-muted": "",
|
||||
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
||||
},
|
||||
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-disabled": "",
|
||||
"format-connected": "",
|
||||
"tooltip-format": "Devices connected: {num_connections}",
|
||||
"on-click": "bluetooth toggle"
|
||||
},
|
||||
|
||||
|
||||
"group/hardware": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"memory"
|
||||
]
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 2,
|
||||
"format": "{icon} {percentage}%",
|
||||
"rformat-icons": [
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"battery": {
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-discharging": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% {icon}",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-icons": {
|
||||
"charging": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"format-full": " {capacity}%",
|
||||
"tooltip-format-discharging": "{timeTo}",
|
||||
"tooltip-format-charging": "{timeTo}",
|
||||
"interval": 5,
|
||||
"on-click": "exec tlp toggle",
|
||||
"on-click-right": "notify-send -u low \"$(omarchy-battery-status)\"",
|
||||
"states": {
|
||||
"warning": 20,
|
||||
"critical": 10
|
||||
}
|
||||
},
|
||||
|
||||
"network": {
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"format": "{icon}",
|
||||
"format-wifi": "{icon}",
|
||||
"format-ethernet": "",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format-wifi": "{essid} ({frequency} GHz)\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
||||
"tooltip-format-ethernet": "⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"interval": 3,
|
||||
"spacing": 1,
|
||||
"on-click": "exec foot nmtui"
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{:%H:%M}",
|
||||
"tooltip-format": "<span>{calendar}</span>",
|
||||
"calendar": {
|
||||
"mode": "month",
|
||||
"mode-mon-col": 3,
|
||||
"on-click-right": "mode",
|
||||
"format": {
|
||||
"month": "<span color='#ffead3'><b>{}</b></span>",
|
||||
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
||||
"today": "<span color='#ff6699'><b>{}</b></span>",
|
||||
},
|
||||
},
|
||||
"timezone": "Europe/Paris"
|
||||
},
|
||||
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "\uf06e",
|
||||
"deactivated": "\uf070"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
116
waybar/backup/style_ini.css
Normal file
116
waybar/backup/style_ini.css
Normal file
|
|
@ -0,0 +1,116 @@
|
|||
* {
|
||||
font-family: "JetBrainsMono Nerd Font Propo";
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
tooltip * {
|
||||
background-color: #301934;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
}
|
||||
/*
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
transition-property: background-color;
|
||||
transition-duration: 0.5s;
|
||||
border-bottom: 0px solid #444;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
#mpris {
|
||||
color: #ffffff;
|
||||
border-radius: 4px;
|
||||
margin: 0px 3px;
|
||||
padding: 0px 12px;
|
||||
}
|
||||
|
||||
#pulseaudio, #bluetooth, #clock, #network {
|
||||
border-radius: 4px;
|
||||
margin: 0px 3px;
|
||||
padding: 0px 12px;
|
||||
background-color: #200116;
|
||||
color: #DABFFF;
|
||||
}
|
||||
|
||||
#idle_inhibitor.deactivated {
|
||||
margin: 0px 3px;
|
||||
padding: 0px 12px;
|
||||
background-color: #200200;
|
||||
}
|
||||
|
||||
#group-hardware {
|
||||
color: #200116;
|
||||
}
|
||||
|
||||
#memory {
|
||||
border-radius: 4px;
|
||||
margin: 0px 3px;
|
||||
padding: 0px 12px;
|
||||
background-color: #200116;
|
||||
color: #8FA6CB;
|
||||
}
|
||||
|
||||
#battery {
|
||||
border-radius: 4px;
|
||||
margin: 0px 3px;
|
||||
padding: 0px 12px;
|
||||
background-color: #4C0827;
|
||||
color: #8FA6CB;
|
||||
}
|
||||
|
||||
#custom-weather {
|
||||
border-radius: 4px;
|
||||
margin: 0px 3px;
|
||||
padding: 0px 12px;
|
||||
color: #8FA6CB;
|
||||
}
|
||||
|
||||
#custom-menu, #custom-shutdown, #custom-hibernate{
|
||||
padding: 0px 3px;
|
||||
padding-right: 16px;
|
||||
padding-left: 14px;
|
||||
color: #e06c75;
|
||||
}
|
||||
|
||||
#custom-menu:hover, #custom-shutdown:hover, #custom-logout:hover {
|
||||
background: #ffffff;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
|
||||
#workspaces button {
|
||||
all: initial;
|
||||
/* Remove GTK theme values (waybar #1351) */
|
||||
min-width: 0;
|
||||
/* Fix weird spacing in materia (waybar #450) */
|
||||
box-shadow: inset 0 -3px transparent;
|
||||
/* Use box-shadow instead of border so the text isn't offset */
|
||||
padding: 0px 15px;
|
||||
margin: 0px 3px;
|
||||
border-radius: 4px;
|
||||
color: #D6E3F8;
|
||||
background-color: #8b0c99;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
transition: all 50ms ease-out;
|
||||
color: #dddddd;
|
||||
background-color: #1B264F;
|
||||
font-weight: bold;
|
||||
border-bottom: 2px solid #ff0000; /* Optionnel : barre sous l'active */
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
color: #1e1e2e;
|
||||
background-color: #1B264F;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #f38ba8;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue