add niri and update nvim config
This commit is contained in:
@@ -32,9 +32,8 @@ wl-paste --watch cliphist store &
|
||||
# xwaylandvideobridge &
|
||||
|
||||
## workspace
|
||||
kitty --single-instance --session '~/.local/share/kittymainsession' &
|
||||
|
||||
## network-manager tray icon
|
||||
sleep 1 &
|
||||
#sleep 1 &
|
||||
NetworkManager &
|
||||
nm-applet &
|
||||
|
||||
@@ -161,7 +161,7 @@ bind = , G, moveoutofgroup,
|
||||
bind = $mainMod, t, togglegroup
|
||||
#
|
||||
# lock window group
|
||||
bind = , l, lockactivegroup, toggle
|
||||
bind = SHIFT_L, l, lockactivegroup, toggle
|
||||
|
||||
# use reset to go backc to the global submap
|
||||
bind = , escape, submap, reset
|
||||
|
||||
2
.config/hypr/hyprgestures.conf
Normal file
2
.config/hypr/hyprgestures.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
# gesture = fingers, direction, action, options
|
||||
gesture = 3, horizontal, workspace
|
||||
@@ -16,6 +16,7 @@ exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
source = ~/.config/hypr/background.conf
|
||||
source = ~/.config/hypr/hyprbindings.conf
|
||||
source = ~/.config/hypr/hyprgestures.conf
|
||||
source = ~/.config/hypr/monitors.conf
|
||||
source = ~/.config/hypr/apps.conf
|
||||
source = ~/.config/hypr/windowrules.conf
|
||||
@@ -75,7 +76,7 @@ general {
|
||||
layout = dwindle
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
allow_tearing = true # as of 1.52, leaving this on true leads to game freezes
|
||||
}
|
||||
|
||||
decoration {
|
||||
@@ -88,8 +89,10 @@ decoration {
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 1
|
||||
passes = 3
|
||||
# size = 2
|
||||
# passes = 5
|
||||
size = 2
|
||||
passes = 5
|
||||
brightness = 0.6
|
||||
popups = true
|
||||
vibrancy = 0.2
|
||||
@@ -139,7 +142,11 @@ animations {
|
||||
animation = workspaces, 1, 5, default
|
||||
}
|
||||
render {
|
||||
direct_scanout = 2 #auto
|
||||
direct_scanout = 1
|
||||
# direct_scanout = 2 #auto
|
||||
send_content_type = 0
|
||||
cm_auto_hdr = 0
|
||||
cm_fs_passthrough = 1
|
||||
}
|
||||
|
||||
dwindle {
|
||||
@@ -155,7 +162,7 @@ master {
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = on
|
||||
# workspace_swipe = on
|
||||
}
|
||||
|
||||
misc {
|
||||
@@ -164,6 +171,12 @@ misc {
|
||||
vfr = true
|
||||
}
|
||||
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
use_nearest_neighbor = false
|
||||
}
|
||||
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
||||
device {
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
preload=~/Pictures/backgrounds/transistor.jpg
|
||||
preload=~/Pictures/backgrounds/pexels-eberhardgross-lakemountainstars.jpg
|
||||
#preload=~/Pictures/backgrounds/transistor.jpg
|
||||
#preload=~/Pictures/backgrounds/pexels-eberhardgross-lakemountainstars.jpg
|
||||
preload=~/Pictures/backgrounds/hibiscus-flowers-5k-5120x2880-16240.jpg
|
||||
|
||||
#wallpaper=,~/Pictures/backgrounds/transistor.jpg
|
||||
#wallpaper=,~/Pictures/backgrounds/pexels-eberhardgross.jpg
|
||||
wallpaper=,~/Pictures/backgrounds/pexels-eberhardgross-lakemountainstars.jpg
|
||||
#wallpaper=,~/Pictures/backgrounds/pexels-eberhardgross-lakemountainstars.jpg
|
||||
wallpaper=,~/Pictures/backgrounds/hibiscus-flowers-5k-5120x2880-16240.jpg
|
||||
|
||||
@@ -1,20 +1,26 @@
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/ monitor=name,resolution,offset, scale offset scales with scale XC
|
||||
|
||||
# for a triple monitor setup > 1: down + 2: center + 3: right -- LAPTOP
|
||||
monitor=eDP-1,1920x1080,0x0,1,vrr, 1
|
||||
monitor= ,highres@highrr,auto-up,auto
|
||||
monitor=eDP-1,1920x1080,0x0,1,vrr, 1
|
||||
|
||||
# monitor=DP-1,preferred,auto, 1, mirror, eDP-1 # presentation
|
||||
# monitor=DP-1,preferred,auto, 2 # presentation
|
||||
# monitor=eDP-1,1920x1080,0x0,1,mirror,DP-1
|
||||
|
||||
|
||||
monitor=desc:Iiyama North America PL2492H 1151164104155,highres@highrr,1920x-1260,auto, bitdepth, 10, vrr, 1
|
||||
# for a triple monitor setup > 1: down + 2: center + 3: right -- LAPTOP
|
||||
|
||||
#monitor=desc:Iiyama North America PL2492H 1151164104155,highres@highrr,1920x-1260,auto, bitdepth, 10, vrr, 1
|
||||
#monitor=desc:Iiyama North America PL2492H 1151164104155,disable
|
||||
monitor=desc:Iiyama North America PL2797Q 12328405B1733,highres@99.90,-640x-1440,auto, bitdepth, 10, vrr, 1
|
||||
#monitor=desc:Iiyama North America PL2797Q 12328405B1733,highres@99.90,-640x-1440,auto, bitdepth, 10, vrr, 1
|
||||
monitor=desc:LG Electronics LG HDR 4K 0x0007E545, 2560x1440,auto-up,1 #4k on HDMI :C
|
||||
|
||||
monitor=desc:Iiyama North America PL2492H 11511811A1794,highres@highrr,auto-up,auto, bitdepth, 10, vrr, 1
|
||||
#monitor=desc:Iiyama North America PL2492H 11511811A1794,highres@highrr,auto-up,auto, bitdepth, 10, vrr, 1
|
||||
#monitor=desc:Iiyama North America PL2792Q 1216731821134,highres@highrr,-640x-1440,auto, bitdepth, 10, vrr, 1
|
||||
|
||||
## Variant 3
|
||||
monitor=eDP-1,1920x1080,auto-down,1,vrr, 1
|
||||
monitor=desc:Iiyama North America PL2492H 1151164104155,highres@highrr,auto-left, auto, vrr, 1
|
||||
monitor=desc:Iiyama North America PL2492H 1151164104155,highres@highrr,auto-left, auto, vrr, 0
|
||||
monitor=desc:Iiyama North America PL2492H 11511811A1794,highres@highrr,0x0, auto, vrr, 1
|
||||
|
||||
# ---
|
||||
@@ -26,6 +32,8 @@ monitor=desc:Philips Consumer Electronics Company PHL 272B8Q UK01945026658,highr
|
||||
#monitor=desc:Iiyama North America PLG2888UH 0x01010101,preferred,auto-left, auto, bitdepth, 8, vrr, 1
|
||||
|
||||
monitor=desc:Advanced Micro Peripherals Ltd ES07D03 EVE213400622,preferred,auto-right, 1, bitdepth, 8, vrr, 1, cm, auto
|
||||
# monitor=desc:Advanced Micro Peripherals Ltd ES07D03 EVE213400622,preferred,auto-right, 1, bitdepth, 10, vrr, 1, cm, srgb
|
||||
# monitor=desc:Advanced Micro Peripherals Ltd ES07D03 EVE213400622,preferred,auto-right, 1, bitdepth, 10, vrr, 1, cm, dcip3
|
||||
monitor=desc:Iiyama North America PLG2888UH 0x01010101,preferred,auto-left, 1, bitdepth, 8, vrr, 1
|
||||
|
||||
# turn off second monitor:
|
||||
@@ -35,7 +43,8 @@ monitor=desc:Iiyama North America PLG2888UH 0x01010101,preferred,auto-left, 1, b
|
||||
|
||||
#10 bit color depth
|
||||
#monitor=desc:Advanced Micro Peripherals Ltd ES07D03 EVE213400622,preferred,auto-right, 1, bitdepth, 10, vrr, 1, cm, edid, sdrbrightness, 1.12, sdrsaturation, 1.28
|
||||
#monitor=desc:Advanced Micro Peripherals Ltd ES07D03 EVE213400622,preferred,auto-right, 1, bitdepth, 10, vrr, 1, cm, wide, sdrbrightness, 1.12, sdrsaturation, 1.28
|
||||
# monitor=desc:Advanced Micro Peripherals Ltd ES07D03 EVE213400622,preferred,auto-right, 1, bitdepth, 10, vrr, 1, cm, srgb
|
||||
# monitor=desc:Advanced Micro Peripherals Ltd ES07D03 EVE213400622,preferred,auto-right, 1, bitdepth, 10, vrr, 1, cm, dcip3
|
||||
|
||||
# hdr for primary monitor
|
||||
#monitor=desc:Advanced Micro Peripherals Ltd ES07D03 EVE213400622,preferred,auto-right, 1, bitdepth, 10, vrr, 1, cm, hdredid, sdrbrightness, 1.22, sdrsaturation, 1.08
|
||||
|
||||
1
.config/hypr/tofi_scripts/cliphist.sh
Executable file
1
.config/hypr/tofi_scripts/cliphist.sh
Executable file
@@ -0,0 +1 @@
|
||||
cliphist list | awk '{gsub("\t", " "); print}'\ | tofi --width=800 --font-size=14 --font-features="" --anchor=bottom-right --background-color=191A1CE0 | awk '{print $1}' | tr -d '\n' | cliphist decode | wl-copy
|
||||
@@ -1,23 +1,29 @@
|
||||
|
||||
|
||||
# Example windowrule v2 windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ See https://wiki.hyprland.org/Configuring/Window-Rules/ for more now invalid: # windowrulev2 = nomaximizerequest, class:.* # You'll probably like this. windowrulev2 = float, pinned, class:^(dunst)$ windowrulev2 = float, pinned, class:^(notification)$
|
||||
windowrulev2 = float, pinned, title:^(Nextcloud)$
|
||||
windowrulev2 = float, pin, title:^(Nextcloud)$
|
||||
windowrulev2 = float, title:^(Volume Control)$
|
||||
windowrulev2 = float, title:^(Network Connections)$
|
||||
windowrulev2 = float, size 400 800, stayfocused, dimaround, fullscreenstate, 0, title:(Bitwarden.*)
|
||||
windowrulev2 = float, size 300 700, stayfocused, dimaround, fullscreenstate, 0, class:^(org.kde.kwalletd6)$
|
||||
windowrulev2 = float, pin, workspace unset, noinitialfocus, suppressevents [fullscreen, maximize, activate, activatefocus], title:^(notificationtoasts)
|
||||
windowrulev2 = float, pin, workspace unset, noinitialfocus, suppressevents [fullscreen, maximize, activate, activatefocus], initialTitle:^(Calendar Reminders)$
|
||||
windowrulev2 = float, size 700 1050, stayfocused, dimaround, fullscreenstate 0, title:(Bitwarden.*)
|
||||
windowrulev2 = float, size 300 700, stayfocused, dimaround, fullscreenstate 0, class:^(org.kde.kwalletd6)$
|
||||
windowrulev2 = float, size 500 700, stayfocused, dimaround, fullscreenstate 0, initialClass:^(hyprland-share-picker)$
|
||||
windowrulev2 = float, initialTitle:^(Check Spelling)$
|
||||
windowrulev2 = float, pin, workspace unset, noinitialfocus, suppressevents fullscreen maximize activate activatefocus, title:^(notificationtoasts)
|
||||
windowrulev2 = float, pin, workspace unset, noinitialfocus, suppressevents fullscreen maximize activate activatefocus, initialTitle:^(Calendar Reminders)$
|
||||
windowrulev2 = float, initialTitle:^(Editor Settings)$
|
||||
windowrulev2 = float, pin, workspace unset, title:(Picture in picture)
|
||||
|
||||
# prevent flicker and border appearance on Godot hover tooltip
|
||||
windowrulev2 = bordersize 0 gapsout 0, initialClass:^(Godot)$
|
||||
|
||||
## workspace rules
|
||||
workspace = 7, monitor:0
|
||||
workspace = w[1], bordersize:0, gapsout:0, rounding:true
|
||||
workspace = w[vt1], bordersize:0, gapsout:0, rounding:true
|
||||
workspace = w[t2-9], rounding:false
|
||||
# windows on special workspaces leave outer gaps
|
||||
workspace = s[true], gapsout:20, gapsin:5
|
||||
workspace = s[true], gapsout:15, gapsin:5
|
||||
# fullscreen windows leave no gaps and have decorations disabled
|
||||
workspace = f[1], gapsout:0, gapsin:0, bordersize:0, decorate:false, rounding:false
|
||||
workspace = f[1], gapsout:0, gapsin:0, bordersize:0, decorate:false, rounding:false, allow_tearing:true
|
||||
|
||||
|
||||
## Workspace allocation
|
||||
@@ -31,7 +37,7 @@ windowrulev2 = workspace 5, class:^(thunderbird)$
|
||||
|
||||
|
||||
## tag allocation
|
||||
# windowrulev2 = tag +comms, class:^[(org.telegram.desktop)(zapzap)(discord)(Slack)]$
|
||||
windowrulev2 = tag +comms, class:^[(org.telegram.desktop)(zapzap)(discord)(Slack)]$
|
||||
windowrulev2 = tag +comms, class:^(org.telegram.desktop)$
|
||||
windowrulev2 = tag +comms, class:^(discord)$
|
||||
windowrulev2 = tag +comms, class:^(Slack)$
|
||||
@@ -45,12 +51,14 @@ windowrulev2 = tag +game, class:^(gamescope)$
|
||||
windowrulev2 = tag +game, class:^(noita)$
|
||||
windowrulev2 = tag +game, class:^(steam_app.*)$
|
||||
windowrulev2 = tag +game, title:^(Dota 2)$
|
||||
windowrulev2 = tag +game, content game, fullscreen, immediate on, title:^(Dota 2)$
|
||||
|
||||
## Tag rules
|
||||
windowrulev2 = workspace 7, content game, immediate on, decorate off, idleinhibit fullscreen, class:^(gamescope)$
|
||||
windowrulev2 = workspace 7, content game, immediate on, decorate off, idleinhibit fullscreen, tag: game
|
||||
windowrulev2 = workspace 7, content game, immediate on, decorate off, idleinhibit fullscreen, fullscreen, class:^(gamescope)$
|
||||
windowrulev2 = workspace 7, content game, immediate on, decorate off, tile, idleinhibit fullscreen, fullscreen, tag: game
|
||||
windowrulev2 = workspace special:A silent, noinitialfocus, tag: comms
|
||||
windowrulev2 = workspace special:S silent, noinitialfocus, idleinhibit focus, tag: music
|
||||
windowrulev2 = stayfocused, pin, renderunfocused, initialTitle:^(ULTRAKILL)$
|
||||
|
||||
## Idle inhibit
|
||||
windowrulev2 = idleinhibit fullscreen, fullscreen:1
|
||||
|
||||
Reference in New Issue
Block a user