Update hyprland and waybar configs
This commit is contained in:
parent
710caefead
commit
5d65e9de4f
8 changed files with 51 additions and 29 deletions
|
@ -17,7 +17,7 @@ case "$1" in
|
|||
input=$(tee)
|
||||
if [ ! -z "$input" ]; then
|
||||
emoji=${input: -1}
|
||||
xdotool type "$emoji"
|
||||
ydotool type "$emoji"
|
||||
fi
|
||||
;;
|
||||
"")
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
frame_width = 0
|
||||
frame_color = "#000000"
|
||||
|
||||
font = FiraCode Nerd Font 12
|
||||
#font = Iosevka Nerd Font 13
|
||||
font = IosevkaTerm Nerd Font 13
|
||||
|
||||
# Allow a small subset of html markup:
|
||||
# <b>bold</b>
|
||||
|
@ -187,13 +186,13 @@
|
|||
[urgency_low]
|
||||
# IMPORTANT: colors have to be defined in quotation marks.
|
||||
# Otherwise the "#" and following would be interpreted as a comment.
|
||||
background = "#8e8e8e"
|
||||
foreground = "#3d3839"
|
||||
background = "#3d3839"
|
||||
foreground = "#8e8e8e"
|
||||
timeout = 5
|
||||
|
||||
[urgency_normal]
|
||||
background = "#BBBBBB"
|
||||
foreground = "#191919"
|
||||
background = "#3d3839"
|
||||
foreground = "#BBBBBB"
|
||||
timeout = 5
|
||||
|
||||
[urgency_critical]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# --- Basics
|
||||
font-family = "IosevkaTermSlab Nerd Font Propo"
|
||||
font-family = "IosevkaTerm Nerd Font Propo"
|
||||
font-style = "Regular"
|
||||
font-size = 11
|
||||
background-opacity = 1.0
|
||||
|
|
|
@ -27,6 +27,15 @@ $fileManager = dolphin
|
|||
$menu = rofi -show drun
|
||||
|
||||
|
||||
###########################
|
||||
### Program windowrules ###
|
||||
###########################
|
||||
|
||||
windowrule = workspace 1, class:Element
|
||||
windowrule = workspace 2, class:anytype
|
||||
windowrule = workspace 3, class:thunderbird
|
||||
|
||||
|
||||
#################
|
||||
### AUTOSTART ###
|
||||
#################
|
||||
|
|
|
@ -12,7 +12,7 @@ configuration {
|
|||
modi: "drun";
|
||||
show-icons: true;
|
||||
icon-theme: "Papirus";
|
||||
font: "IosevkaTermSlab Nerd Font Propo 14";
|
||||
font: "IosevkaTerm Nerd Font Propo 14";
|
||||
display-drun: "";
|
||||
//display-run: "";
|
||||
//display-filebrowser: "";
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
{
|
||||
"position": "top", // Waybar position (top|bottom|left|right)
|
||||
"height": 5, // Waybar height (to be removed for auto height)
|
||||
"modules-left": [],
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["pulseaudio", "network", "cpu","memory","battery", "tray"],
|
||||
"modules-right": ["custom/packages", "pulseaudio", "network", "cpu","memory","battery"],
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
},
|
||||
"mpd": {
|
||||
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ ",
|
||||
"format-disconnected": "Disconnected ",
|
||||
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
|
||||
"format": " {title} | {artist} ({elapsedTime:%M:%S}/{totalTime:%M:%S})",
|
||||
"format-disconnected": "",
|
||||
"format-stopped": "",
|
||||
"unknown-tag": "N/A",
|
||||
"interval": 2,
|
||||
"consume-icons": {
|
||||
|
@ -83,8 +83,8 @@
|
|||
},
|
||||
"format": "{icon}",
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
"format-charging": "{capacity}%",
|
||||
"format-plugged": "{capacity}%",
|
||||
"format-charging": "{icon}",
|
||||
"format-plugged": "{icon}",
|
||||
"format-alt": "{capacity}% | {time}"
|
||||
},
|
||||
"network": {
|
||||
|
@ -105,16 +105,20 @@
|
|||
"format-muted": " ",
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"custom/media": {
|
||||
"custom/packages": {
|
||||
"format": " {}",
|
||||
"return-type": "json",
|
||||
"max-length": 40,
|
||||
"escape": true,
|
||||
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
|
||||
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
|
||||
"exec": "/home/aselimov/bin/outdated_packages.sh"
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"format-icons":{
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": ""
|
||||
},
|
||||
"active-only": true,
|
||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e-1"
|
||||
}
|
||||
|
|
|
@ -175,7 +175,7 @@ label:focus {
|
|||
}
|
||||
|
||||
#tray {
|
||||
background-color: #2980b9;
|
||||
background-color: #191919;
|
||||
}
|
||||
|
||||
#idle_inhibitor {
|
||||
|
@ -188,20 +188,20 @@ label:focus {
|
|||
}
|
||||
|
||||
#mpd {
|
||||
background-color: #66cc99;
|
||||
color: #2a5c45;
|
||||
background-color: #191919;
|
||||
color: #BBBBBB;
|
||||
}
|
||||
|
||||
#mpd.disconnected {
|
||||
background-color: #f53c3c;
|
||||
background-color: #191919;
|
||||
}
|
||||
|
||||
#mpd.stopped {
|
||||
background-color: #90b1b1;
|
||||
background-color: #191919;
|
||||
}
|
||||
|
||||
#mpd.paused {
|
||||
background-color: #51a37a;
|
||||
background-color: #191919;
|
||||
}
|
||||
|
||||
#language {
|
||||
|
@ -211,3 +211,12 @@ label:focus {
|
|||
margin: 6px 3px;
|
||||
min-width: 16px;
|
||||
}
|
||||
|
||||
#workspaces{
|
||||
background: #191919;
|
||||
|
||||
}
|
||||
|
||||
#custom-packages{
|
||||
color: #DE6E7c;
|
||||
}
|
||||
|
|
|
@ -53,12 +53,13 @@ xinput --set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Profile Enabled" 0 1
|
|||
|
||||
exec bato &
|
||||
exec sync_mail.sh &
|
||||
exec xsettingsd &
|
||||
exec sxhkd &
|
||||
exec mpd &
|
||||
exec picom -b &
|
||||
exec wallpaper_randomizer.sh &
|
||||
exec dwmblocks &
|
||||
wmname LG3D &
|
||||
exec xsettingsd &
|
||||
exec swap_monitor.sh &
|
||||
exec dbus-launch --sh-syntax --exit-with-session "dwm"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue