changes
This commit is contained in:
parent
c4f8f8acaa
commit
0bc8e861ea
4 changed files with 23 additions and 17 deletions
|
@ -2,10 +2,10 @@
|
||||||
LocationMode=path-bar
|
LocationMode=path-bar
|
||||||
ShowHidden=false
|
ShowHidden=false
|
||||||
ShowSizeColumn=true
|
ShowSizeColumn=true
|
||||||
GeometryX=220
|
GeometryX=1964
|
||||||
GeometryY=96
|
GeometryY=270
|
||||||
GeometryWidth=840
|
GeometryWidth=551
|
||||||
GeometryHeight=630
|
GeometryHeight=562
|
||||||
SortColumn=name
|
SortColumn=name
|
||||||
SortOrder=ascending
|
SortOrder=ascending
|
||||||
StartupMode=recent
|
StartupMode=recent
|
||||||
|
|
|
@ -28,6 +28,11 @@ exec-once = solaar -w hide
|
||||||
env = MOZ_ENABLE_WAYLAND,1
|
env = MOZ_ENABLE_WAYLAND,1
|
||||||
env = MOZ_DISABLE_RDD_SANDBOX,1
|
env = MOZ_DISABLE_RDD_SANDBOX,1
|
||||||
|
|
||||||
|
misc {
|
||||||
|
disable_hyprland_logo = true
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||||
input {
|
input {
|
||||||
kb_layout = us
|
kb_layout = us
|
||||||
|
@ -113,13 +118,14 @@ gestures {
|
||||||
#}
|
#}
|
||||||
|
|
||||||
# unscale XWayland
|
# unscale XWayland
|
||||||
#xwayland {
|
xwayland {
|
||||||
# force_zero_scaling = true
|
force_zero_scaling = true
|
||||||
#}
|
}
|
||||||
|
#
|
||||||
|
|
||||||
# toolkit-specific scale
|
toolkit-specific scale
|
||||||
# env = GDK_SCALE,2
|
env = GDK_SCALE,2
|
||||||
# env = XCURSOR_SIZE,24
|
env = XCURSOR_SIZE,24
|
||||||
|
|
||||||
# Example windowrule v1
|
# Example windowrule v1
|
||||||
# windowrule = float, ^(kitty)$
|
# windowrule = float, ^(kitty)$
|
||||||
|
@ -141,7 +147,7 @@ $mainMod = SUPER
|
||||||
# ...
|
# ...
|
||||||
# XF86Launch9 = F18
|
# XF86Launch9 = F18
|
||||||
# NoSymbol = F19
|
# NoSymbol = F19
|
||||||
bind = $mainMod, XF86Tools, exec, shutdown now
|
bind = $mainMod, XF86Eject, exec, shutdown now
|
||||||
bind = , XF86Tools, exec, playerctl previous
|
bind = , XF86Tools, exec, playerctl previous
|
||||||
bind = , XF86Launch5, exec, playerctl play-pause
|
bind = , XF86Launch5, exec, playerctl play-pause
|
||||||
bind = , XF86Launch6, exec, playerctl next
|
bind = , XF86Launch6, exec, playerctl next
|
||||||
|
@ -149,7 +155,7 @@ bind = CTRL ALT, DELETE, exec, swaylock
|
||||||
|
|
||||||
# Default Mappings
|
# Default Mappings
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
bind = $mainMod, Q, exec, kitty
|
bind = $mainMod, Q, exec, alacritty # kitty
|
||||||
bind = $mainMod, C, killactive,
|
bind = $mainMod, C, killactive,
|
||||||
bind = $mainMod, M, exit,
|
bind = $mainMod, M, exit,
|
||||||
bind = $mainMod, E, exec, thunar
|
bind = $mainMod, E, exec, thunar
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"height": 20, // Waybar height (to be removed for auto height)
|
"height": 20, // Waybar height (to be removed for auto height)
|
||||||
//"spacing": 4, // Gaps between modules (4px)
|
//"spacing": 4, // Gaps between modules (4px)
|
||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
"modules-left": ["hyprland/workspaces","hyprland/window"],
|
"modules-left": ["hyprland/workspaces"], // ,"hyprland/window"
|
||||||
// "modules-center": ["cava"],
|
// "modules-center": ["cava"],
|
||||||
"modules-right": ["custom/spotify", "network", "cpu", "memory", "temperature", "backlight", "pulseaudio", "battery", "tray", "clock"],
|
"modules-right": ["custom/spotify", "network", "cpu", "memory", "temperature", "backlight", "pulseaudio", "battery", "tray", "clock"],
|
||||||
// Modules configuration
|
// Modules configuration
|
||||||
|
|
|
@ -5,8 +5,8 @@ icon=" "
|
||||||
|
|
||||||
if [[ $class == "playing" ]]; then
|
if [[ $class == "playing" ]]; then
|
||||||
info=$(playerctl metadata --player=firefox --format '{{title}}')
|
info=$(playerctl metadata --player=firefox --format '{{title}}')
|
||||||
if [[ ${#info} > 30 ]]; then
|
if [[ ${#info} > 40 ]]; then
|
||||||
info=$(echo $info | cut -c1-30)"..."
|
info=$(echo $info | cut -c1-40)"..."
|
||||||
fi
|
fi
|
||||||
text=$info" "$icon
|
text=$info" "$icon
|
||||||
elif [[ $class == "paused" ]]; then
|
elif [[ $class == "paused" ]]; then
|
||||||
|
@ -20,8 +20,8 @@ classa=$(playerctl metadata --player=spotify --format '{{lc(status)}}')
|
||||||
if [[ $classa == "playing" ]]; then
|
if [[ $classa == "playing" ]]; then
|
||||||
icon=""
|
icon=""
|
||||||
info=$(playerctl metadata --player=spotify --format '{{artist}} - {{title}}')
|
info=$(playerctl metadata --player=spotify --format '{{artist}} - {{title}}')
|
||||||
if [[ ${#info} > 30 ]]; then
|
if [[ ${#info} > 40 ]]; then
|
||||||
info=$(echo $info | cut -c1-30)"..."
|
info=$(echo $info | cut -c1-40)"..."
|
||||||
fi
|
fi
|
||||||
text=$info" "$icon
|
text=$info" "$icon
|
||||||
elif [[ $class == "paused" ]]; then
|
elif [[ $class == "paused" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue