Skip to content

Commit 5c43707

Browse files
committed
waybar+pywal, work on monitor<->workspace mapping
1 parent d79e26f commit 5c43707

3 files changed

Lines changed: 24 additions & 7 deletions

File tree

.config/hypr/hyprland.conf

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ env = __GL_THREADED_OPTIMIZATIONS,0
4747
# Refer to https://wiki.hyprland.org/Configuring/Variables/
4848

4949
# https://wiki.hyprland.org/Configuring/Variables/#general
50+
5051
general {
5152
gaps_in = 3
5253
gaps_out = 10
@@ -112,13 +113,13 @@ master {
112113
new_status = master
113114
}
114115

116+
115117
# https://wiki.hyprland.org/Configuring/Variables/#misc
116118
misc {
117-
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
118-
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
119+
force_default_wallpaper = 0
120+
disable_hyprland_logo = true
119121
}
120122

121-
122123
#############
123124
### INPUT ###
124125
#############
@@ -236,3 +237,8 @@ bindm = $mainMod, mouse:273, resizewindow
236237
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
237238

238239
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
240+
241+
242+
workspace = 1,monitor=DP-3
243+
workspace = 2,monitor=HDMI-A-1
244+
workspace = 3,monitor=DP-2

.config/hypr/hyprpaper.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
wallpaper {
2+
preload = /home/avindra/.config/wallpaper
3+
file = /home/avindra/.config/wallpaper
4+
monitor = DP-3
5+
}

.config/waybar/style.css

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1+
@import "../../.cache/wal/colors-waybar.css";
2+
13
* {
24
/* `otf-font-awesome` is required to be installed for icons */
35
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
46
font-size: 13px;
57
}
68

79
window#waybar {
8-
background-color: rgba(43, 48, 59, 0.5);
910
border-bottom: 3px solid rgba(100, 114, 125, 0.5);
10-
color: #ffffff;
11+
background: transparent;
12+
color: @background;
1113
transition-property: background-color;
1214
transition-duration: .5s;
1315
}
@@ -45,7 +47,11 @@ button {
4547
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
4648
button:hover {
4749
background: inherit;
48-
box-shadow: inset 0 -3px #ffffff;
50+
box-shadow: inset 0 -3px @color3;
51+
}
52+
53+
button.active {
54+
box-shadow: inset 0 -3px @foreground;
4955
}
5056

5157
/* you can set a style on hover for any module like this */
@@ -64,7 +70,7 @@ button:hover {
6470
}
6571

6672
#workspaces button.focused {
67-
background-color: #64727D;
73+
background-color: red;
6874
box-shadow: inset 0 -3px #ffffff;
6975
}
7076

0 commit comments

Comments
 (0)