...
 
Commits (2)
......@@ -64,7 +64,7 @@
# the top and down respectevly.
# The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option.
geometry = "0x16-16+40"
geometry = "0x16-16+42"
# Shrink window if it's smaller than the width. Will be ignored if
# width is 0.
......
! Fonts
rofi.font: Aileron 9
rofi.font: Aileron Light 10
! Enable the extended coloring options
! rofi.color-enabled: true
......
......@@ -54,7 +54,7 @@ set $term termite
set $menu rofi -show combi
set $passmenu /home/kosciak/projects/desktop/rofi-pass/main.py
set $screenshot grim -g "$(slurp)" /home/kosciak/screenshots/$(date +'%Y-%m-%d-%H%M%S_grim.png')
set $rotate-x200 /home/kosciak/scripts/rotate-x200
set $rotate-x200 /home/kosciak/documents/scripts/rotate-x200
# colors
# type border bg text indicator child_border
......@@ -65,7 +65,7 @@ client.urgent $urgent $urgent $fg $fg $urgent
# gaps
gaps inner 16
gaps top 4
gaps top 6
default_border pixel 2
smart_borders yes
......
{
"layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar at the bottom of your screen
"height": 20, // Waybar height
// "width": 1280, // Waybar width
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode"],
// "modules-center": ["sway/window"],
"modules-right": ["pulseaudio", "network", "cpu", "memory", "battery", "clock", "tray"],
// Modules configuration
// "sway/workspaces": {
// "disable-scroll": true,
// "all-outputs": true,
// "format": "{name}: {icon}",
// "format-icons": {
// "1": "",
// "2": "",
// "3": "",
// "4": "",
// "5": "",
// "urgent": "",
// "focused": "",
// "default": ""
// }
// },
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"clock": {
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": "{usage}% "
},
"memory": {
"format": "{}% "
},
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
},
"network": {
// "interface": "wlp2s0", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-disconnected": "Disconnected ⚠"
},
"pulseaudio": {
//"scroll-step": 1,
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",
"format-icons": {
"headphones": "",
"handsfree": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", ""]
},
"on-click": "pavucontrol"
},
"custom/spotify": {
"format": " {}",
"max-length": 40,
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
}
"layer": "top",
"height": 20,
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-right": ["custom/touch", "pulseaudio", "network", "cpu", "memory", "battery", "clock", "tray"],
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"tray": {
"spacing": 10
},
"clock": {
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": "{usage}% "
},
"memory": {
"format": "{}% "
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
},
"network": {
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-disconnected": "Disconnected ⚠"
},
"pulseaudio": {
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",
"format-icons": {
"headphones": "",
"handsfree": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", ""]
},
"on-click": "pavucontrol"
},
"custom/touch": {
"format": " {} ",
"interval": 5,
"exec": "/home/kosciak/documents/scripts/get-rotation",
"on-click": "rofi -click-to-exit -show combi",
"on-click-right": "/home/kosciak/documents/scripts/rotate-x200"
}
}
* {
border: none;
border-radius: 0;
font-family: Aileron, Roboto, Helvetica, Arial, sans-serif;
font-size: 10px;
font-family: Aileron Light, Roboto, Helvetica, Arial, sans-serif;
font-size: 12px;
min-height: 0;
}
......@@ -32,12 +32,21 @@ window > box {
background: #64727D;
}
#clock, #battery, #cpu, #memory, #network, #pulseaudio, #custom-spotify, #tray, #mode {
#clock, #battery, #cpu, #memory, #network, #pulseaudio, #custom-touch, #mode, #tray {
padding: 0 5px;
margin: 0 5px;
color: #2B303B;
}
#tray {
margin: 0 0 0 10px;
}
#custom-touch {
background-color: #65737E;
color: #C0C5CE;
}
#clock {
background-color: #65737E;
color: #C0C5CE;
......@@ -94,11 +103,6 @@ window > box {
color: #2a5c45;
}
#custom-spotify {
background: #66cc99;
color: #2a5c45;
}
#tray {
background-color: #2980b9;
}