seperating conf for thinkpad/desktop
This commit is contained in:
parent
e17b45eebb
commit
03aa3a8d5a
@ -1 +1 @@
|
||||
Subproject commit aa50bff9b5cf24bcda810c1d77b03a5c804ea400
|
||||
Subproject commit 4af034b82620c67492f951be0fbbe0a024ab31e2
|
@ -1,13 +1,4 @@
|
||||
# This file has been auto-generated by i3-config-wizard(1).
|
||||
# It will not be overwritten, so edit it as you like.
|
||||
#
|
||||
# Should you change your keyboard layout some time, delete
|
||||
# this file and re-run i3-config-wizard(1).
|
||||
#
|
||||
|
||||
# i3 config file (v4)
|
||||
#
|
||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||
# This file serves as the base config I desire across machines
|
||||
set $mod Mod4
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
@ -26,9 +17,6 @@ exec_always wallpaper.sh
|
||||
# waybar
|
||||
exec_always killall waybar; waybar
|
||||
|
||||
workspace 1 output DP-2
|
||||
workspace 2 output DP-3
|
||||
|
||||
# loading layout
|
||||
assign [class="st-256color"] 1
|
||||
assign [class="Brave-browser"] 2
|
4
gui/sway/desktop
Normal file
4
gui/sway/desktop
Normal file
@ -0,0 +1,4 @@
|
||||
include base
|
||||
|
||||
workspace 1 output DP-2
|
||||
workspace 2 output DP-3
|
1
gui/sway/thinkpad
Normal file
1
gui/sway/thinkpad
Normal file
@ -0,0 +1 @@
|
||||
include base
|
49
gui/waybar/thinkpad
Normal file
49
gui/waybar/thinkpad
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"modules-left": ["sway/workspaces", "sway/window", "pulseaudio/slider"],
|
||||
"modules-center": ["custom/weather"],
|
||||
"modules-right": ["cpu", "memory", "network", "custom/bg", "custom/date"],
|
||||
"sway/workspaces": {
|
||||
"all-outputs": true
|
||||
},
|
||||
"sway/window": {
|
||||
"all-outputs": true,
|
||||
"max-length": 20
|
||||
},
|
||||
"pulseaudio/slider": {
|
||||
"min": 0,
|
||||
"max": 100
|
||||
},
|
||||
"custom/spotify-scroll": {
|
||||
|
||||
},
|
||||
"custom/weather": {
|
||||
"exec": "weather -pd",
|
||||
"on-click": "i3-scratchpad.sh scratch st -n scratch -e weather -f",
|
||||
"on-click-right": "weather -r",
|
||||
"on-click-midde": "i3-scratchpad.sh scratch st -n scratch -e weather -pf"
|
||||
},
|
||||
"cpu": {
|
||||
"format": "CPU: {usage}%"
|
||||
},
|
||||
"memory": {
|
||||
"format": "RAM: {percentage}%",
|
||||
"tooltip-format": "RAM: {used}/{total} GiB"
|
||||
},
|
||||
"network": {
|
||||
"interval": 2,
|
||||
"format-ethernet": "ETH: {bandwidthTotalBytes}",
|
||||
"format-wifi": "WLAN: {ssid}",
|
||||
"tooltip-format": "DOWN: {bandwidthDownBits} UP: {bandwidthUpBits} IP: {ipaddr}"
|
||||
},
|
||||
"custom/bg": {
|
||||
"exec": "echo -e '\uf1c5'",
|
||||
"interval": "once",
|
||||
"on-click": "wallpaper.sh -s"
|
||||
},
|
||||
"custom/date": {
|
||||
"exec": "date +'%A, %b %d %l:%M %P'",
|
||||
"interval": 10
|
||||
}
|
||||
}
|
||||
|
135
gui/waybar/thinkpad-style.css
Normal file
135
gui/waybar/thinkpad-style.css
Normal file
@ -0,0 +1,135 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: Hack Nerd Font, Roboto, Helvetica, Arial, sans-serif;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window.LVDS-1 * {
|
||||
font-size: 12pt;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: transparent;
|
||||
background-color: transparent;
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
window#waybar.empty {
|
||||
color: rgba(0,0,0,0);
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
color: #ddd;
|
||||
background-color: rgba(29, 31, 21, 0.8);
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
box-shadow: inset 0 3px #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: #64727D;
|
||||
box-shadow: inset 0 3px #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background-color: #64727D;
|
||||
border-top: 3px solid #ffffff;
|
||||
}
|
||||
|
||||
#backlight,
|
||||
#battery.bat1,
|
||||
#battery.bat2,
|
||||
#clock,
|
||||
#cpu,
|
||||
#custom-mail,
|
||||
#custom-poweroff,
|
||||
#custom-weather,
|
||||
#disk,
|
||||
#idle_inhibitor,
|
||||
#memory,
|
||||
#mode,
|
||||
#network.vpn,
|
||||
#network.wifi,
|
||||
#network.ethernet,
|
||||
#network.disconnected,
|
||||
#custom-date,
|
||||
#sway-window,
|
||||
#sway-workspaces,
|
||||
#pulseaudio,
|
||||
#custom-weather,
|
||||
#taskbar,
|
||||
#temperature,
|
||||
#tray {
|
||||
padding: 0 5px;
|
||||
margin: 2px;
|
||||
color: #ddd;
|
||||
border-radius: 7px;
|
||||
background-color: rgba(29, 31, 21, 0.6);
|
||||
}
|
||||
|
||||
#custom-bg {
|
||||
padding: 0 10px 0px 5px;
|
||||
margin: 2px;
|
||||
color: #ddd;
|
||||
border-radius: 7px;
|
||||
background-color: rgba(29, 31, 21, 0.6);
|
||||
}
|
||||
|
||||
#pulseaudio-slider slider {
|
||||
min-height: 0px;
|
||||
min-width: 0px;
|
||||
opacity: 0;
|
||||
background-image: none;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
#pulseaudio-slider trough {
|
||||
min-height: 10px;
|
||||
min-width: 80px;
|
||||
border-radius: 5px;
|
||||
background-color: black;
|
||||
}
|
||||
#pulseaudio-slider highlight {
|
||||
min-width: 5px;
|
||||
border-radius: 5px;
|
||||
background-color: green;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.bat2.critical:not(.charging) {
|
||||
background-color: #f53c3c;
|
||||
color: #ffffff;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#taskbar button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
box-shadow: inset 0 3px #ffffff;
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
background-color: #64727D;
|
||||
box-shadow: inset 0 3px #ffffff;
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
- link:
|
||||
~/.config/sway: gui/sway
|
||||
~/.config/sway/config: gui/sway/desktop
|
||||
~/.config/sway/lock.png: gui/sway/lock.png
|
||||
~/.local/bin/swaylock-blur: bin/swaylock-blur
|
||||
|
4
meta/configs/sway.thinkpad.yaml
Normal file
4
meta/configs/sway.thinkpad.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
- link:
|
||||
~/.config/sway/config: gui/sway/thinkpad
|
||||
~/.config/sway/lock.png: gui/sway/lock.png
|
||||
~/.local/bin/swaylock-blur: bin/swaylock-blur
|
@ -1,2 +1,4 @@
|
||||
- link:
|
||||
~/.config/waybar: gui/waybar
|
||||
~/.config/waybar/config: gui/waybar/desktop
|
||||
~/.config/waybar/style.css: gui/waybar/desktop-style.css
|
||||
|
||||
|
3
meta/configs/waybar.thinkpad.yaml
Normal file
3
meta/configs/waybar.thinkpad.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
- link:
|
||||
~/.config/waybar/config: gui/waybar/thinkpad
|
||||
~/.config/waybar/style.css: gui/waybar/thinkpad-style.css
|
@ -1,6 +1,13 @@
|
||||
# base profile
|
||||
|
||||
profile/arch
|
||||
|
||||
# thinkpad specific
|
||||
st.thinkpad
|
||||
sway.thinkpad
|
||||
waybar.thinkpad
|
||||
|
||||
# utilities
|
||||
calcurse
|
||||
seafile
|
||||
passwords
|
||||
|
Loading…
x
Reference in New Issue
Block a user