Migrate repo installation from custom script to dotinstall

This commit is contained in:
Yorick Barbanneau 2019-11-23 00:38:38 +01:00
parent a8adfb8ff9
commit 4f5de50fb9
12 changed files with 9 additions and 46 deletions

75
config/waybar/config Normal file
View file

@ -0,0 +1,75 @@
{
"layer": "top",
"height":"22",
"disable-toolptips": true,
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": [],
"modules-right": ["network", "cpu", "backlight", "battery", "pulseaudio", "clock", "tray"],
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"sway/workspace": {
"disable-scroll": true
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"clock": {
"tooltip": false,
"tooltip-format": "{:%Y-%m-%d | %H:%M}",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": "{usage}% ",
"tooltip": false
},
"backlight": {
//"device": "intel_backlight",
"format": "{percent}% {icon}",
"format-icons": ["", ""],
"tooltip": false
},
"battery": {
"tooltip": false,
"states": {
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""]
},
"network": {
"tooltip": false,
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
"tooltip": false,
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphones": "",
"handsfree": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
}
}
}

71
config/waybar/style.css Normal file
View file

@ -0,0 +1,71 @@
* {
border: none;
border-radius: 0;
font-family: "FuraCode Nerd Font";
font-size: 13px;
min-height:0;
}
window#waybar {
background:#323232 ;
color:#ddd;
}
#workspaces {
color:#fff;
}
#workspaces button {
margin:0 3px;
padding:4px 4px;
background:#323232 ;
color:#9c9c9c;
}
#workspaces button:hover {
box-shadow:inherit;
text-shadow:inherit;
color:#f268b3;
border-bottom: 1px solid #f268b3;
}
#workspaces button.focused {
background:#1cd180 ;
color:#000;
}
#clock,
#cpu,
#memory,
#backlight,
#network,
#tray,
#mode,
#battery,
#idle_inhibitor {
padding: 2px 4px;
margin: 0 6px;
background-color: transparent;
}
#mode{
background:red;
font-weight:bold;
}
#pulseaudio {}
#pulseaudio.muted {}
#battery {
border-bottom:1px solid transparent;
}
#battery.charging {
border-color:#1cd180;
color:#1cd180;
}
#battery.critical:not(.charging) {
border-color:#f268b3;
color:#f268b3;
}