add hyprland config
This commit is contained in:
parent
09d49bcf07
commit
bbebe3da04
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -28,3 +28,6 @@
|
|||||||
[submodule "nvim/.local/share/nvim/site/pack/packer/start/packer.nvim"]
|
[submodule "nvim/.local/share/nvim/site/pack/packer/start/packer.nvim"]
|
||||||
path = nvim/.local/share/nvim/site/pack/packer/start/packer.nvim
|
path = nvim/.local/share/nvim/site/pack/packer/start/packer.nvim
|
||||||
url = https://github.com/wbthomason/packer.nvim
|
url = https://github.com/wbthomason/packer.nvim
|
||||||
|
[submodule "tmux/.config/tmux/plugins/tpm"]
|
||||||
|
path = tmux/.config/tmux/plugins/tpm
|
||||||
|
url = https://github.com/tmux-plugins/tpm
|
||||||
|
BIN
hprland/.config/hypr/assets/wallpaper.jpg
Normal file
BIN
hprland/.config/hypr/assets/wallpaper.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.0 MiB |
0
hprland/.config/hypr/conf/animation.conf
Normal file
0
hprland/.config/hypr/conf/animation.conf
Normal file
8
hprland/.config/hypr/conf/autostart.conf
Normal file
8
hprland/.config/hypr/conf/autostart.conf
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Start Polkit
|
||||||
|
exec-once=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
|
||||||
|
exec-once= waybar
|
||||||
|
exec-once= hyprpaper
|
||||||
|
exec-once= swayosd-server
|
||||||
|
|
||||||
|
exec-once = dunst
|
7
hprland/.config/hypr/conf/cursor.conf
Normal file
7
hprland/.config/hypr/conf/cursor.conf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
exec-once=hyprctl setcursor Bibata-Original-Classic 24
|
||||||
|
|
||||||
|
|
||||||
|
cursor {
|
||||||
|
no_hardware_cursors = true
|
||||||
|
}
|
23
hprland/.config/hypr/conf/decoration.conf
Normal file
23
hprland/.config/hypr/conf/decoration.conf
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||||
|
decoration {
|
||||||
|
rounding = 10
|
||||||
|
|
||||||
|
# Change transparency of focused and unfocused windows
|
||||||
|
active_opacity = 1.0
|
||||||
|
inactive_opacity = 0.9
|
||||||
|
|
||||||
|
drop_shadow = true
|
||||||
|
shadow_range = 30
|
||||||
|
shadow_render_power = 3
|
||||||
|
col.shadow = rgba(1a1a1aee)
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||||
|
blur {
|
||||||
|
enabled = true
|
||||||
|
size = 6
|
||||||
|
passes = 2
|
||||||
|
new_optimizations = on
|
||||||
|
xray = true
|
||||||
|
vibrancy = 0.1696
|
||||||
|
}
|
||||||
|
}
|
5
hprland/.config/hypr/conf/environment.conf
Normal file
5
hprland/.config/hypr/conf/environment.conf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
env = LIBVA_DRIVER_NAME,nvidia
|
||||||
|
env = XDG_SESSION_TYPE,wayland
|
||||||
|
env = GBM_BACKEND,nvidia-drm
|
||||||
|
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||||
|
env = NVD_BACKEND,direct
|
104
hprland/.config/hypr/conf/keybinding.conf
Normal file
104
hprland/.config/hypr/conf/keybinding.conf
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
|
||||||
|
|
||||||
|
###################
|
||||||
|
### KEYBINDINGS ###
|
||||||
|
###################
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
|
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||||
|
|
||||||
|
bind = ,XF86Launch9, exec, $navigator
|
||||||
|
bind = ,XF86LaunchA, exec, $terminal
|
||||||
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
|
bind = $mainMod, return, exec, $terminal
|
||||||
|
bind = $mainMod, Q, killactive,
|
||||||
|
bind = $mainMod SHIFT, M, exit,
|
||||||
|
bind = $mainMod, E, exec, $fileManager
|
||||||
|
bind = $mainMod, V, togglefloating,
|
||||||
|
bind = $mainMod, R, exec, $menu
|
||||||
|
bind = $mainMod, P, pseudo, # dwindle
|
||||||
|
bind = $mainMod, O, togglesplit, # Toggle window group
|
||||||
|
|
||||||
|
bind = $mainMod, T, swapsplit # Swapsplit
|
||||||
|
|
||||||
|
# Move focus with mainMod + arrow keys
|
||||||
|
bind = $mainMod, left, movefocus, l
|
||||||
|
bind = $mainMod, right, movefocus, r
|
||||||
|
bind = $mainMod, up, movefocus, u
|
||||||
|
bind = $mainMod, down, movefocus, d
|
||||||
|
bind = $mainMod, h, movefocus, l
|
||||||
|
bind = $mainMod, l, movefocus, r
|
||||||
|
bind = $mainMod, k, movefocus, u
|
||||||
|
bind = $mainMod, j, movefocus, d
|
||||||
|
|
||||||
|
|
||||||
|
binde = $mainMod, comma, splitratio, -0.1 # [hidden]
|
||||||
|
binde = $mainMod, semicolon, splitratio, +0.1 # [hidden]
|
||||||
|
|
||||||
|
#/# bind = Super+Shift, ←/↑/→/↓,, # Window: move in direction
|
||||||
|
bind = Super+Shift, Left, movewindow, l # [hidden]
|
||||||
|
bind = Super+Shift, Right, movewindow, r # [hidden]
|
||||||
|
bind = Super+Shift, Up, movewindow, u # [hidden]
|
||||||
|
bind = Super+Shift, Down, movewindow, d # [hidden]
|
||||||
|
bind = Super+Shift, h, movewindow, l # [hidden]
|
||||||
|
bind = Super+Shift, l, movewindow, r # [hidden]
|
||||||
|
bind = Super+Shift, k, movewindow, u # [hidden]
|
||||||
|
bind = Super+Shift, j, movewindow, d # [hidden]
|
||||||
|
# Switch workspaces with mainMod + [0-9]
|
||||||
|
bind = $mainMod, ampersand, workspace, 1 # Open workspace 1
|
||||||
|
bind = $mainMod, eacute, workspace, 2 # Open workspace 2
|
||||||
|
bind = $mainMod, quotedbl, workspace, 3 # Open workspace 3
|
||||||
|
bind = $mainMod, apostrophe, workspace, 4 # Open workspace 4
|
||||||
|
bind = $mainMod, parenleft, workspace, 5 # Open workspace 5
|
||||||
|
bind = $mainMod, egrave, workspace, 6 # Open workspace 6
|
||||||
|
bind = $mainMod, minus, workspace, 7 # Open workspace 7
|
||||||
|
bind = $mainMod, underscore, workspace, 8 # Open workspace 8
|
||||||
|
bind = $mainMod, ccedilla, workspace, 9 # Open workspace 9
|
||||||
|
bind = $mainMod, agrave, workspace, 10 # Open workspace 10
|
||||||
|
|
||||||
|
|
||||||
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
|
bind = $mainMod SHIFT, ampersand, movetoworkspace, 1 # Move active window to workspace 1
|
||||||
|
bind = $mainMod SHIFT, eacute, movetoworkspace, 2 # Move active window to workspace 2
|
||||||
|
bind = $mainMod SHIFT, quotedbl, movetoworkspace, 3 # Move active window to workspace 3
|
||||||
|
bind = $mainMod SHIFT, apostrophe, movetoworkspace, 4 # Move active window to workspace 4
|
||||||
|
bind = $mainMod SHIFT, parenleft, movetoworkspace, 5 # Move active window to workspace 5
|
||||||
|
bind = $mainMod SHIFT, minus, movetoworkspace, 6 # Move active window to workspace 6
|
||||||
|
bind = $mainMod SHIFT, egrave, movetoworkspace, 7 # Move active window to workspace 7
|
||||||
|
bind = $mainMod SHIFT, underscore, movetoworkspace, 8 # Move active window to workspace 8
|
||||||
|
bind = $mainMod SHIFT, ccedilla, movetoworkspace, 9 # Move active window to workspace 9
|
||||||
|
bind = $mainMod SHIFT, agrave, movetoworkspace, 10 # Move active window to workspace 10
|
||||||
|
bind = $mainMod, F, fullscreen, 0
|
||||||
|
bind = $mainMod, Tab, workspace, m+1 # Open next workspace
|
||||||
|
bind = $mainMod SHIFT, Tab, workspace, m-1 # Open previous workspace
|
||||||
|
|
||||||
|
# Example special workspace (scratchpad)
|
||||||
|
bind = $mainMod, S, togglespecialworkspace, magic
|
||||||
|
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||||
|
|
||||||
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
|
bind = $mainMod, mouse_up, workspace, e-1
|
||||||
|
bind = $mainMod CTRL, down, workspace, empty # Open the next empty workspace
|
||||||
|
|
||||||
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
|
# Laptop multimedia keys for volume and LCD brightness
|
||||||
|
bindel = ,XF86AudioRaiseVolume, exec,swayosd-client --output-volume raise
|
||||||
|
bindel = ,XF86AudioLowerVolume, exec, swayosd-client --output-volume lower
|
||||||
|
bindel = ,XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
|
||||||
|
bindel = ,XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle
|
||||||
|
# Brightness raise
|
||||||
|
bindel = ,XF86MonBrightnessUp, exec, swayosd-client --brightness raise
|
||||||
|
# Brightness lower
|
||||||
|
bindel = ,XF86MonBrightnessDown, exec, swayosd-client --brightness lower
|
||||||
|
|
||||||
|
bindr = CAPS,Caps_Lock ,exec, swayosd-client --caps-lock
|
||||||
|
# Requires playerctl
|
||||||
|
bindl = , XF86AudioNext, exec, playerctl next
|
||||||
|
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||||
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||||
|
|
||||||
|
bind = ,PRINT , exec, grim -g "$(slurp)" - | swappy -f -
|
22
hprland/.config/hypr/conf/keyboard.conf
Normal file
22
hprland/.config/hypr/conf/keyboard.conf
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#############
|
||||||
|
### INPUT ###
|
||||||
|
#############
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||||
|
input {
|
||||||
|
kb_layout = fr
|
||||||
|
kb_variant =
|
||||||
|
kb_model =
|
||||||
|
kb_options =
|
||||||
|
kb_rules =
|
||||||
|
numlock_by_default = true
|
||||||
|
|
||||||
|
follow_mouse = 1
|
||||||
|
|
||||||
|
|
||||||
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||||
|
|
||||||
|
touchpad {
|
||||||
|
natural_scroll = false
|
||||||
|
}
|
||||||
|
}
|
22
hprland/.config/hypr/conf/layout.conf
Normal file
22
hprland/.config/hypr/conf/layout.conf
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
|
dwindle {
|
||||||
|
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||||
|
preserve_split = true # You probably want this
|
||||||
|
}
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||||
|
master {
|
||||||
|
new_status = master
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||||
|
gestures {
|
||||||
|
workspace_swipe = false
|
||||||
|
}
|
||||||
|
|
||||||
|
binds {
|
||||||
|
workspace_back_and_forth = true
|
||||||
|
allow_workspace_cycles = true
|
||||||
|
pass_mouse_when_bound = false
|
||||||
|
}
|
8
hprland/.config/hypr/conf/misc.conf
Normal file
8
hprland/.config/hypr/conf/misc.conf
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#misc
|
||||||
|
misc {
|
||||||
|
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
5
hprland/.config/hypr/conf/monitor.conf
Normal file
5
hprland/.config/hypr/conf/monitor.conf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
|
monitor=HDMI-A-1,preferred,0x0,auto
|
||||||
|
monitor=DVI-D-1,preferred,2560x0,auto
|
||||||
|
|
||||||
|
|
20
hprland/.config/hypr/conf/window.conf
Normal file
20
hprland/.config/hypr/conf/window.conf
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#general
|
||||||
|
general {
|
||||||
|
gaps_in = 10
|
||||||
|
gaps_out = 20
|
||||||
|
|
||||||
|
border_size = 2
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||||
|
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||||
|
col.inactive_border = rgba(595959aa)
|
||||||
|
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||||
|
resize_on_border = true
|
||||||
|
|
||||||
|
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||||
|
allow_tearing = true
|
||||||
|
|
||||||
|
layout = dwindle
|
||||||
|
}
|
||||||
|
|
52
hprland/.config/hypr/conf/windowrule.conf
Normal file
52
hprland/.config/hypr/conf/windowrule.conf
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||||
|
|
||||||
|
# Example windowrule v1
|
||||||
|
# windowrule = float, ^(kitty)$
|
||||||
|
|
||||||
|
# Example windowrule v2
|
||||||
|
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||||
|
|
||||||
|
workspace = 1, monitor:HDMI-A-1
|
||||||
|
workspace = 2, monitor: DVI-D-1
|
||||||
|
|
||||||
|
# Ignore maximize requests from apps. You'll probably like this.
|
||||||
|
|
||||||
|
windowrulev2 = suppressevent maximize, class:.*
|
||||||
|
|
||||||
|
# Fix some dragging issues with XWayland
|
||||||
|
|
||||||
|
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||||
|
|
||||||
|
windowrule = float, ^(blueberry.py)$
|
||||||
|
windowrule = float, ^(steam)$
|
||||||
|
windowrule = float, title:^(Calculatrice)$
|
||||||
|
windowrule = float, ^(guifetch)$ # FlafyDev/guifetch
|
||||||
|
windowrulev2 = tile, class:(dev.warp.Warp)
|
||||||
|
windowrulev2 = float, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
|
||||||
|
windowrule = center, title:^(Open File)(.*)$
|
||||||
|
windowrule = center, title:^(Select a File)(.*)$
|
||||||
|
windowrule = center, title:^(Choose wallpaper)(.*)$
|
||||||
|
windowrule = center, title:^(Open Folder)(.*)$
|
||||||
|
windowrule = center, title:^(Save As)(.*)$
|
||||||
|
windowrule = center, title:^(Library)(.*)$
|
||||||
|
windowrule = center, title:^(File Upload)(.*)$
|
||||||
|
|
||||||
|
# Picture-in-Picture
|
||||||
|
#
|
||||||
|
windowrulev2 = keepaspectratio, title:^(Picture(-| )in(-| )[Pp]icture)$
|
||||||
|
windowrulev2 = move 73% 72%,title:^(Picture(-| )in(-| )[Pp]icture)$
|
||||||
|
windowrulev2 = size 25%, title:^(Picture(-| )in(-| )[Pp]icture)$
|
||||||
|
windowrulev2 = float, title:^(Picture(-| )in(-| )[Pp]icture)$
|
||||||
|
windowrulev2 = pin, title:^(Picture(-| )in(-| )[Pp]icture)$
|
||||||
|
|
||||||
|
# Dialogs
|
||||||
|
windowrule=float,title:^(Open File)(.*)$
|
||||||
|
windowrule=float,title:^(Select a File)(.*)$
|
||||||
|
windowrule=float,title:^(Choose wallpaper)(.*)$
|
||||||
|
windowrule=float,title:^(Open Folder)(.*)$
|
||||||
|
windowrule=float,title:^(Save As)(.*)$
|
||||||
|
windowrule=float,title:^(Library)(.*)$
|
||||||
|
windowrule=float,title:^(File Upload)(.*)$
|
||||||
|
|
119
hprland/.config/hypr/hyprland.conf
Normal file
119
hprland/.config/hypr/hyprland.conf
Normal file
@ -0,0 +1,119 @@
|
|||||||
|
|
||||||
|
exec-once = tmux setenv -g HYPRLAND_INSTANCE_SIGNATURE "$HYPRLAND_INSTANCE_SIGNATURE"
|
||||||
|
|
||||||
|
# #######################################################################################
|
||||||
|
# AUTOGENERATED HYPR CONFIG.
|
||||||
|
# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
||||||
|
# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||||
|
# #######################################################################################
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
autogenerated = 0 # remove this line to remove the warning
|
||||||
|
|
||||||
|
# This is an example Hyprland config file.
|
||||||
|
# Refer to the wiki for more information.
|
||||||
|
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/
|
||||||
|
|
||||||
|
# Please note not all available settings / options are set here.
|
||||||
|
# For a full list, see the wiki
|
||||||
|
|
||||||
|
# You can split this configuration into multiple files
|
||||||
|
# Create your files separately and then link them to this file like this:
|
||||||
|
# source = ~/.config/hypr/myColors.conf
|
||||||
|
|
||||||
|
|
||||||
|
################
|
||||||
|
### MONITORS ###
|
||||||
|
################
|
||||||
|
|
||||||
|
source = ~/.config/hypr/conf/monitor.conf
|
||||||
|
|
||||||
|
################
|
||||||
|
### CURSOR ###
|
||||||
|
################
|
||||||
|
|
||||||
|
source = ~/.config/hypr/conf/cursor.conf
|
||||||
|
|
||||||
|
################
|
||||||
|
### ENVIRONMENT ###
|
||||||
|
################
|
||||||
|
|
||||||
|
source = ~/.config/hypr/conf/environment.conf
|
||||||
|
|
||||||
|
################
|
||||||
|
### KEYBOARD ###
|
||||||
|
################
|
||||||
|
|
||||||
|
source = ~/.config/hypr/conf/keyboard.conf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###################
|
||||||
|
### MY PROGRAMS ###
|
||||||
|
###################
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
|
|
||||||
|
# Set programs that you use
|
||||||
|
#
|
||||||
|
$terminal = kitty
|
||||||
|
$fileManager = thunar
|
||||||
|
$menu = wofi --show drun
|
||||||
|
$navigator = firefox
|
||||||
|
|
||||||
|
|
||||||
|
#################
|
||||||
|
### AUTOSTART ###
|
||||||
|
#################
|
||||||
|
|
||||||
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||||
|
# Or execute your favorite apps at launch like this:
|
||||||
|
|
||||||
|
source = ~/.config/hypr/conf/autostart.conf
|
||||||
|
# exec-once = $terminal
|
||||||
|
# exec-once = nm-applet &
|
||||||
|
# exec-once = waybar & hyprpaper & firefox
|
||||||
|
|
||||||
|
|
||||||
|
#####################
|
||||||
|
### LOOK AND FEEL ###
|
||||||
|
#####################
|
||||||
|
|
||||||
|
source = ~/.config/hypr/conf/window.conf
|
||||||
|
source = ~/.config/hypr/conf/decoration.conf
|
||||||
|
source = ~/.config/hypr/conf/layout.conf
|
||||||
|
source = ~/.config/hypr/conf/misc.conf
|
||||||
|
source = ~/.config/hypr/conf/keybinding.conf
|
||||||
|
source = ~/.config/hypr/conf/windowrule.conf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#animations
|
||||||
|
animations {
|
||||||
|
enabled = true
|
||||||
|
|
||||||
|
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||||
|
|
||||||
|
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||||
|
|
||||||
|
animation = windows, 1, 7, myBezier
|
||||||
|
animation = windowsOut, 1, 7, default, popin 80%
|
||||||
|
animation = border, 1, 10, default
|
||||||
|
animation = borderangle, 1, 8, default
|
||||||
|
animation = fade, 1, 7, default
|
||||||
|
animation = workspaces, 1, 6, default
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Example per-device config
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||||
|
device {
|
||||||
|
name = epic-mouse-v1
|
||||||
|
sensitivity = -0.5
|
||||||
|
}
|
||||||
|
##############################
|
||||||
|
### WINDOWS AND WORKSPACES ###
|
||||||
|
##############################
|
||||||
|
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
3
hprland/.config/hypr/hyprpaper.conf
Normal file
3
hprland/.config/hypr/hyprpaper.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
preload = $HOME/.config/hypr/assets/wallpaper.jpg
|
||||||
|
wallpaper = ,$HOME/.config/hypr/assets/wallpaper.jpg
|
||||||
|
splash = false
|
274
wm/.config/waybar/config.jsonc
Normal file
274
wm/.config/waybar/config.jsonc
Normal file
@ -0,0 +1,274 @@
|
|||||||
|
// -*- mode: jsonc -*-
|
||||||
|
{
|
||||||
|
// "layer": "top", // Waybar at top layer
|
||||||
|
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
||||||
|
"height": 20, // Waybar height (to be removed for auto height)
|
||||||
|
// "width": 1280, // Waybar width
|
||||||
|
"spacing": 4, // Gaps between modules (4px)
|
||||||
|
// Choose the order of the modules
|
||||||
|
"modules-left": [
|
||||||
|
"hyprland/workspaces",
|
||||||
|
"hyprland/submap",
|
||||||
|
"mpris",
|
||||||
|
"custom/updates"
|
||||||
|
],
|
||||||
|
"modules-center": [
|
||||||
|
"hyprland/window"
|
||||||
|
],
|
||||||
|
"modules-right": [
|
||||||
|
"idle_inhibitor",
|
||||||
|
"pulseaudio",
|
||||||
|
"network",
|
||||||
|
"cpu",
|
||||||
|
"memory",
|
||||||
|
"temperature",
|
||||||
|
"backlight",
|
||||||
|
"keyboard-state",
|
||||||
|
"battery",
|
||||||
|
"battery#bat2",
|
||||||
|
"clock",
|
||||||
|
"tray",
|
||||||
|
"custom/power"
|
||||||
|
],
|
||||||
|
// Modules configuration
|
||||||
|
// "sway/workspaces": {
|
||||||
|
// "disable-scroll": true,
|
||||||
|
// "all-outputs": true,
|
||||||
|
// "warp-on-scroll": false,
|
||||||
|
// "format": "{name}: {icon}",
|
||||||
|
// "format-icons": {
|
||||||
|
// "1": "",
|
||||||
|
// "2": "",
|
||||||
|
// "3": "",
|
||||||
|
// "4": "",
|
||||||
|
// "5": "",
|
||||||
|
// "urgent": "",
|
||||||
|
// "focused": "",
|
||||||
|
// "default": ""
|
||||||
|
// }
|
||||||
|
// },
|
||||||
|
"keyboard-state": {
|
||||||
|
"numlock": true,
|
||||||
|
"capslock": true,
|
||||||
|
"format": "{name} {icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"locked": "",
|
||||||
|
"unlocked": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hyprland/submap": {
|
||||||
|
"format": "<span style=\"italic\">{}</span>"
|
||||||
|
},
|
||||||
|
"sway/scratchpad": {
|
||||||
|
"format": "{icon} {count}",
|
||||||
|
"show-empty": false,
|
||||||
|
"format-icons": ["", ""],
|
||||||
|
"tooltip": true,
|
||||||
|
"tooltip-format": "{app}: {title}"
|
||||||
|
},
|
||||||
|
// "mpd": {
|
||||||
|
// "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
|
||||||
|
// "format-disconnected": "Disconnected ",
|
||||||
|
// "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
|
||||||
|
// "unknown-tag": "N/A",
|
||||||
|
// "interval": 5,
|
||||||
|
// "consume-icons": {
|
||||||
|
// "on": " "
|
||||||
|
// },
|
||||||
|
// "random-icons": {
|
||||||
|
// "off": "<span color=\"#f53c3c\"></span> ",
|
||||||
|
// "on": " "
|
||||||
|
// },
|
||||||
|
// "repeat-icons": {
|
||||||
|
// "on": " "
|
||||||
|
// },
|
||||||
|
// "single-icons": {
|
||||||
|
// "on": "1 "
|
||||||
|
// },
|
||||||
|
// "state-icons": {
|
||||||
|
// "paused": "",
|
||||||
|
// "playing": ""
|
||||||
|
// },
|
||||||
|
// "tooltip-format": "MPD (connected)",
|
||||||
|
// "tooltip-format-disconnected": "MPD (disconnected)"
|
||||||
|
// },
|
||||||
|
//"custom/waybar-mpris": {
|
||||||
|
// "return-type": "json",
|
||||||
|
// "exec": "waybar-mpris --position --autofocus --pause \uf04d --play \uf04b",
|
||||||
|
// "on-click": "waybar-mpris --send toggle",
|
||||||
|
// // This option will switch between players on right click.
|
||||||
|
// "on-click-right": "waybar-mpris --send player-next",
|
||||||
|
// // The options below will switch the selected player on scroll
|
||||||
|
// // "on-scroll-up": "waybar-mpris --send player-next",
|
||||||
|
// // "on-scroll-down": "waybar-mpris --send player-prev",
|
||||||
|
// // The options below will go to next/previous track on scroll
|
||||||
|
// // "on-scroll-up": "waybar-mpris --send next",
|
||||||
|
// // "on-scroll-down": "waybar-mpris --send prev",
|
||||||
|
// "escape": true
|
||||||
|
//},
|
||||||
|
"mpris": {
|
||||||
|
"format": "{player_icon} {dynamic}",
|
||||||
|
"format-paused": "{status_icon} <i>{dynamic}</i>",
|
||||||
|
"player-icons": {
|
||||||
|
"default": "▶",
|
||||||
|
"mpv": "\uf03d",
|
||||||
|
"mpd": "🎵",
|
||||||
|
"firefox": "\uf269"
|
||||||
|
},
|
||||||
|
"status-icons": {
|
||||||
|
"paused": "⏸"
|
||||||
|
}
|
||||||
|
// "ignored-players": ["firefox"]
|
||||||
|
},
|
||||||
|
"idle_inhibitor": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"activated": "",
|
||||||
|
"deactivated": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tray": {
|
||||||
|
"spacing": 10
|
||||||
|
},
|
||||||
|
"clock": {
|
||||||
|
// "timezone": "America/New_York",
|
||||||
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||||
|
"format-alt": "{:%Y-%m-%d}",
|
||||||
|
"calendar": {
|
||||||
|
"mode" : "months",
|
||||||
|
"mode-mon-col" : 3,
|
||||||
|
"weeks-pos" : "right",
|
||||||
|
"on-scroll" : 1,
|
||||||
|
"format": {
|
||||||
|
"months": "<span color='#ffead3'><b>{}</b></span>",
|
||||||
|
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
||||||
|
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
|
||||||
|
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
||||||
|
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"actions": {
|
||||||
|
"on-click-right": "mode",
|
||||||
|
"on-scroll-up": "tz_up",
|
||||||
|
"on-scroll-down": "tz_down",
|
||||||
|
"on-scroll-up": "shift_up",
|
||||||
|
"on-scroll-down": "shift_down"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cpu": {
|
||||||
|
"format": "{usage}% ",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"format": "{}% "
|
||||||
|
},
|
||||||
|
"temperature": {
|
||||||
|
// "thermal-zone": 2,
|
||||||
|
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||||
|
"critical-threshold": 80,
|
||||||
|
// "format-critical": "{temperatureC}°C {icon}",
|
||||||
|
"format": "{temperatureC}°C {icon}",
|
||||||
|
"format-icons": ["", "", ""]
|
||||||
|
},
|
||||||
|
"backlight": {
|
||||||
|
// "device": "acpi_video1",
|
||||||
|
"format": "{percent}% {icon}",
|
||||||
|
"format-icons": ["", "", "", "", "", "", "", "", ""]
|
||||||
|
},
|
||||||
|
"battery": {
|
||||||
|
"states": {
|
||||||
|
// "good": 95,
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 15
|
||||||
|
},
|
||||||
|
"format": "{capacity}% {icon}",
|
||||||
|
"format-full": "{capacity}% {icon}",
|
||||||
|
"format-charging": "{capacity}% ",
|
||||||
|
"format-plugged": "{capacity}% ",
|
||||||
|
"format-alt": "{time} {icon}",
|
||||||
|
// "format-good": "", // An empty format will hide the module
|
||||||
|
// "format-full": "",
|
||||||
|
"format-icons": ["", "", "", "", ""]
|
||||||
|
},
|
||||||
|
"battery#bat2": {
|
||||||
|
"bat": "BAT2"
|
||||||
|
},
|
||||||
|
"power-profiles-daemon": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
|
||||||
|
"tooltip": true,
|
||||||
|
"format-icons": {
|
||||||
|
"default": "",
|
||||||
|
"performance": "",
|
||||||
|
"balanced": "",
|
||||||
|
"power-saver": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"network": {
|
||||||
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||||
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||||
|
"format-ethernet": "{ipaddr}/{cidr} ",
|
||||||
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||||
|
"format-linked": "{ifname} (No IP) ",
|
||||||
|
"format-disconnected": "Disconnected ⚠",
|
||||||
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||||
|
},
|
||||||
|
"pulseaudio": {
|
||||||
|
// "scroll-step": 1, // %, can be a float
|
||||||
|
"format": "{volume}% {icon} {format_source}",
|
||||||
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||||
|
"format-bluetooth-muted": " {icon} {format_source}",
|
||||||
|
"format-muted": " {format_source}",
|
||||||
|
"format-source": "{volume}% ",
|
||||||
|
"format-source-muted": "",
|
||||||
|
"format-icons": {
|
||||||
|
"headphone": "",
|
||||||
|
"hands-free": "",
|
||||||
|
"headset": "",
|
||||||
|
"phone": "",
|
||||||
|
"portable": "",
|
||||||
|
"car": "",
|
||||||
|
"default": ["", "", ""]
|
||||||
|
},
|
||||||
|
"on-click": "pavucontrol"
|
||||||
|
},
|
||||||
|
"custom/media": {
|
||||||
|
"format": "{icon} {}",
|
||||||
|
"return-type": "json",
|
||||||
|
"max-length": 40,
|
||||||
|
"format-icons": {
|
||||||
|
"spotify": "",
|
||||||
|
"default": "🎜"
|
||||||
|
},
|
||||||
|
"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
|
||||||
|
},
|
||||||
|
"custom/power": {
|
||||||
|
"format" : "⏻ ",
|
||||||
|
"tooltip": false,
|
||||||
|
"menu": "on-click",
|
||||||
|
"menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder
|
||||||
|
"menu-actions": {
|
||||||
|
"shutdown": "shutdown",
|
||||||
|
"reboot": "reboot",
|
||||||
|
"suspend": "systemctl suspend",
|
||||||
|
"hibernate": "systemctl hibernate"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"custom/updates": {
|
||||||
|
"format": "{} {icon}",
|
||||||
|
"return-type": "json",
|
||||||
|
"format-icons": {
|
||||||
|
"has-updates": "\uf021",
|
||||||
|
"updated": "\uf132"
|
||||||
|
},
|
||||||
|
"exec-if": "which waybar-module-pacman-updates",
|
||||||
|
"exec": "waybar-module-pacman-updates --interval-seconds 5 --network-interval-seconds 300",
|
||||||
|
"on-click": "kitty -e yay",
|
||||||
|
"tray": {
|
||||||
|
// "icon-size": 21,
|
||||||
|
"spacing": 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
246
wm/.config/waybar/style.css
Normal file
246
wm/.config/waybar/style.css
Normal file
@ -0,0 +1,246 @@
|
|||||||
|
* {
|
||||||
|
border: none;
|
||||||
|
/* `ttf-font-awesome` is required to be installed for icons */
|
||||||
|
font-family: "Cascadia Code", Helvetica, Arial, sans-serif, FontAwesome;
|
||||||
|
|
||||||
|
/* adjust font-size value to your liking: */
|
||||||
|
font-size: 13px;
|
||||||
|
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background-color: rgba(0, 0, 0, 0.9);
|
||||||
|
/* border-bottom: 3px solid rgba(100, 114, 125, 0.5); */
|
||||||
|
color: #ffffff;
|
||||||
|
/* transition-property: background-color; */
|
||||||
|
/* transition-duration: .5s; */
|
||||||
|
/* border-radius: 0; */
|
||||||
|
}
|
||||||
|
|
||||||
|
menu,
|
||||||
|
tooltip {
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 2px;
|
||||||
|
/* border: 1px solid ; */
|
||||||
|
background: rgba(0, 0, 0, 0.8);
|
||||||
|
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* window#waybar.hidden {
|
||||||
|
opacity: 0.2;
|
||||||
|
} */
|
||||||
|
|
||||||
|
/*
|
||||||
|
window#waybar.empty {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
window#waybar.solo {
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* window#waybar.termite {
|
||||||
|
background-color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar.chromium {
|
||||||
|
background-color: #000000;
|
||||||
|
border: none;
|
||||||
|
} */
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
/* padding: 0 0.4em; */
|
||||||
|
/* background-color: transparent; */
|
||||||
|
color: #ffffff;
|
||||||
|
/* Use box-shadow instead of border so the text isn't offset */
|
||||||
|
box-shadow: inset 0 -3px transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||||
|
#workspaces button:hover {
|
||||||
|
background: rgba(0, 0, 0, 0.9);
|
||||||
|
box-shadow: inset 0 -3px #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
background-color: #64727D;
|
||||||
|
/* box-shadow: inset 0 -3px #ffffff; */
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.urgent {
|
||||||
|
background-color: #eb4d4b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#submap {
|
||||||
|
background-color: #64727D;
|
||||||
|
/* border-bottom: 3px solid #ffffff; */
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock,
|
||||||
|
#battery,
|
||||||
|
#cpu,
|
||||||
|
#memory,
|
||||||
|
#temperature,
|
||||||
|
#backlight,
|
||||||
|
#network,
|
||||||
|
#pulseaudio,
|
||||||
|
#custom-media,
|
||||||
|
#custom-updates,
|
||||||
|
#tray,
|
||||||
|
#mode,
|
||||||
|
#idle_inhibitor,
|
||||||
|
#mpd {
|
||||||
|
padding: 0 10px;
|
||||||
|
margin: 6px 3px;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#window,
|
||||||
|
#workspaces {
|
||||||
|
margin: 0 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If workspaces is the leftmost module, omit left margin */
|
||||||
|
.modules-left > widget:first-child > #workspaces {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If workspaces is the rightmost module, omit right margin */
|
||||||
|
.modules-right > widget:last-child > #workspaces {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.charging {
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes blink {
|
||||||
|
to {
|
||||||
|
background-color: #ffffff;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.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;
|
||||||
|
}
|
||||||
|
|
||||||
|
label:focus {
|
||||||
|
background-color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#cpu {
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#memory {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#backlight {
|
||||||
|
color:white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network {
|
||||||
|
color:white;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#network.disconnected {
|
||||||
|
background-color: #f53c3c;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio {
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio.muted {
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-media {
|
||||||
|
background-color: #66cc99;
|
||||||
|
color: #2a5c45;
|
||||||
|
min-width: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-media.custom-spotify {
|
||||||
|
background-color: #66cc99;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-media.custom-vlc {
|
||||||
|
background-color: #ffa000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-updates {
|
||||||
|
color: #ffffff;
|
||||||
|
animation-timing-function: linear;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
animation-direction: alternate;
|
||||||
|
}
|
||||||
|
#custom-updates.pending-updates {
|
||||||
|
animation-name: blink-update;
|
||||||
|
animation-duration: 3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
#temperature {
|
||||||
|
background-color: #f0932b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#temperature.critical {
|
||||||
|
background-color: #eb4d4b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray {
|
||||||
|
background-color: #2980b9;
|
||||||
|
}
|
||||||
|
|
||||||
|
#idle_inhibitor {
|
||||||
|
background-color: #2d3436;
|
||||||
|
}
|
||||||
|
|
||||||
|
#idle_inhibitor.activated {
|
||||||
|
background-color: #ecf0f1;
|
||||||
|
color: #2d3436;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpd {
|
||||||
|
background-color: #66cc99;
|
||||||
|
color: #2a5c45;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpd.disconnected {
|
||||||
|
background-color: #f53c3c;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpd.stopped {
|
||||||
|
background-color: #90b1b1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpd.paused {
|
||||||
|
background-color: #51a37a;
|
||||||
|
}
|
||||||
|
|
||||||
|
#language {
|
||||||
|
background: #bbccdd;
|
||||||
|
color: #333333;
|
||||||
|
padding: 0 5px;
|
||||||
|
margin: 6px 3px;
|
||||||
|
min-width: 16px;
|
||||||
|
}
|
327
wm/.config/waybar/style.css.backup
Normal file
327
wm/.config/waybar/style.css.backup
Normal file
@ -0,0 +1,327 @@
|
|||||||
|
* {
|
||||||
|
/* `otf-font-awesome` is required to be installed for icons */
|
||||||
|
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background-color: rgba(43, 48, 59, 0.5);
|
||||||
|
border-bottom: 3px solid rgba(100, 114, 125, 0.5);
|
||||||
|
color: #ffffff;
|
||||||
|
transition-property: background-color;
|
||||||
|
transition-duration: .5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar.hidden {
|
||||||
|
opacity: 0.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
window#waybar.empty {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
window#waybar.solo {
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
window#waybar.termite {
|
||||||
|
background-color: #3F3F3F;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar.chromium {
|
||||||
|
background-color: #000000;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
/* Use box-shadow instead of border so the text isn't offset */
|
||||||
|
box-shadow: inset 0 -3px transparent;
|
||||||
|
/* Avoid rounded borders under each button name */
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||||
|
button:hover {
|
||||||
|
background: inherit;
|
||||||
|
box-shadow: inset 0 -3px #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* you can set a style on hover for any module like this */
|
||||||
|
#pulseaudio:hover {
|
||||||
|
background-color: #a37800;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
padding: 0 5px;
|
||||||
|
background-color: transparent;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
background: rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.focused {
|
||||||
|
background-color: #64727D;
|
||||||
|
box-shadow: inset 0 -3px #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.urgent {
|
||||||
|
background-color: #eb4d4b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mode {
|
||||||
|
background-color: #64727D;
|
||||||
|
box-shadow: inset 0 -3px #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock,
|
||||||
|
#battery,
|
||||||
|
#cpu,
|
||||||
|
#memory,
|
||||||
|
#disk,
|
||||||
|
#temperature,
|
||||||
|
#backlight,
|
||||||
|
#network,
|
||||||
|
#pulseaudio,
|
||||||
|
#wireplumber,
|
||||||
|
#custom-media,
|
||||||
|
#tray,
|
||||||
|
#mode,
|
||||||
|
#idle_inhibitor,
|
||||||
|
#scratchpad,
|
||||||
|
#power-profiles-daemon,
|
||||||
|
#mpd {
|
||||||
|
padding: 0 10px;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#window,
|
||||||
|
#workspaces {
|
||||||
|
margin: 0 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If workspaces is the leftmost module, omit left margin */
|
||||||
|
.modules-left > widget:first-child > #workspaces {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If workspaces is the rightmost module, omit right margin */
|
||||||
|
.modules-right > widget:last-child > #workspaces {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
background-color: #64727D;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery {
|
||||||
|
background-color: #ffffff;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.charging, #battery.plugged {
|
||||||
|
color: #ffffff;
|
||||||
|
background-color: #26A65B;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes blink {
|
||||||
|
to {
|
||||||
|
background-color: #ffffff;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Using steps() instead of linear as a timing function to limit cpu usage */
|
||||||
|
#battery.critical:not(.charging) {
|
||||||
|
background-color: #f53c3c;
|
||||||
|
color: #ffffff;
|
||||||
|
animation-name: blink;
|
||||||
|
animation-duration: 0.5s;
|
||||||
|
animation-timing-function: steps(12);
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
animation-direction: alternate;
|
||||||
|
}
|
||||||
|
|
||||||
|
#power-profiles-daemon {
|
||||||
|
padding-right: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#power-profiles-daemon.performance {
|
||||||
|
background-color: #f53c3c;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#power-profiles-daemon.balanced {
|
||||||
|
background-color: #2980b9;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#power-profiles-daemon.power-saver {
|
||||||
|
background-color: #2ecc71;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
label:focus {
|
||||||
|
background-color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#cpu {
|
||||||
|
background-color: #2ecc71;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#memory {
|
||||||
|
background-color: #9b59b6;
|
||||||
|
}
|
||||||
|
|
||||||
|
#disk {
|
||||||
|
background-color: #964B00;
|
||||||
|
}
|
||||||
|
|
||||||
|
#backlight {
|
||||||
|
background-color: #90b1b1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network {
|
||||||
|
background-color: #2980b9;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network.disconnected {
|
||||||
|
background-color: #f53c3c;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio {
|
||||||
|
background-color: #f1c40f;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio.muted {
|
||||||
|
background-color: #90b1b1;
|
||||||
|
color: #2a5c45;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wireplumber {
|
||||||
|
background-color: #fff0f5;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wireplumber.muted {
|
||||||
|
background-color: #f53c3c;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-media {
|
||||||
|
background-color: #66cc99;
|
||||||
|
color: #2a5c45;
|
||||||
|
min-width: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-media.custom-spotify {
|
||||||
|
background-color: #66cc99;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-media.custom-vlc {
|
||||||
|
background-color: #ffa000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#temperature {
|
||||||
|
background-color: #f0932b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#temperature.critical {
|
||||||
|
background-color: #eb4d4b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray {
|
||||||
|
background-color: #2980b9;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray > .passive {
|
||||||
|
-gtk-icon-effect: dim;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray > .needs-attention {
|
||||||
|
-gtk-icon-effect: highlight;
|
||||||
|
background-color: #eb4d4b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#idle_inhibitor {
|
||||||
|
background-color: #2d3436;
|
||||||
|
}
|
||||||
|
|
||||||
|
#idle_inhibitor.activated {
|
||||||
|
background-color: #ecf0f1;
|
||||||
|
color: #2d3436;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpd {
|
||||||
|
background-color: #66cc99;
|
||||||
|
color: #2a5c45;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpd.disconnected {
|
||||||
|
background-color: #f53c3c;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpd.stopped {
|
||||||
|
background-color: #90b1b1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpd.paused {
|
||||||
|
background-color: #51a37a;
|
||||||
|
}
|
||||||
|
|
||||||
|
#language {
|
||||||
|
background: #00b093;
|
||||||
|
color: #740864;
|
||||||
|
padding: 0 5px;
|
||||||
|
margin: 0 5px;
|
||||||
|
min-width: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#keyboard-state {
|
||||||
|
background: #97e1ad;
|
||||||
|
color: #000000;
|
||||||
|
padding: 0 0px;
|
||||||
|
margin: 0 5px;
|
||||||
|
min-width: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#keyboard-state > label {
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#keyboard-state > label.locked {
|
||||||
|
background: rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
#scratchpad {
|
||||||
|
background: rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
#scratchpad.empty {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
#privacy {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#privacy-item {
|
||||||
|
padding: 0 5px;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#privacy-item.screenshare {
|
||||||
|
background-color: #cf5700;
|
||||||
|
}
|
||||||
|
|
||||||
|
#privacy-item.audio-in {
|
||||||
|
background-color: #1ca000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#privacy-item.audio-out {
|
||||||
|
background-color: #0069d4;
|
||||||
|
}
|
@ -3,10 +3,10 @@ if [ -d "$HOME/.local/bin" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "/bin/Xorg" ]; then
|
if [ -f "/bin/Xorg" ]; then
|
||||||
[[ $(tty) == '/dev/tty1' ]] && startx ~/.xinitrc awesome
|
[[ $(tty) == '/dev/tty2' ]] && startx ~/.xinitrc awesome
|
||||||
[[ $(tty) == '/dev/tty3' ]] && startx ~/.xinitrc i3
|
[[ $(tty) == '/dev/tty3' ]] && startx ~/.xinitrc i3
|
||||||
fi
|
fi
|
||||||
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]] && [[ -z $XDG_SESSION_TYPE ]]; then
|
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]] ; then
|
||||||
XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session
|
XDG_SESSION_TYPE=wayland exec Hyprland
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -65,8 +65,8 @@ alias disconnect_momentum='bluetoothctl disconnect 00:1B:66:8E:46:27 && bluetoot
|
|||||||
alias _='sudo '
|
alias _='sudo '
|
||||||
|
|
||||||
#alias MPV o avoid gnome blank screen
|
#alias MPV o avoid gnome blank screen
|
||||||
alias mpv='gnome-session-inhibit mpv'
|
alias mpv='mpv'
|
||||||
alias jellyfin-mpv-shim='gnome-session-inhibit jellyfin-mpv-shim'
|
alias jellyfin-mpv-shim='jellyfin-mpv-shim'
|
||||||
|
|
||||||
#alias sortie de tmux en session ssh
|
#alias sortie de tmux en session ssh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user