Compare commits
8 Commits
be52a4c459
...
86c0ceeaaa
| Author | SHA1 | Date | |
|---|---|---|---|
|
86c0ceeaaa
|
|||
|
034a8258d4
|
|||
|
b91afebd2a
|
|||
|
6865cd761f
|
|||
| 8b2a21af68 | |||
| d2c122e4c9 | |||
| e209973cb1 | |||
| 3eb5a27a02 |
@@ -1 +0,0 @@
|
|||||||
--ozone-platform-hint=auto
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
code-flags.conf
|
|
||||||
@@ -1,141 +1,131 @@
|
|||||||
|
|
||||||
#
|
|
||||||
# Please note not all available settings / options are set here.
|
|
||||||
# For a full list, see the wiki
|
|
||||||
#
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
|
||||||
monitor=,preferred,auto,auto
|
monitor=,preferred,auto,auto
|
||||||
|
|
||||||
|
# Load colors
|
||||||
|
source = ~/.config/hypr/nord-colors.conf
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
|
||||||
|
|
||||||
# Execute your favorite apps at launch
|
|
||||||
# exec-once = waybar & hyprpaper & firefox
|
|
||||||
|
|
||||||
# Source a file (multi-file configs)
|
|
||||||
# source = ~/.config/hypr/myColors.conf
|
|
||||||
|
|
||||||
# Some default env vars.
|
|
||||||
env = XCURSOR_SIZE,24
|
|
||||||
|
|
||||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
|
||||||
input {
|
input {
|
||||||
kb_layout = us
|
kb_layout = us
|
||||||
kb_variant =
|
kb_variant =
|
||||||
kb_model =
|
kb_model =
|
||||||
kb_options =
|
kb_options =
|
||||||
kb_rules =
|
kb_rules =
|
||||||
|
|
||||||
follow_mouse = 1
|
numlock_by_default = true
|
||||||
|
|
||||||
touchpad {
|
follow_mouse = 1
|
||||||
natural_scroll = no
|
|
||||||
}
|
|
||||||
|
|
||||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
touchpad {
|
||||||
|
natural_scroll = no
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
general {
|
general {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
||||||
|
|
||||||
gaps_in = 5
|
gaps_in = 5
|
||||||
gaps_out = 7
|
gaps_out = 3
|
||||||
border_size = 2
|
border_size = 2
|
||||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
col.active_border = $color3
|
||||||
col.inactive_border = rgba(595959aa)
|
col.inactive_border = $color0
|
||||||
layout = dwindle
|
layout = dwindle
|
||||||
}
|
}
|
||||||
|
|
||||||
decoration {
|
decoration {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
rounding = 5
|
||||||
|
blur {
|
||||||
|
enabled = true
|
||||||
|
special = false
|
||||||
|
size = 2
|
||||||
|
}
|
||||||
|
drop_shadow = yes
|
||||||
|
shadow_range = 4
|
||||||
|
shadow_render_power = 3
|
||||||
|
col.shadow = rgba(1a1a1aee)
|
||||||
|
dim_special = 0.6
|
||||||
|
}
|
||||||
|
|
||||||
rounding = 5
|
misc {
|
||||||
blur = yes
|
# disable_hyprland_logo = true
|
||||||
blur_size = 3
|
# disable_splash_rendering = true
|
||||||
blur_passes = 1
|
force_hypr_chan = true
|
||||||
blur_new_optimizations = on
|
animate_manual_resizes = true
|
||||||
|
animate_mouse_windowdragging = true
|
||||||
|
|
||||||
drop_shadow = yes
|
mouse_move_enables_dpms = true
|
||||||
shadow_range = 4
|
key_press_enables_dpms = true
|
||||||
shadow_render_power = 3
|
|
||||||
col.shadow = rgba(1a1a1aee)
|
enable_swallow = true
|
||||||
|
# swallow_regex = class regex
|
||||||
}
|
}
|
||||||
|
|
||||||
animations {
|
animations {
|
||||||
enabled = yes
|
enabled = yes
|
||||||
|
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||||
|
|
||||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
animation = windows, 1, 7, myBezier
|
||||||
|
animation = windowsOut, 1, 7, default, popin 80%
|
||||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
animation = border, 1, 10, default
|
||||||
|
animation = borderangle, 1, 8, default
|
||||||
animation = windows, 1, 7, myBezier
|
animation = fade, 1, 7, default
|
||||||
animation = windowsOut, 1, 7, default, popin 80%
|
animation = workspaces, 1, 6, default
|
||||||
animation = border, 1, 10, default
|
|
||||||
animation = borderangle, 1, 8, default
|
|
||||||
animation = fade, 1, 7, default
|
|
||||||
animation = workspaces, 1, 6, default
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dwindle {
|
dwindle {
|
||||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
pseudotile = yes
|
||||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
preserve_split = yes
|
||||||
preserve_split = yes # you probably want this
|
|
||||||
}
|
}
|
||||||
|
|
||||||
master {
|
master {
|
||||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
new_is_master = true
|
||||||
new_is_master = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gestures {
|
gestures {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
workspace_swipe = off
|
||||||
workspace_swipe = off
|
|
||||||
}
|
}
|
||||||
|
|
||||||
binds {
|
binds {
|
||||||
workspace_back_and_forth=true
|
workspace_back_and_forth = true
|
||||||
|
allow_workspace_cycles = true
|
||||||
}
|
}
|
||||||
|
|
||||||
# Example per-device config
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
|
||||||
device:zly-zelotes-game-mouse {
|
device:zly-zelotes-game-mouse {
|
||||||
sensitivity = -1
|
sensitivity = -1
|
||||||
}
|
}
|
||||||
|
|
||||||
# Window/Layer-Rules
|
|
||||||
|
|
||||||
|
# Window and layer rules
|
||||||
layerrule = noanim,rofi
|
layerrule = noanim,rofi
|
||||||
windowrulev2 = workspace special, class:^(Spotify)$
|
windowrulev2 = workspace special:spotify silent, class:^(Spotify)$
|
||||||
|
windowrulev2 = workspace special:term silent, class:^(scratchpad)$
|
||||||
# Example windowrule v1
|
|
||||||
# windowrule = float, ^(kitty)$
|
|
||||||
# Example windowrule v2
|
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
||||||
|
|
||||||
# Env
|
# Env
|
||||||
env = MOZ_ENABLE_WAYLAND,1
|
env = MOZ_ENABLE_WAYLAND,1
|
||||||
env = SDL_VIDEODRIVER,wayland
|
env = SDL_VIDEODRIVER,wayland
|
||||||
|
env = GDK_BACKEND=wayland,x11
|
||||||
|
env = QT_QPA_PLATFORM=wayland;xcb
|
||||||
|
env = XCURSOR_SIZE=24
|
||||||
|
|
||||||
# Autostart
|
# Autostart
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
exec-once = swaync
|
exec-once = swaync
|
||||||
exec-once = hyprpaper
|
exec-once = hyprpaper
|
||||||
|
exec-once = swayidle -w
|
||||||
|
exec-once = alacritty --class scratchpad
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# Keybinds
|
||||||
$mainMod = SUPER
|
$mainMod = SUPER
|
||||||
$mainModShift = SUPER_SHIFT
|
$mainModShift = SUPER_SHIFT
|
||||||
|
|
||||||
bind = $mainMod, Return, exec, alacritty
|
bind = $mainMod, Return, exec, alacritty
|
||||||
bind = $mainModShift, Q, exec, $XDG_CONFIG_HOME/hypr/killscript.sh
|
#bind = $mainModShift, Q, exec, $XDG_CONFIG_HOME/hypr/killscript.sh
|
||||||
|
bind = $mainMod, Tab, focuscurrentorlast
|
||||||
|
bind = $mainModShift, Q, killactive
|
||||||
bind = $mainModShift, E, exec, $XDG_CONFIG_HOME/rofi/powermenu.sh
|
bind = $mainModShift, E, exec, $XDG_CONFIG_HOME/rofi/powermenu.sh
|
||||||
bind = $mainModShift, Space, togglefloating
|
bind = $mainModShift, Space, togglefloating
|
||||||
bind = $mainMod, D, exec, rofi -show drun -theme $XDG_CONFIG_HOME/rofi/launcher.rasi
|
bind = $mainMod, D, exec, rofi -show drun -theme $XDG_CONFIG_HOME/rofi/launcher.rasi
|
||||||
bind = $mainMod, M, exec, $XDG_CONFIG_HOME/waybar/mute-toggle.sh
|
bind = $mainMod, M, exec, $XDG_CONFIG_HOME/waybar/mute-toggle.sh
|
||||||
#bind = $mainMod, P, pseudo, # dwindle
|
|
||||||
bind = $mainMod, J, togglesplit, # dwindle
|
bind = $mainMod, J, togglesplit, # dwindle
|
||||||
bind = $mainMod, F, fullscreen
|
bind = $mainMod, F, fullscreen
|
||||||
|
bind =, Print, exec, $XDG_DATA_HOME/scripts/share-screenshot.sh
|
||||||
|
|
||||||
# Audio buttons
|
# Audio buttons
|
||||||
binde =, XF86AudioRaiseVolume, exec, playerctl --player=spotify,%any volume 0.05+
|
binde =, XF86AudioRaiseVolume, exec, playerctl --player=spotify,%any volume 0.05+
|
||||||
@@ -169,16 +159,16 @@ bind = $mainMod, 9, workspace, 9
|
|||||||
bind = $mainMod, 0, workspace, 10
|
bind = $mainMod, 0, workspace, 10
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
|
||||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
|
||||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
|
||||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
|
||||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
|
||||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
|
||||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
|
||||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
|
||||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
|
||||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
|
||||||
|
|
||||||
# Scroll through existing workspaces with mainMod + scroll
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
bind = $mainMod, mouse_down, workspace, e+1
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
@@ -189,5 +179,6 @@ bindm = $mainMod, mouse:272, movewindow
|
|||||||
bindm = $mainMod, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
# Scratchpad
|
# Scratchpad
|
||||||
bind = $mainMod, F1, togglespecialworkspace
|
bind = $mainMod, F1, togglespecialworkspace, term
|
||||||
|
bind = $mainMod, F2, togglespecialworkspace, spotify
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
Reddit wallpaper,$HOME/.local/share/scripts/set-reddit-bg.sh
|
|
||||||
Random wallpaper,$HOME/.local/share/scripts/random-bg.sh
|
|
||||||
Select wallpaper,$HOME/.local/share/scripts/select-bg.sh
|
|
||||||
Install Package,alacritty --class "floatme" -e "$XDG_DATA_HOME/scripts/pacman-install.sh"
|
|
||||||
Take screenshot,$XDG_DATA_HOME/scripts/take-selected-screenshot.sh
|
|
||||||
Share screenshot,$XDG_DATA_HOME/scripts/share-screenshot.sh
|
|
||||||
Upload last Steam screenshot,$XDG_DATA_HOME/scripts/upload-last-steam-screenshot.sh
|
|
||||||
Emoji,rofimoji --clipboarder xclip --typer xdotool
|
|
||||||
|
Can't render this file because it contains an unexpected character in line 4 and column 35.
|
@@ -1,18 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
WORKINGDIR="$HOME/.config/rofi/"
|
|
||||||
MAP="$WORKINGDIR/cmd.csv"
|
|
||||||
|
|
||||||
cat "$MAP" \
|
|
||||||
| cut -d ',' -f 1 \
|
|
||||||
| rofi -dmenu -i -p "Quick " \
|
|
||||||
| head -n 1 \
|
|
||||||
| xargs -i --no-run-if-empty grep "{}" "$MAP" \
|
|
||||||
| cut -d ',' -f 2 \
|
|
||||||
| head -n 1 \
|
|
||||||
| xargs -i --no-run-if-empty /bin/bash -c "{}"
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"height": 30, // Waybar height (to be removed for auto height)
|
"height": 30, // Waybar height (to be removed for auto height)
|
||||||
"spacing": 4, // Gaps between modules (4px)
|
"spacing": 4, // Gaps between modules (4px)
|
||||||
"modules-left": ["wlr/workspaces"],
|
"modules-left": ["hyprland/workspaces"],
|
||||||
"modules-center": [],
|
"modules-center": [],
|
||||||
"modules-right": ["custom/playerctl", "idle_inhibitor", "pulseaudio", "clock", "tray","custom/swaync"],
|
"modules-right": ["custom/playerctl", "idle_inhibitor", "pulseaudio", "clock", "tray","custom/swaync"],
|
||||||
"idle_inhibitor": {
|
"idle_inhibitor": {
|
||||||
|
|||||||
9
.local/share/flatpak/overrides/com.discordapp.Discord
Normal file
9
.local/share/flatpak/overrides/com.discordapp.Discord
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[Context]
|
||||||
|
filesystems=!xdg-videos;!xdg-pictures;!xdg-download
|
||||||
|
|
||||||
|
[Session Bus Policy]
|
||||||
|
org.kde.StatusNotifierWatcher=none
|
||||||
|
com.canonical.Unity.LauncherEntry=none
|
||||||
|
com.canonical.AppMenu.Registrar=none
|
||||||
|
com.canonical.indicator.application=none
|
||||||
|
org.kde.*=none
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
[Context]
|
||||||
|
filesystems=!xdg-run/app/com.discordapp.Discord;!xdg-documents;!xdg-desktop;xdg-config/MangoHud:ro;/srv/sdb2/home/niklas
|
||||||
5
.local/share/flatpak/overrides/com.valvesoftware.Steam
Normal file
5
.local/share/flatpak/overrides/com.valvesoftware.Steam
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[Context]
|
||||||
|
filesystems=!xdg-music;!xdg-pictures;!xdg-run/app/com.discordapp.Discord;xdg-config/MangoHud:ro;/srv/sdb2/home/niklas
|
||||||
|
|
||||||
|
[Environment]
|
||||||
|
MANGOHUD=1
|
||||||
6
.local/share/flatpak/overrides/net.lutris.Lutris
Normal file
6
.local/share/flatpak/overrides/net.lutris.Lutris
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[Context]
|
||||||
|
filesystems=!/run/media;!/media;/srv/sdb2/home/niklas;!home
|
||||||
|
|
||||||
|
[Session Bus Policy]
|
||||||
|
org.gnome.Mutter.DisplayConfig=none
|
||||||
|
org.kde.StatusNotifierWatcher=none
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
mpv --no-input-terminal --loop-file=inf "$2" --wid="$1" --panscan=1.0
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
SCRIPT=$(readlink -f "$0")
|
|
||||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
|
||||||
xwinwrap -fs -ov -ni -b -nf -- "$SCRIPTPATH/animated-wallpaper-mpv.sh" WID "$1"
|
|
||||||
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if test -t 0; then
|
|
||||||
>&2 echo "Provide a file"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
xclip -i -selection "clipboard" < /dev/stdin
|
|
||||||
|
|
||||||
notify-send -u low "${1:-Copied}"
|
|
||||||
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
#/usr/bin/env sh
|
|
||||||
set -e
|
|
||||||
|
|
||||||
DIR=${1:-$("pwd")}
|
|
||||||
SELECT=$(sxiv -N "floatme" -t -o "$DIR")
|
|
||||||
|
|
||||||
[[ -z "$SELECT" ]] && exit 0
|
|
||||||
|
|
||||||
COUNT=$(echo "$SELECT" | wc -l)
|
|
||||||
|
|
||||||
read -p "Remove these $COUNT item(s)? " -n 1 -r
|
|
||||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
|
||||||
then
|
|
||||||
while read -r line; do
|
|
||||||
rm $line
|
|
||||||
done <<< "$SELECT"
|
|
||||||
fi
|
|
||||||
|
|
||||||
29
.local/share/scripts/new-project.sh
Executable file
29
.local/share/scripts/new-project.sh
Executable file
@@ -0,0 +1,29 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
TYPES="Golang,Vite"
|
||||||
|
|
||||||
|
CHOISE=$(echo $TYPES | tr "," "\n" | fzf)
|
||||||
|
|
||||||
|
if [ -z "$CHOISE" ]; then
|
||||||
|
echo "No choise"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd $HOME/projects
|
||||||
|
|
||||||
|
case $CHOISE in
|
||||||
|
Golang)
|
||||||
|
cookiecutter https://git.kapelle.org/niklas/cookiecutter-golang
|
||||||
|
;;
|
||||||
|
Vite)
|
||||||
|
npm create vite@latest
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Unknown"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
ls -ltd ./*/ | head -n 1 | awk '{print $9}' | xargs -I {} code {}
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
wal -i $(readlink $XDG_CACHE_HOME/last-bg) -n
|
|
||||||
|
|
||||||
3
.profile
3
.profile
@@ -32,8 +32,9 @@ export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"
|
|||||||
export DOCKER_CONFIG="$XDG_CONFIG_HOME/docker"
|
export DOCKER_CONFIG="$XDG_CONFIG_HOME/docker"
|
||||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
||||||
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
|
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
|
||||||
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
#export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
||||||
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
|
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
|
||||||
export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages
|
export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages
|
||||||
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
|
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
|
||||||
#export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
|
#export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
|
||||||
|
export NO_AT_BRIDGE=1
|
||||||
|
|||||||
Reference in New Issue
Block a user