Add Obsidian to waybar, comment out nvidia-specific env vars

Add Obsidian as a waybar app launcher button alongside existing
launchers. Comment out nvidia-specific environment variables in
hypr/base.conf (LIBVA_DRIVER_NAME, GBM_BACKEND, etc.) so the
config works on all systems by default. Also includes prior
uncommitted changes: .gitignore updates, hyprpaper config,
package list updates, and various hypr config refinements.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-12 22:53:53 +01:00
parent 3ba75c032a
commit b0a45417ea
9 changed files with 103 additions and 30 deletions

View File

@@ -25,7 +25,7 @@ monitor=,preferred,auto,1
$terminal = kitty
$fileManager = kitty -e ranger
$menu = hyprlauncher
$menu = wofi --show drun
###################
### CURSOR ###
@@ -35,11 +35,6 @@ env = XCURSOR_THEME,Miku Cursor
env = XCURSOR_SIZE,48
env = HYPRCURSOR_SIZE,48
# fcitx5 input method for Pinyin
env = GTK_IM_MODULE,fcitx
env = QT_IM_MODULE,fcitx
env = XMODIFIERS,@im=fcitx
#################
### AUTOSTART ###
#################
@@ -51,8 +46,6 @@ exec-once = dunst
exec-once = hypridle
exec-once = hyprpaper
exec-once = hyprsunset
exec-once = hyprlauncher
exec-once = fcitx5 -d
exec-once = waterfox
exec-once = waybar
# NOTE: ff-theme-util and fix_xcursor are X11-specific; drop or find Wayland equivalents
@@ -63,6 +56,12 @@ exec-once = waybar
### ENVIRONMENT VARIABLES ###
#############################
env = XDG_SESSION_TYPE,wayland
# NVIDIA-specific env vars — uncomment if running on nvidia:
# env = LIBVA_DRIVER_NAME,nvidia
# env = GBM_BACKEND,nvidia-drm
# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
# env = WLR_NO_HARDWARE_CURSORS,1
#####################
### LOOK AND FEEL ###
@@ -78,12 +77,7 @@ general {
resize_on_border = true
allow_tearing = false
layout = master # closest to i3's stacking default; use dwindle for split
}
render {
explicit_sync = true
explicit_sync_kms = true
layout = dwindle
}
xwayland {
@@ -136,7 +130,7 @@ misc {
#############
input {
kb_layout = gb,us
kb_layout = gb
kb_options = caps:swapescape,grp:alt_shift_toggle
follow_mouse = 1
sensitivity = 0
@@ -155,7 +149,7 @@ bind = $mod, Return, exec, $terminal
bind = $mod SHIFT, Q, killactive
# Launcher (wofi replaces dmenu)
bind = $mod, D, exec, hyprlauncher
bind = $mod, D, exec, $menu
# Pavucontrol
bind = $mod CTRL, M, exec, hyprpwcenter
@@ -194,6 +188,7 @@ bind = $mod SHIFT, E, exec, hyprshutdown
# System mode (replaces i3's $mode_system)
# Simple submap equivalent:
bind = $mod, 0, exec, notify-send -t 5000 "System Mode" "(l)ock (s)uspend (h)ibernate\n(r)eboot (Shift+s) shutdown (e)xit\n\nReturn/Escape to cancel"
bind = $mod, 0, submap, system
submap = system
bind = , L, exec, hyprlock
@@ -208,7 +203,9 @@ bind = SHIFT, S, exec, systemctl poweroff
bind = SHIFT, S, submap, reset
bind = , E, exec, hyprshutdown
bind = , E, submap, reset
bind = , Return, exec, dunstctl close
bind = , Return, submap, reset
bind = , Escape, exec, dunstctl close
bind = , Escape, submap, reset
submap = reset