mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-16 07:26:12 +01:00
moved to nvidia wayland
This commit is contained in:
2
.config/chrome-flags.conf
Normal file
2
.config/chrome-flags.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
--enable-features=WaylandWindowDecorations
|
||||
--ozone-platform-hint=auto
|
||||
1
.config/discord.conf
Normal file
1
.config/discord.conf
Normal file
@@ -0,0 +1 @@
|
||||
PATCH_KRISP=true
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"chromiumSwitches": {},
|
||||
"IS_MAXIMIZED": false,
|
||||
"IS_MAXIMIZED": true,
|
||||
"IS_MINIMIZED": false,
|
||||
"WINDOW_BOUNDS": {
|
||||
"x": 1950,
|
||||
"y": 52,
|
||||
"width": 2500,
|
||||
"height": 1378
|
||||
"x": 1941,
|
||||
"y": 21,
|
||||
"width": 2518,
|
||||
"height": 1398
|
||||
},
|
||||
"SKIP_HOST_UPDATE": true
|
||||
}
|
||||
2
.config/electron-flags.conf
Normal file
2
.config/electron-flags.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
--enable-features=WaylandWindowDecorations
|
||||
--ozone-platform-hint=auto
|
||||
9
.config/hypr/autostart.sh
Executable file
9
.config/hypr/autostart.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
dunst &
|
||||
swww-daemon &
|
||||
fcitx5 -d &
|
||||
kanata -c ~/.config/kanata/config.kbd &
|
||||
|
||||
waybar &
|
||||
$HOME/.config/hypr/session.sh &
|
||||
329
.config/hypr/hyprland.conf
Normal file
329
.config/hypr/hyprland.conf
Normal file
@@ -0,0 +1,329 @@
|
||||
# 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 ###
|
||||
################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=HDMI-A-1, preferred, 0x360, 1
|
||||
monitor=DP-1, highrr, 4480x0, 1
|
||||
monitor=DP-2, highrr, 1920x0, 1
|
||||
|
||||
|
||||
###################
|
||||
### MY PROGRAMS ###
|
||||
###################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
$fileManager = nemo
|
||||
$menu = rofi -show drun
|
||||
$lock = swaylock --screenshots --effect-pixelate 20 --effect-vignette 0.5:0.5 --fade-in 0.2
|
||||
$editor = zed
|
||||
$browser = firefox
|
||||
|
||||
#################
|
||||
### AUTOSTART ###
|
||||
#################
|
||||
|
||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||
|
||||
exec-once = hyprpm reload -n
|
||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once=zsh $HOME/.config/hypr/autostart.sh
|
||||
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
#############################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Environment-variables/
|
||||
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
|
||||
# Theming
|
||||
env = QT_QPA_PLATFORMTHEME,qt5ct
|
||||
|
||||
# Nvidia
|
||||
env = LIBVA_DRIVER_NAME,nvidia
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = GBM_BACKEND,nvidia-drm
|
||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||
env = WLR_NO_HARDWARE_CURSORS,1
|
||||
|
||||
# Wayland enforce
|
||||
env = QT_QPA_PLATFORM,wayland
|
||||
env = ELECTRON_OZONE_PLATFORM_HINT,wayland
|
||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||
env = XDG_SESSION_DESKTOP,Hyprland
|
||||
|
||||
# Java
|
||||
env = _JAVA_AWT_WM_NOREPARENTING,1
|
||||
env = _JAVA_OPTIONS,-Dawt.useSystemAAFontSettings=on
|
||||
|
||||
# Input
|
||||
env = QT_IM_MODULE, fcitx
|
||||
env = XMODIFIERS=@im=fcitx
|
||||
env = GLFW_IM_MODULE, ibus
|
||||
|
||||
# SSH Agents
|
||||
env = SSH_AUTH_SOCK, "$XDG_RUNTIME_DIR/ssh-agent.socket"
|
||||
|
||||
#####################
|
||||
### LOOK AND FEEL ###
|
||||
#####################
|
||||
|
||||
# Refer to https://wiki.hyprland.org/Configuring/Variables/
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#general
|
||||
general {
|
||||
gaps_in = 10
|
||||
gaps_out = 20
|
||||
|
||||
border_size = 1
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||
col.active_border = rgba(fabd2fee) rgba(fe8019ee) 45deg
|
||||
col.inactive_border = rgba(928374aa)
|
||||
|
||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||
resize_on_border = false
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||
decoration {
|
||||
rounding = 10
|
||||
|
||||
# Change transparency of focused and unfocused windows
|
||||
active_opacity = 0.98
|
||||
inactive_opacity = 0.95
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 15
|
||||
shadow_render_power = 3
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||
blur {
|
||||
enabled = true
|
||||
size = 4
|
||||
passes = 3
|
||||
|
||||
vibrancy = 0.1696
|
||||
}
|
||||
}
|
||||
|
||||
cursor {
|
||||
no_hardware_cursors = true
|
||||
}
|
||||
|
||||
# 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
|
||||
}
|
||||
|
||||
# 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/#misc
|
||||
misc {
|
||||
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
|
||||
}
|
||||
|
||||
|
||||
#############
|
||||
### INPUT ###
|
||||
#############
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||
input {
|
||||
kb_layout = pl
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
}
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||
gestures {
|
||||
workspace_swipe = false
|
||||
}
|
||||
|
||||
# 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
|
||||
# }
|
||||
|
||||
###############
|
||||
### PLUGINS ###
|
||||
###############
|
||||
|
||||
plugin {
|
||||
split-monitor-workspaces {
|
||||
count = 10
|
||||
keep_focused = 1
|
||||
enable_notifications = 0
|
||||
}
|
||||
}
|
||||
|
||||
####################
|
||||
### KEYBINDINGSS ###
|
||||
####################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod SHIFT, RETURN, exec, $terminal
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod SHIFT, Q, exit
|
||||
bind = $mainMod, N, exec, $fileManager
|
||||
bind = $mainMod, W, exec, $editor
|
||||
bind = $mainMod, Z, exec, $terminal
|
||||
bind = $mainMod, B, exec, $browser
|
||||
bind = $mainMod SHIFT, L, exec, $lock
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, R, exec, $menu
|
||||
bind = $mainMod, SPACE, exec, $menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
|
||||
# Move focus with mainMod + vim keys
|
||||
bind = $mainMod, H, movefocus, l
|
||||
bind = $mainMod, L, movefocus, r
|
||||
bind = $mainMod, K, movefocus, u
|
||||
bind = $mainMod, J, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, split-workspace, 1
|
||||
bind = $mainMod, 2, split-workspace, 2
|
||||
bind = $mainMod, 3, split-workspace, 3
|
||||
bind = $mainMod, 4, split-workspace, 4
|
||||
bind = $mainMod, 5, split-workspace, 5
|
||||
bind = $mainMod, 6, split-workspace, 6
|
||||
bind = $mainMod, 7, split-workspace, 7
|
||||
bind = $mainMod, 8, split-workspace, 8
|
||||
bind = $mainMod, 9, split-workspace, 9
|
||||
bind = $mainMod, 0, split-workspace, 10
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1
|
||||
bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2
|
||||
bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3
|
||||
bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4
|
||||
bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5
|
||||
bind = $mainMod SHIFT, 6, split-movetoworkspacesilent, 6
|
||||
bind = $mainMod SHIFT, 7, split-movetoworkspacesilent, 7
|
||||
bind = $mainMod SHIFT, 8, split-movetoworkspacesilent, 8
|
||||
bind = $mainMod SHIFT, 9, split-movetoworkspacesilent, 9
|
||||
bind = $mainMod SHIFT, 0, split-movetoworkspacesilent, 10
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
bind = $mainMod, D, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, D, movetoworkspace, special:magic
|
||||
|
||||
# Move between monitors
|
||||
bind = $mainMod, code:60, focusmonitor, -1 # code 60 is a dot (.)
|
||||
bind = $mainMod, code:59, focusmonitor, +1 # code 59 is a comma (,)
|
||||
# bind = $mainMod SHIFT, BackSpace, movewindow, mon:+1,
|
||||
# bind = $mainMod SHIFT, code:59, changemonitorsilent, e-1
|
||||
# bind = $mainMod SHIFT, code:60, changemonitorsilent, e+1
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
bind = ,XF86AudioMicMute, exec, amixer set Capture toggle
|
||||
bind = ,XF86AudioMute, exec, amixer set Master toggle
|
||||
bind = ,XF86AudioRaiseVolume, exec, amixer set Master playback 2%+
|
||||
bind = ,XF86AudioLowerVolume, exec, amixer set Master playback 2%-
|
||||
bind = ,XF86MonBrightnessUp, exec, brightnessctl set 5%+
|
||||
bind = ,XF86MonBrightnessDown, exec, brightnessctl set 5%-
|
||||
# bind =CTRL,XF86Launch2, exec, hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1"
|
||||
# bind = SHIFT,XF86Launch2, exec, hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1.5"
|
||||
bind = SHIFT, XF86MonBrightnessDown, exec, brightnessctl set 1%
|
||||
bind = SHIFT, XF86MonBrightnessUp, exec, brightnessctl set 100%
|
||||
|
||||
# Screenshot a window
|
||||
bind = $mainMod, PRINT, exec, hyprshot -m window
|
||||
# Screenshot a monitor
|
||||
bind = , PRINT, exec, hyprshot -m output
|
||||
# Screenshot a region
|
||||
bind = $mainMod SHIFT, S, exec, hyprshot -m region
|
||||
|
||||
##############################
|
||||
### WINDOWS AND WORKSPACES ###
|
||||
##############################
|
||||
|
||||
# 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)$
|
||||
|
||||
windowrule=opacity 1.0 override 1.0, ^(firefox)$
|
||||
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
|
||||
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
||||
|
||||
windowrulev2 = float,class:^(flameshot)$
|
||||
windowrulev2 = pin,class:^(flameshot)$
|
||||
|
||||
windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noblur,class:^(xwaylandvideobridge)$
|
||||
12
.config/hypr/session.sh
Executable file
12
.config/hypr/session.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/zsh
|
||||
|
||||
lock="swaylock \
|
||||
--screenshots \
|
||||
--effect-pixelate 20 \
|
||||
--effect-vignette 0.5:0.5 \
|
||||
--fade-in 0.2"
|
||||
screenoff="hyprctl dispatch dpms off"
|
||||
screenon="hyprctl dispatch dpms on"
|
||||
|
||||
swayidle -w timeout 1200 "if pgrep -x swaylock; then $screenoff; fi" resume "$screenon" & disown
|
||||
swayidle -w timeout 600 "$lock" & disown
|
||||
246
.config/waybar/config.jsonc
Normal file
246
.config/waybar/config.jsonc
Normal file
@@ -0,0 +1,246 @@
|
||||
{
|
||||
"layer": "top", // Waybar at top layer
|
||||
"height": 32, // Waybar height (to be removed for auto height)
|
||||
"spacing": 0, // Gaps between modules (4px)
|
||||
"position": "top",
|
||||
"margin": "10 20 0",
|
||||
// Choose the order of the modules
|
||||
"modules-left": ["hyprland/workspaces", "custom/media"],
|
||||
"modules-center": ["hyprland/window"],
|
||||
"modules-right": [
|
||||
"mpris",
|
||||
// "idle_inhibitor",
|
||||
"pulseaudio",
|
||||
// "network",
|
||||
"cpu",
|
||||
"memory",
|
||||
// "temperature",
|
||||
// "backlight",
|
||||
// "keyboard-state",
|
||||
// "battery",
|
||||
"clock",
|
||||
"tray",
|
||||
],
|
||||
// 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": ""
|
||||
// }
|
||||
// },
|
||||
"hyprland/workspaces": {
|
||||
"active-only": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "一",
|
||||
"2": "二",
|
||||
"3": "三",
|
||||
"4": "四",
|
||||
"5": "五",
|
||||
"6": "六",
|
||||
"7": "七",
|
||||
"8": "八",
|
||||
"9": "九",
|
||||
"10": "十",
|
||||
"11": "一",
|
||||
"12": "二",
|
||||
"13": "三",
|
||||
"14": "四",
|
||||
"15": "五",
|
||||
"16": "六",
|
||||
"17": "七",
|
||||
"18": "八",
|
||||
"19": "九",
|
||||
"20": "十",
|
||||
"21": "一",
|
||||
"22": "二",
|
||||
"23": "三",
|
||||
"24": "四",
|
||||
"25": "五",
|
||||
"26": "六",
|
||||
"27": "七",
|
||||
"28": "八",
|
||||
"29": "九",
|
||||
"30": "十",
|
||||
},
|
||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e-1",
|
||||
"persistent-workspaces": {
|
||||
"HDMI-A-1": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
|
||||
"DP-1": [11, 12, 13, 14, 15, 16, 17, 18, 19, 20],
|
||||
"DP-2": [21, 22, 23, 24, 25, 26, 27, 28, 29, 30],
|
||||
},
|
||||
},
|
||||
"keyboard-state": {
|
||||
"numlock": false,
|
||||
"capslock": true,
|
||||
"format": "{name} {icon}",
|
||||
"format-icons": {
|
||||
"locked": "",
|
||||
"unlocked": "",
|
||||
},
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>",
|
||||
},
|
||||
"sway/scratchpad": {
|
||||
"format": "{icon} {count}",
|
||||
"show-empty": false,
|
||||
"format-icons": ["", ""],
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{app}: {title}",
|
||||
},
|
||||
"mpris": {
|
||||
"interval": 1,
|
||||
"format": "{player_icon} {status_icon}",
|
||||
"format-paused": "{player_icon} {status_icon}",
|
||||
"tooltip-format": "{player_icon} {dynamic}",
|
||||
"tooltip-format-paused": "{player_icon} {dynamic}",
|
||||
"player-icons": {
|
||||
"default": "",
|
||||
"mpv": "",
|
||||
"vlc": "",
|
||||
"spotify": "",
|
||||
},
|
||||
"status-icons": {
|
||||
"playing": "",
|
||||
"paused": "",
|
||||
"stopped": "",
|
||||
},
|
||||
// "ignored-players": ["firefox"]
|
||||
},
|
||||
"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": 2,
|
||||
"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)",
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": "",
|
||||
},
|
||||
},
|
||||
"tray": {
|
||||
// "icon-size": 21,
|
||||
"spacing": 10,
|
||||
"show-passive-items": true,
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%b%e %I:%M %p}",
|
||||
"tooltip-format": "<big>{:%d %B %Y}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format-alt": "{:%Y-%m-%d %I:%M %p}",
|
||||
},
|
||||
"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-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
"format-alt": "{time} {icon}",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
// "format-full": "",
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
},
|
||||
"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}",
|
||||
"on-click-right": "kitty nmtui",
|
||||
},
|
||||
"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/archicon": {
|
||||
"format": "",
|
||||
// "on-click":"nwg-menu -d -fm nemo -cmd-lock gtklock -va top",
|
||||
"on-click": "jgmenu_run",
|
||||
"tooltip": false,
|
||||
},
|
||||
}
|
||||
22
.config/waybar/gruvbox-dark.css
Normal file
22
.config/waybar/gruvbox-dark.css
Normal file
@@ -0,0 +1,22 @@
|
||||
@define-color background #282828;
|
||||
@define-color background-hard-contrast #1d2021;
|
||||
@define-color background-soft-contrast #32302f;
|
||||
@define-color foreground #ebdbb2;
|
||||
|
||||
@define-color black #282828;
|
||||
@define-color red #cc241d;
|
||||
@define-color green #98971a;
|
||||
@define-color yellow #d79921;
|
||||
@define-color blue #458588;
|
||||
@define-color magenta #b16286;
|
||||
@define-color cyan #689d6a;
|
||||
@define-color white #a89984;
|
||||
|
||||
@define-color bright-black #928374;
|
||||
@define-color bright-red #fb4934;
|
||||
@define-color bright-green #b8bb26;
|
||||
@define-color bright-yellow #fabd2f;
|
||||
@define-color bright-blue #83a598;
|
||||
@define-color bright-magenta #d3869b;
|
||||
@define-color bright-cyan #8ec07c;
|
||||
@define-color bright-white #ebdbb2;
|
||||
10
.config/waybar/launch.sh
Executable file
10
.config/waybar/launch.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/dash
|
||||
CONFIG_FILES="$HOME/.config/waybar/config.jsonc $HOME/.config/waybar/style.css"
|
||||
|
||||
trap "killall waybar" EXIT
|
||||
|
||||
while true; do
|
||||
killall waybar
|
||||
waybar &
|
||||
inotifywait -e create,modify $CONFIG_FILES
|
||||
done
|
||||
288
.config/waybar/style.css
Normal file
288
.config/waybar/style.css
Normal file
@@ -0,0 +1,288 @@
|
||||
@import "gruvbox-dark.css";
|
||||
|
||||
* {
|
||||
font-family: "JetBrainsMono Nerd Font", FontAwesome, Roboto, Helvetica,
|
||||
Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: @background-hard-contrast;
|
||||
color: @foreground;
|
||||
transition-property: background-color;
|
||||
transition-duration: 0.5s;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
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;
|
||||
}*/
|
||||
|
||||
#workspaces button {
|
||||
box-shadow: inset 0 -3px transparent;
|
||||
padding: 0 8px;
|
||||
background-color: @background;
|
||||
color: @foreground;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
#workspaces button:first-child {
|
||||
border-radius: 10px 0 0 10px;
|
||||
}
|
||||
|
||||
#workspaces button:last-child {
|
||||
border-radius: 0 10px 10px 0;
|
||||
}
|
||||
|
||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||
#workspaces button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
background-color: @background-soft-contrast;
|
||||
box-shadow: inset 0 -100px 0 -97px @bright-yellow;
|
||||
}
|
||||
|
||||
#workspaces button.empty {
|
||||
color: rgba(255, 255, 255, 0.2);
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @yellow;
|
||||
box-shadow: inset 0 -100px 0 -97px @bright-yellow;
|
||||
text-shadow: inherit;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: @background-soft-contrast;
|
||||
color: @foreground;
|
||||
box-shadow: inset 0 -100px 0 -97px @bright-yellow;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: @bright-red;
|
||||
color: @background;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background-color: @background-soft-contrast;
|
||||
border-bottom: 3px solid @yellow;
|
||||
}
|
||||
|
||||
#cava,
|
||||
#clock,
|
||||
#battery,
|
||||
#cpu,
|
||||
#memory,
|
||||
#disk,
|
||||
#temperature,
|
||||
#backlight,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#wireplumber,
|
||||
#custom-media,
|
||||
#tray,
|
||||
#mpris,
|
||||
#keyboard-state,
|
||||
#mode,
|
||||
#battery,
|
||||
#idle_inhibitor,
|
||||
#scratchpad,
|
||||
#mpd {
|
||||
padding: 0 10px;
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
#window,
|
||||
#workspaces {
|
||||
margin: 0 4px;
|
||||
padding-top: 3px;
|
||||
}
|
||||
|
||||
.modules-right {
|
||||
background-color: @background-soft-contrast;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
#mpris {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
#clock {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
#battery {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
#battery.charging,
|
||||
#battery.plugged {
|
||||
color: #d3869b;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #fbf1c7;
|
||||
color: #df3f71;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
background-color: #282828;
|
||||
color: #d3869b;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
label:focus {
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
color: #458588;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
color: #fabd2f;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
background-color: #fbf1c7;
|
||||
color: #b57614;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
#memory {
|
||||
color: @magenta;
|
||||
}
|
||||
|
||||
#network {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
#network.disconnected {
|
||||
background-color: @bright-red;
|
||||
color: @background;
|
||||
}
|
||||
|
||||
/*#disk {
|
||||
background-color: #964B00;
|
||||
}*/
|
||||
|
||||
#pulseaudio {
|
||||
color: @cyan;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
background-color: #fbf1c7;
|
||||
color: #af3a03;
|
||||
}
|
||||
|
||||
#tray {
|
||||
}
|
||||
|
||||
#tray > .needs-attention {
|
||||
background-color: @bright-red;
|
||||
color: @background;
|
||||
}
|
||||
|
||||
#idle_inhibitor {
|
||||
background-color: #282828;
|
||||
color: #ebdbb2;
|
||||
}
|
||||
|
||||
#idle_inhibitor.activated {
|
||||
background-color: #fbf1c7;
|
||||
color: #3c3836;
|
||||
}
|
||||
|
||||
#custom-media {
|
||||
background-color: #66cc99;
|
||||
color: #2a5c45;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
#custom-media.custom-spotify {
|
||||
background-color: #66cc99;
|
||||
}
|
||||
|
||||
#custom-media.custom-vlc {
|
||||
background-color: #ffa000;
|
||||
}
|
||||
|
||||
#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);
|
||||
}
|
||||
4
.config/zsh/.zcompcache/SYS_ALL_UNITS--user
Normal file
4
.config/zsh/.zcompcache/SYS_ALL_UNITS--user
Normal file
File diff suppressed because one or more lines are too long
4
.config/zsh/.zcompcache/SYS_REALLY_ALL_UNITS--user
Normal file
4
.config/zsh/.zcompcache/SYS_REALLY_ALL_UNITS--user
Normal file
File diff suppressed because one or more lines are too long
1871
.config/zsh/.zcompdump
Normal file
1871
.config/zsh/.zcompdump
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,4 @@
|
||||
if [ "$(tty)" = "/dev/tty1" ];then
|
||||
exec startx
|
||||
# exec startx
|
||||
exec Hyprland
|
||||
fi
|
||||
|
||||
4
.zshenv
4
.zshenv
@@ -2,11 +2,11 @@
|
||||
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gcr/ssh;
|
||||
|
||||
export DEC_PACKAGELIST="$HOME/packages"
|
||||
|
||||
export WEBKIT_DISABLE_DMABUF_RENDERER=1
|
||||
# export QT_AUTO_SCREEN_SCALE_FACTOR=1;
|
||||
# export QT_ENABLE_HIGHDPI_SCALING=1;
|
||||
export QT_SCALE_FACTOR=1
|
||||
|
||||
export LD_LIBRARY_PATH=/opt/cuda/targets/x86_64-linux/lib
|
||||
# Defaults
|
||||
export TERM="kitty";
|
||||
export TERMINAL="kitty";
|
||||
|
||||
30
packages
30
packages
@@ -87,8 +87,6 @@ evolution
|
||||
rstudio-desktop-bin
|
||||
r
|
||||
steam
|
||||
lmstudio-appimage
|
||||
prismlauncher-qt5-bin
|
||||
nwg-look
|
||||
kvantum-qt5
|
||||
gvfs
|
||||
@@ -249,3 +247,31 @@ ttf-ubuntu-mono-nerd
|
||||
ttf-ubuntu-nerd
|
||||
ttf-victor-mono-nerd
|
||||
ttf-zed-mono-nerd
|
||||
handbrake
|
||||
python-poetry
|
||||
python-pyaudio
|
||||
espeak-ng
|
||||
swig
|
||||
python-espeak-ng
|
||||
wasm-pack
|
||||
bacon
|
||||
ollama-cuda
|
||||
qemu-full
|
||||
dnsmasq
|
||||
godot
|
||||
trunk
|
||||
thunderbird
|
||||
libvips
|
||||
webkit2gtk
|
||||
base-devel
|
||||
curl
|
||||
file
|
||||
openssl
|
||||
appmenu-gtk-module
|
||||
libappindicator-gtk3
|
||||
librsvg
|
||||
pnpm
|
||||
hoppscotch-bin
|
||||
wol
|
||||
zed-git
|
||||
topgrade
|
||||
|
||||
Reference in New Issue
Block a user