Restructure dotfiles : suppression outils abandonnés, migration sway→hyprland, neomutt→aerc
- Supprimés : fish, qtile, X, vim, sway, neomutt (+ package systemd vide) - Nouveau package hyprland : waybar, rofi, mako, gammastep, rofi-pass, systemd (mail+kanata+mpd+voxtype), script rofi - Nouveau package aerc : config aerc + infra mail (msmtp, khard, vdirsyncer) migrée depuis neomutt - Nettoyage .gitignore : suppression entrées neomutt/vim, ajout patterns moc/mpd/vifm manquants, vdirsyncer/status pour aerc - Mise à jour des configs trackées modifiées (nvim, zsh, tmux, git, newsboat) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
111
hyprland/.config/waybar/config
Normal file
111
hyprland/.config/waybar/config
Normal file
@@ -0,0 +1,111 @@
|
||||
[{
|
||||
"layer": "top",
|
||||
"output": "eDP-1",
|
||||
"height": 30,
|
||||
"modules-left": ["sway/mode","sway/window" ],
|
||||
"modules-center": ["sway/workspaces" ],
|
||||
"modules-right": ["pulseaudio", "battery", "tray", "clock"],
|
||||
"sway/window": {
|
||||
"max-length": 50
|
||||
},
|
||||
"sway/workspaces": {
|
||||
"all-outputs": true
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 20,
|
||||
"critical": 10
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
"format-alt": "{time} {icon}",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
// "format-full": "",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%a, %d. %b %H:%M}",
|
||||
"on-click": "gnome-calendar"
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
"format": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 21,
|
||||
"spacing": 10,
|
||||
}
|
||||
},
|
||||
{
|
||||
"layer": "bottom",
|
||||
"position": "bottom",
|
||||
"output": "DP-2",
|
||||
"height": 30,
|
||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||
"modules-center": ["sway/window"],
|
||||
"modules-right": ["pulseaudio", "battery", "tray", "clock"],
|
||||
"sway/window": {
|
||||
"max-length": 50
|
||||
},
|
||||
"sway/workspaces": {
|
||||
"all-outputs": true
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 20,
|
||||
"critical": 10
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
"format-alt": "{time} {icon}",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
// "format-full": "",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%a, %d. %b %H:%M}",
|
||||
"on-click": "gnome-calendar"
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
"format": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 21,
|
||||
"spacing": 10,
|
||||
}
|
||||
}]
|
||||
72
hyprland/.config/waybar/config_hyprland
Normal file
72
hyprland/.config/waybar/config_hyprland
Normal file
@@ -0,0 +1,72 @@
|
||||
[{
|
||||
"layer": "top",
|
||||
"output": ["eDP-1", "DVI-I-1"],
|
||||
"height": 30,
|
||||
"spacing": 0,
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": [],
|
||||
"modules-right": ["mpris", "pulseaudio", "battery", "tray", "clock"],
|
||||
"hyprland/workspaces": {
|
||||
"on-click": "activate",
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"show-special": false,
|
||||
"persistent-workspaces": {
|
||||
"*": [1, 2, 3, 4]
|
||||
},
|
||||
"format": "{id}"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"warning": 20,
|
||||
"critical": 10
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""]
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%a %d %b %H:%M}",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"on-click": "gnome-calendar"
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{volume}% {icon}",
|
||||
"format-bluetooth": "{volume}% {icon}",
|
||||
"format-bluetooth-muted": " {icon}",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 22,
|
||||
"spacing": 10
|
||||
},
|
||||
"mpris": {
|
||||
"format": "{player_icon} ",
|
||||
"format-paused": "{player_icon} ",
|
||||
"format-stopped": "",
|
||||
"tooltip-format": "{title} — {artist}",
|
||||
"player-icons": {
|
||||
"default": "",
|
||||
"spotify": "",
|
||||
"firefox": "",
|
||||
"chromium": "",
|
||||
"mpv": "",
|
||||
"vlc": ""
|
||||
},
|
||||
"on-click": "playerctl play-pause",
|
||||
"on-scroll-up": "playerctl next",
|
||||
"on-scroll-down": "playerctl previous"
|
||||
}
|
||||
}]
|
||||
23
hyprland/.config/waybar/gruvbox.css
Normal file
23
hyprland/.config/waybar/gruvbox.css
Normal file
@@ -0,0 +1,23 @@
|
||||
@define-color background #282828;
|
||||
@define-color foreground #ebdbb2;
|
||||
@define-color black #282828;
|
||||
@define-color red #cc241d;
|
||||
@define-color green #98971a;
|
||||
@define-color yellow #d79921;
|
||||
@define-color blue #458588;
|
||||
@define-color magenta #b16286;
|
||||
@define-color cyan #689d6a;
|
||||
@define-color white #a89984;
|
||||
@define-color aqua #689d6a;
|
||||
@define-color orange #d65d0e;
|
||||
|
||||
@define-color magenta_b #d3869b;
|
||||
@define-color cyan_b #8ec07c;
|
||||
@define-color yellow_b #fabd2f;
|
||||
@define-color white_b #ebdbb2;
|
||||
@define-color black_b #928374;
|
||||
@define-color red_b #fb4934;
|
||||
@define-color green_b #b8bb26;
|
||||
@define-color blue_b #83a598;
|
||||
@define-color aqua_b #8ec07c;
|
||||
@define-color orange_b #fe8010;
|
||||
107
hyprland/.config/waybar/style.css
Normal file
107
hyprland/.config/waybar/style.css
Normal file
@@ -0,0 +1,107 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: "Noto Sans", "JetBrainsMono Nerd Font", monospace;
|
||||
font-size: 16px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
@import "gruvbox.css";
|
||||
|
||||
window#waybar {
|
||||
background: #32302f;
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
/* Workspaces */
|
||||
#workspaces {
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 7px;
|
||||
background: transparent;
|
||||
color: @white;
|
||||
border-radius: 6px;
|
||||
min-width: 18px;
|
||||
}
|
||||
|
||||
#workspaces button.empty {
|
||||
color: rgba(168, 153, 132, 0.3);
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background: rgba(214, 93, 14, 0.25);
|
||||
color: @orange_b;
|
||||
}
|
||||
|
||||
#workspaces button.visible:not(.active) {
|
||||
background: rgba(69, 133, 136, 0.25);
|
||||
color: @blue_b;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: rgba(168, 153, 132, 0.15);
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
/* Mode (sway) */
|
||||
#mode {
|
||||
background: @red;
|
||||
color: @foreground;
|
||||
border-radius: 8px;
|
||||
margin: 4px 2px;
|
||||
padding: 0 10px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Right modules */
|
||||
#clock,
|
||||
#battery,
|
||||
#pulseaudio,
|
||||
#mpris,
|
||||
#tray {
|
||||
padding: 0 8px;
|
||||
margin: 0;
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
color: @red_b;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
color: @red;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
color: @white;
|
||||
}
|
||||
|
||||
#tray {
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
#tray > .passive {
|
||||
-gtk-icon-effect: dim;
|
||||
}
|
||||
|
||||
#tray > .needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
background-color: @red;
|
||||
border-radius: 4px;
|
||||
}
|
||||
Reference in New Issue
Block a user