Compare commits

..

28 Commits

Author SHA1 Message Date
2e53054f29 feat: adapted waybar to rose-pine 2025-12-01 11:09:35 +01:00
f298612f1f fix: fixed paths in submodule 2025-10-03 12:45:28 +02:00
c05b21f2a1 feat: added p10k conf file 2025-10-03 12:42:02 +02:00
cb572f63ef fix: changed oh my zsh location 2025-10-03 12:13:18 +02:00
691f61dc75 feat: changed kitty theme to pine rose moon 2025-10-03 11:44:57 +02:00
e895f5de64 fix: migrated to new gesture configuration 2025-10-03 11:43:25 +02:00
80231254de feat: markt .svx files as markdown 2025-10-03 11:42:22 +02:00
f386d9dc8f fix: disabled notfications about lazyvim packages update 2025-10-03 11:41:29 +02:00
c8387cba8a feat: added zsh configs 2025-10-02 12:29:59 +02:00
d873613dc0 feat: added zsh as shell 2025-09-13 20:47:27 +02:00
175396522b feat: improved theming 2025-09-07 12:51:13 +02:00
c4b69185e3 fix: minor every day changes 2025-09-07 12:48:44 +02:00
ad05b24773 feat: changes kitty theming 2025-09-07 12:45:46 +02:00
2c3ccb816c feat: rewrite of nvim dotfiles 2025-09-07 12:42:40 +02:00
3dbe78f224 feat: moved env variables from hyprland to uwsm to fix many bugs 2025-09-07 12:37:58 +02:00
066c97083e started to mess with vim 2025-02-22 14:49:42 +01:00
ff2289c6a0 changed Kitty theme, fixed ssh problems and setup fish properly 2025-01-27 22:57:36 +01:00
79f700ca47 added userchromes to hide tabs 2025-01-15 16:50:27 +01:00
26a45b770f blurred waybar and added styling for power-profiles-daemon 2025-01-15 15:36:28 +01:00
0eadde5fb0 updated systemd user service 2025-01-15 11:29:37 +01:00
2a7506bfbf switched to uwsm 2025-01-10 23:09:51 +01:00
3bdbf51983 dynamic wallpapers :3 2025-01-09 00:38:14 +01:00
1652581f95 themed groups 2025-01-07 23:08:56 +01:00
248497f601 idk used the system 2024-12-31 12:03:00 +01:00
5cf15adc7e fixed blurr for Rofi and Dust and changes Dust background color for normal messages for a cleaner look 2024-12-17 11:01:39 +01:00
4d107cc763 fixed dunst dynamic height and added rofi app launcher 2024-12-16 16:04:28 +01:00
749498d65d idk what changed there 2024-12-14 11:29:29 +01:00
dd236dece2 switched back to HyprLock after beeing able to use the GPU directly thanks to all-ways-egpu 2024-12-14 11:27:44 +01:00
39 changed files with 2772 additions and 104 deletions

17
.bashrc Normal file
View File

@@ -0,0 +1,17 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} && ${SHLVL} == 1 ]]
then
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=''
exec fish $LOGIN_OPTION
fi
alias ls='ls --color=auto'
alias grep='grep --color=auto'
PS1='[\u@\h \W]\$ '

View File

@@ -8,7 +8,8 @@ IconSize=48
[ExtractDialog]
1920x1080 screen: Window-Maximized=true
DirHistory[$e]=$HOME/new-game-project/
3 screens: Window-Maximized=true
DirHistory[$e]=$HOME/Downloads/sw/,$HOME/new-game-project/
[General]
CloseActiveSplitView=false
@@ -22,7 +23,6 @@ Places Icons Static Size=22
[MainWindow]
MenuBar=Disabled
ToolBarsMovable=Disabled
[PreviewSettings]
Plugins=ffmpegthumbnailer,appimagethumbnail,com,audiothumbnail,avif,comicbookthumbnail,cursorthumbnail,djvuthumbnail,ebookthumbnail,exrthumbnail,directorythumbnail,heif,imagethumbnail,jpegthumbnail,jxl,kraorathumbnail,windowsexethumbnail,windowsimagethumbnail,mltpreview,opendocumentthumbnail,aseprite,svgthumbnail,gdk-pixbuf-thumbnailer,gsf-office

View File

@@ -27,7 +27,7 @@
width = 300
# The maximum height of a single notification, excluding the frame.
height = 300
height = (0,300)
# Position the notification in the top right corner
origin = top-right
@@ -100,7 +100,7 @@
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 2
frame_width = 0
# Defines color of the frame around the notification window.
frame_color = "#6f32a8"
@@ -340,7 +340,7 @@
#default_icon = /path/to/icon
[urgency_normal]
background = "#285577aa"
background = "#222222aa"
foreground = "#ffffff"
timeout = 10
override_pause_level = 30

View File

@@ -1,6 +1,6 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR __fish_initialized:3400
SETUVAR __fish_initialized:3800
SETUVAR budspencer_colors:000000\x1e083743\x1e445659\x1efdf6e3\x1eb58900\x1ecb4b16\x1edc121f\x1eaf005f\x1e6c71c4\x1e268bd2\x1e2aa198\x1e859900
SETUVAR budspencer_cursors:\x5c033\x5d12\x3b\x23268bd2\x5c007\x1e\x5c033\x5d12\x3b\x23b58900\x5c007\x1e\x5c033\x5d12\x3b\x23af005f\x5c007\x1e\x5c033\x5d12\x3b\x236c71c4\x5c007
SETUVAR budspencer_day:000000\x1e333333\x1e666666\x1effffff\x1effff00\x1eff6600\x1eff0000\x1eff0033\x1e3300ff\x1e00aaff\x1e00ffff\x1e00ff00
@@ -26,11 +26,12 @@ SETUVAR fish_color_operator:brcyan
SETUVAR fish_color_param:cyan
SETUVAR fish_color_quote:yellow
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_search_match:white\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_status:red
SETUVAR fish_color_user:brgreen
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_greeting:\x1d
SETUVAR fish_key_bindings:fish_vi_key_bindings
SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:yellow\x1e\x2di

View File

@@ -0,0 +1,4 @@
function ssh --description 'alias ssh=kitty +kitten ssh'
kitty +kitten ssh $argv
end

View File

@@ -1,5 +1,5 @@
general {
lock_cmd = pidof swaylock || swaylock # avoid starting multiple hyprlock instances.
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
}
@@ -29,6 +29,6 @@ listener {
}
listener {
timeout = 1800 # 30min
#on-timeout = systemctl suspend # suspend pc
timeout = 3600 # 30min
# on-timeout = systemctl suspend # suspend pc
}

View File

@@ -1,4 +1,4 @@
# #######################################################################################
#######################################################################################
# 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.
@@ -25,9 +25,15 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
#debug:disable_scale_checks = true
monitor= eDP-1,1920x1080@60.04900,0x0,1
monitor= HDMI-A-2,1920x1080@60.00,-1920x-1440,1
monitor= DP-3, 2560x1440@74.97,0x-1440,1
monitor= desc:Hewlett Packard HP 24es 3CM6310XHM,1920x1080@60.00,-1920x-1440,1
monitor= desc:AOC Q3279WG5B 0x00005175, 2560x1440@74.97,0x-1440,1
monitor= desc:Acer Technologies VG272U P 0x033000FF, 2560x1440@59.95100,0x-1440,1
#monitor = , preferred, auto, 1, mirror, eDP-1
#monitor= DP-3,1600x1200@60.00,auto,auto
###################
### MY PROGRAMS ###
###################
@@ -37,7 +43,7 @@ monitor= DP-3, 2560x1440@74.97,0x-1440,1
# Set programs that you use
$terminal = kitty
$fileManager = dolphin
$menu = rofi -show run
$menu = rofi -show drun -run-command "uwsm app -- {cmd}" -show-icons -icon-theme "Papirus"
#################
@@ -50,40 +56,44 @@ $menu = rofi -show run
# exec-once = $terminal
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox
exec-once = waybar
exec-once = dunst
exec-once = hypridle
exec-once = systemctl --user start hyprpolkitagent
#exec-once = ~/wallpaper/script.sh
#exec-once = uwsm app -- systemctl --user start hyprpolkitagent
exec-once = uwsm app -- syncthing
#exec-once = uwsm app -- keepassxc
#exec-once = nwg-dock-hyprland -x -mb 10 -mt -10
exec-once = ~/.config/hypr/start-xdg-hyprland.sh
#############################
### ENVIRONMENT VARIABLES ###
#############################
# See https://wiki.hyprland.org/Configuring/Environment-variables/
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
env = QT_QPA_PLATFORMTHEME,qt6ct
#env QT_QPA_PLATFORMTHEME=qt5ct dolphin
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_STYLE_OVERRIDE=kvantum
env = EDITOR, nano
env = GTK_THEME, Sweet:dark
env = TERM,xterm
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
#env = XCURSOR_SIZE,24
#env = XCURSOR_THEME,BreezeX-Black
#env = XCURSOR_PATH,$HOME/.icons
##env = HYPRCURSOR_SIZE,24
##env = HYPRCURSOR_THEME,rose-pine-cursor-hyprcursor
#env = QT_QPA_PLATFORMTHEME,qt6ct
##env QT_QPA_PLATFORMTHEME=qt5ct dolphin
#env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
#env = QT_AUTO_SCREEN_SCALE_FACTOR,1
#env = QT_QPA_PLATFORM,xcb
#env = QT_STYLE_OVERRIDE=kvantum
env = EDITOR, nvim
#env = GTK_THEME, Sweet:dark
#env = XDG_CURRENT_DESKTOP,Hyprland
#env = XDG_SESSION_TYPE,wayland
#env = XDG_SESSION_DESKTOP,Hyprland
#Dolphin open with
env = XDG_MENU_PREFIX,arch- kbuildsycoca6
#Nvidi Envs
#env = LIBVA_DRIVER_NAME,nvidia
#env = GBM_BACKEND,nvidia-drm
#env = GBM_BACKEND,nvidia
#env = DRI_PRIME,pci-0000_03_00_0
#env = __VK_LAYER_NV_optimus,NVIDIA_only
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = SHELL, fish
#env = AQ_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1
#env = VDPAU_DRIVER, nvidia
#env = SHELL, /bin/bash
cursor {
no_hardware_cursors = true
@@ -100,13 +110,13 @@ general {
gaps_in = 5
gaps_out = 10
border_size = 2
border_size = 0
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
#col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.active_border = rgba(3244a8aa) rgba(6f32a8aa) 45deg
#col.active_border
col.inactive_border = rgba(595959aa)
#col.active_border = rgba(3244a8aa) rgba(6f32a8aa) 45deg
#col.active_border = rgba(6f32a8aa)
#col.inactive_border = rgba(595959aa)
# Set to true enable resizing windows by clicking and dragging on borders and gaps
resize_on_border = false
@@ -116,7 +126,19 @@ general {
layout = dwindle
}
group{
# col.border_active = rgb(ffffff)
#col.border_active = rgba(3244a8aa) rgba(6f32a8aa) 45deg
#col.active_border
#col.border_inactive = rgba(595959aa)
groupbar{
# col.active = rgba(ffffff00
col.active = rgba(3244a8aa)
col.inactive = rgba(595959aa)
}
}
# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
rounding = 10
@@ -131,15 +153,15 @@ decoration {
#col.shadow = rgba(1a1a1aee)
shadow {
enabled = true
range = 4
render_power = 3
color = rgba(1a1a1aee)
range = 20
render_power = 4
color = rgba(00052288)
}
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {
enabled = true
size = 3
passes = 1
passes = 2
vibrancy = 0.1696
}
@@ -153,12 +175,12 @@ animations {
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 = windows, 1, 7, myBezier, slide
# 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
animation = workspaces, 1, 6, myBezier, slide
}
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
@@ -182,7 +204,8 @@ master {
# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
force_default_wallpaper = 2 # 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. :(
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
col.splash = rgba(000000ff)
}
@@ -211,10 +234,7 @@ input {
}
# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
workspace_swipe = true
workspace_swipe_fingers = 3
}
gesture = 3, horizontal, workspace
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
@@ -245,17 +265,18 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
#bind = $mainMod, W,exec, rofi -show run
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, Q, exec, uwsm app -- $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, M, exec, uwsm stop
bind = $mainMod, E, exec, uwsm app -- $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, R, exec, uwsm app -- $menu
bind = $mainMod, P, exec, uwsm app -- hyprpicker -a
#bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
#bind = $mainMod, L, exec, hyprlock & sleep 1 ; systemctl suspend
#bind = $mainMod, L, exec, hyprlock
bind = $mainMod, L, exec, swaylock
bind = $mainMod, L, exec, uwsm app -- hyprlock
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
@@ -295,7 +316,7 @@ bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
bind = $mainMod, T, togglegroup
bind = $mainMod, G, lockactivegroup
bind = $mainMod, G, lockactivegroup, toggle
# Move/resize windows with mainMod + LMB/RMB and dragging
@@ -341,4 +362,30 @@ windowrulev2 = noblur, class:^(Peek)$
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
layerrule = blur, rofi
layerrule = ignorealpha, rofi
layerrule = blur, notifications
layerrule = ignorealpha, notifications
layerrule = blur, waybar
layerrule = ignorealpha, waybar
opengl {
nvidia_anti_flicker = false
}
#bind = $mainMod, S, togglespecialworkspace, magic
#bind = $mainMod, S, movetoworkspace, +0
#bind = $mainMod, S, togglespecialworkspace, magic
#bind = $mainMod, S, movetoworkspace, special:magic
#bind = $mainMod, S, togglespecialworkspace, magic
plugin {
hyprexpo {
columns = 3
gap_size = 10
bg_col = rgb(111111)
workspace_method = center current # [center/first] [workspace] e.g. first 1 or center m+1
skip_empty = true
gesture_distance = 300 # how far is the "max" for the gesture
}
}

View File

@@ -1,7 +1,7 @@
background {
monitor =
# path = screenshot # supports png, jpg, webp (no animations, though)
path = /home/amy/Pictures/Kath.png
path = screenshot # supports png, jpg, webp (no animations, though)
# path = /home/amy/Pictures/Kath.png
color = rgba(25, 20, 20, 0.7)
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
@@ -16,17 +16,17 @@ background {
input-field {
monitor =
size = 200, 30
outline_thickness = 1
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.15 # Scale of dots' absolute size, -1.0 - 1.0
dots_center = false
size = 200, 35
outline_thickness = 2
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.35 # Scale of dots' absolute size, -1.0 - 1.0
dots_center = true
dots_rounding = -1 # -1 default circle, -2 follow input-field rounding
dots_fade_time = 200 # Milliseconds until a dot fully fades in
dots_text_format = # Text character used for the input indicator. Leave empty for a rectangle that will be rounded via dots_rounding (default).
outer_color = rgb(151515)
inner_color = rgb(10, 10, 10)
font_color = rgb(200, 200, 200)
outer_color = rgba(15151500)
inner_color = rgba(10, 10, 10,150)
font_color = rgb(255, 255, 255)
font_family = Noto Sans # Font used for placeholder_text, fail_text and dots_text_format.
fade_on_empty = true
fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered.
@@ -44,23 +44,44 @@ input-field {
invert_numlock = false # change color if numlock is off
swap_font_color = false # see below
position = 0, -20
position = 0, -50
halign = center
valign = center
}
shadow_passes= 2
shadow_boost = 0.2
shadow_color = rgba(00052288)
}
shape {
monitor =
size = 170, 170
color = rgba(3244a888) # no fill
rounding = -1 # circle
border_size = 0
border_color = rgba(0, 207, 230, 1.0)
position = 0, 100
halign = center
valign = center
shadow_passes=2
shadow_color = rgba(00052288)
}
label {
monitor =
text = $USER
size = 170,170
text = Amy
text_align = center # center/right or any value for default left. multi-line text alignment inside label container
color = rgba(200, 200, 200, 1.0)
font_size = 25
font_family = Noto Sans
font_color = rgb(255,255,255)
rotate = 0 # degrees, counter-clockwise
shadow_passes= 2
shadow_boost = 2.0
shadow_boost = 0.5
shadow_color = rgba(00052288)
position = 0, 80
position = 0, 100
halign = center
valign = center
}

View File

@@ -0,0 +1,56 @@
## name: Rosé Pine Moon
## author: mvllow
## license: MIT
## upstream: https://github.com/rose-pine/kitty/blob/main/dist/rose-pine-moon.conf
## blurb: All natural pine, faux fur and a bit of soho vibes for the classy minimalist
foreground #e0def4
background #232136
selection_foreground #e0def4
selection_background #44415a
cursor #56526e
cursor_text_color #e0def4
url_color #c4a7e7
active_tab_foreground #e0def4
active_tab_background #393552
inactive_tab_foreground #6e6a86
inactive_tab_background #232136
active_border_color #3e8fb0
inactive_border_color #44415a
# black
color0 #393552
color8 #6e6a86
# red
color1 #eb6f92
color9 #eb6f92
# green
color2 #3e8fb0
color10 #3e8fb0
# yellow
color3 #f6c177
color11 #f6c177
# blue
color4 #9ccfd8
color12 #9ccfd8
# magenta
color5 #c4a7e7
color13 #c4a7e7
# cyan
color6 #ea9a97
color14 #ea9a97
# white
color7 #e0def4
color15 #e0def4

View File

@@ -1 +1,28 @@
background_opacity 0.75
background_opacity 0.9
window_padding_width 5
window_border_width 0
tab_bar_edge top
# active_tab_foreground #fff
active_tab_font_style bold-italic
# active_tab_background #8631B4
# inactive_tab_foreground #c2c2c2
# inactive_tab_background #955bb4
# BEGIN_KITTY_THEME
# Rosé Pine Moon
include current-theme.conf
# END_KITTY_THEME
# active_tab_foreground #fff
active_tab_font_style bold-italic
# active_tab_background #8631B4
# inactive_tab_foreground #c2c2c2
# inactive_tab_background #955bb4
# BEGIN_KITTY_FONTS
font_family family="Fira Code"
bold_font auto
italic_font auto
bold_italic_font auto
# END_KITTY_FONTS

20
.config/nvim/init.lua Normal file
View File

@@ -0,0 +1,20 @@
-- Basic settings
vim.o.number = true -- Enable line numbers
vim.o.relativenumber = true -- Enable relative line numbers
vim.o.tabstop = 4 -- Number of spaces a tab represents
vim.o.shiftwidth = 4 -- Number of spaces for each indentation
vim.o.expandtab = true -- Convert tabs to spaces
vim.o.smartindent = true -- Automatically indent new lines
vim.o.wrap = false -- Disable line wrapping
vim.o.cursorline = true -- Highlight the current line
vim.o.termguicolors = true -- Enable 24-bit RGB colors
vim.o.clipboard = "unnamedplus"
vim.filetype.add({extension = {svx = "markdown"}})
-- Syntax highlighting and filetype plugins
vim.cmd('syntax enable')
vim.cmd('filetype plugin indent on')
require("config.lazy")
--vim.cmd[[colorscheme tokyonight]]

View File

@@ -0,0 +1,35 @@
-- Bootstrap lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
if vim.v.shell_error ~= 0 then
vim.api.nvim_echo({
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
{ out, "WarningMsg" },
{ "\nPress any key to exit..." },
}, true, {})
vim.fn.getchar()
os.exit(1)
end
end
vim.opt.rtp:prepend(lazypath)
-- Make sure to setup `mapleader` and `maplocalleader` before
-- loading lazy.nvim so that mappings are correct.
-- This is also a good place to setup other settings (vim.opt)
vim.g.mapleader = " "
vim.g.maplocalleader = "\\"
-- Setup lazy.nvim
require("lazy").setup({
spec = {
-- import your plugins
{ import = "plugins" },
},
-- Configure any other settings here. See the documentation for more details.
-- colorscheme that will be used when installing plugins.
install = { colorscheme = {"tokyonight", "habamax" } },
-- automatically check for plugin updates
checker = { enabled = true, notify = false },
})

View File

@@ -0,0 +1,67 @@
return {
{
"neovim/nvim-lspconfig",
},
{
"mason-org/mason.nvim",
opts = {
ui = {
icons = {
package_installed = "",
package_pending = "",
package_uninstalled = ""
}
}
}
},
{
"williamboman/mason-lspconfig.nvim",
opts = {
ensure_installed = { "clangd" },
},
dependencies = {
{ "mason-org/mason.nvim", opts = {} },
"neovim/nvim-lspconfig",
},
},
{
'hrsh7th/nvim-cmp',
opts = {
sources = {
{ name = 'nvim_lsp' },
{ name = 'buffer' },
{ name = 'path' },
}
},
dependencies = {
{'L3MON4D3/LuaSnip'},
{'hrsh7th/cmp-buffer'},
{'hrsh7th/cmp-nvim-lsp'},
{'saadparwaiz1/cmp_luasnip'},
},
},
{
'stevearc/conform.nvim',
opts = {
-- Define your formatters
formatters_by_ft = {
cpp = { "clang-format" },
},
-- Set default options
default_format_opts = {
lsp_format = "fallback",
},
-- Set up format-on-save
format_on_save = { timeout_ms = 500 },
-- Customize formatters
formatters = {
['clang-format'] = {
append_args = function(self, ctx)
return { "-style={IndentWidth: 4}" }
end,
},
},
},
}
}

View File

@@ -0,0 +1,10 @@
return {
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
"MunifTanjim/nui.nvim",
{"3rd/image.nvim", opts = {}}, -- Optional image support in preview window: See `# Preview Mode` for more information
}
}

View File

@@ -0,0 +1,17 @@
return {
"rose-pine/neovim",
name = "rose-pine",
config = function()
local configs = require("rose-pine");
configs.setup({
variant = "moon",
styles = {
transparency = true;
}
})
vim.cmd("colorscheme rose-pine")
end
}

View File

@@ -0,0 +1,20 @@
return{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
dependencies = {
-- Automatically install LSPs and related tools to stdpath for Neovim
"williamboman/mason.nvim",
"williamboman/mason-lspconfig.nvim",
},
config = function ()
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
})
end
}

View File

@@ -3,14 +3,29 @@ FullScreen=false
[General]
LockSidebar=true
ShowSidebar=true
[MainWindow]
ToolBarsMovable=Disabled
ShowSidebar=false
[Recent Files]
File1[$e]=$HOME/Documents/Unity URP Intruduction.pdf
Name1[$e]=Unity URP Intruduction.pdf
File1[$e]=$HOME/Documents/Uni/ExperimentalPhysik1/renee/Mechanik/II.1 Mechanik starrer Körper_Ex1.pdf
File10[$e]=$HOME/Downloads/Typing Checking.pdf
File2[$e]=$HOME/Documents/Uni/ExperimentalPhysik1/renee/Mechanik/Ex1_1.6_Bewegte Bezugssysteme.pdf
File3[$e]=$HOME/Documents/Uni/ExperimentalPhysik1/alt Klausuren/Ex1_Sfienti_WS2122_Gedächtnisprotokoll.pdf
File4[$e]=$HOME/Documents/Uni/ExperimentalPhysik1/renee/III Kontinuumsmechanik/Kinetische Gastheorie_Ex1.pdf
File5[$e]=$HOME/Documents/Uni/ExperimentalPhysik1/renee/III Kontinuumsmechanik/Statik von Flüssigkeiten und Gasen_Ex1.pdf
File6[$e]=$HOME/Downloads/Grammar.pdf
File7[$e]=$HOME/Documents/Uni/ProgSp/group-168206/Assignment 3/finished-assignment3_annotated.pdf
File8[$e]=$HOME/Downloads/taks02-05.pdf
File9[$e]=$HOME/Downloads/mc-router_1.34.0_linux_amd64/README.md
Name1[$e]=II.1 Mechanik starrer Körper_Ex1.pdf
Name10[$e]=Typing Checking.pdf
Name2[$e]=Ex1_1.6_Bewegte Bezugssysteme.pdf
Name3[$e]=Ex1_Sfienti_WS2122_Gedächtnisprotokoll.pdf
Name4[$e]=Kinetische Gastheorie_Ex1.pdf
Name5[$e]=Statik von Flüssigkeiten und Gasen_Ex1.pdf
Name6[$e]=Grammar.pdf
Name7[$e]=finished-assignment3_annotated.pdf
Name8[$e]=taks02-05.pdf
Name9[$e]=README.md
[UiSettings]
ColorScheme=KvAdaptaDark

8
.config/rofi/config.rasi Normal file
View File

@@ -0,0 +1,8 @@
configuration {
modes: [ combi ];
combi-modes: [ window, drun, run ];
}
//@theme "Arthur"
@theme "/usr/share/rofi/themes/rounded-blue-dark-copy.rasi"

View File

@@ -0,0 +1 @@
/usr/lib/systemd/user/hypridle.service

View File

@@ -0,0 +1 @@
/home/amy/.config/systemd/user/wallpaper.service

View File

@@ -0,0 +1 @@
/usr/lib/systemd/user/waybar.service

View File

@@ -0,0 +1,15 @@
[Unit]
Description=Fast, IPC-controlled wallpaper utility for Hyprland.
Documentation=https://wiki.hyprland.org/Hypr-Ecosystem/hyprpaper/
#PartOf=graphical-session.target
After=graphical-session.target
BindsTo=graphical-session.target
ConditionEnvironment=WAYLAND_DISPLAY
[Service]
Type=simple
ExecStart=/bin/bash -c 'sleep 5; keepassxc'
[Install]
WantedBy=graphical-session.target

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Time based wallpaper switcher
Requires=hyprpaper.service
After=graphical-session.target
[Service]
Type=simple
ExecStart=%h/wallpaper/script.sh
[Install]
WantedBy=graphical-session.target

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Run foo weekly and on boot
Requires=graphical-session.target
[Timer]
OnCalendar=hourly
Persistent=true
[Install]
WantedBy=graphical-session.target

8
.config/uwsm/env Normal file
View File

@@ -0,0 +1,8 @@
export XCURSOR_SIZE=24
export XCURSOR_THEME=BreezeX-Black
export XCURSOR_PATH=$HOME/.icons
export QT_QPA_PLATFORMTHEME=qt6ct
export XDG_CURRENT_DESKTOP=Hyprland
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=Hyprland

View File

@@ -0,0 +1,9 @@
export LIBVA_DRIVER_NAME=nvidia
export GBM_BACKEND=nvidia
export DRI_PRIME=pci-0000_03_00_0
export __VK_LAYER_NV_optimus=NVIDIA_only
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __NV_PRIME_RENDER_OFFLOAD=1
export VDPAU_DRIVER=nvidia
export AQ_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1

219
.config/waybar/config.jsonc Normal file
View File

@@ -0,0 +1,219 @@
// -*- mode: jsonc -*-
{
// "layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
"height": 30, // 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": [
"sway/workspaces",
"sway/mode",
"sway/scratchpad",
"custom/media"
],
"modules-center": [
"sway/window"
],
"modules-right": [
"mpd",
"idle_inhibitor",
"pulseaudio",
//"network",
"power-profiles-daemon",
"cpu",
"memory",
"temperature",
"backlight",
"keyboard-state",
"sway/language",
"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": ""
}
},
"sway/mode": {
"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)"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
// "icon-size": 21,
"spacing": 10,
// "icons": {
// "blueman": "bluetooth",
// "TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png"
// }
},
"clock": {
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": "{usage}% ",
"tooltip": false
},
"memory": {
"format": "{}% "
},
"temperature": {
"thermal-zone": 7,
// "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} {text}",
"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"
}
}
}

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkMenu" id="menu">
<child>
<object class="GtkMenuItem" id="suspend">
<property name="label">Suspend</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="hibernate">
<property name="label">Hibernate</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="shutdown">
<property name="label">Shutdown</property>
</object>
</child>
<child>
<object class="GtkSeparatorMenuItem" id="delimiter1"/>
</child>
<child>
<object class="GtkMenuItem" id="reboot">
<property name="label">Reboot</property>
</object>
</child>
</object>
</interface>

View File

@@ -1,22 +1,27 @@
@define-color primary-bg #191724;
* {
border: none;
border-radius: 4px;
/*border-bottom-right-radius: 4px;*/
/* `ttf-font-awesome` is required to be installed for icons */
font-family: "Roboto Mono Medium", Helvetica, Arial, sans-serif;
font-family: Inter;
/* adjust font-size value to your liking: */
font-size: 10px;
min-height: 0;
}
window#waybar {
background-color: rgba(0, 0, 0, 0.9);
background-color: rgba(0, 0, 0, 0.5);
/* border-bottom: 3px solid rgba(100, 114, 125, 0.5); */
color: #ffffff;
/* transition-property: background-color; */
/* transition-duration: .5s; */
/* border-radius: 0; */
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}
/* window#waybar.hidden {
@@ -33,11 +38,11 @@ window#waybar.solo {
*/
/* window#waybar.termite {
background-color: #000000;
background-color: @primary-bg;
}
window#waybar.chromium {
background-color: #000000;
background-color: @primary-bg;
border: none;
} */
@@ -81,6 +86,7 @@ window#waybar.chromium {
#tray,
#mode,
#idle_inhibitor,
#custom-power,
#mpd {
padding: 0 10px;
margin: 6px 3px;
@@ -103,18 +109,18 @@ window#waybar.chromium {
}
#clock {
background-color: #000000;
background-color: @primary-bg;
color: white;
}
#battery {
background-color: #000000;
background-color: @primary-bg;
color: white;
}
#battery.charging {
color: #ffffff;
background-color: #000000;
background-color: @primary-bg;
}
@keyframes blink {
@@ -135,26 +141,26 @@ window#waybar.chromium {
}
label:focus {
background-color: #000000;
background-color: @primary-bg;
}
#cpu {
background-color: #000000;
background-color: @primary-bg;
color: #ffffff;
}
#memory {
background-color: #000000;
background-color: @primary-bg;
color: white;
}
#backlight {
background-color: #000000;
background-color: @primary-bg;
color:white;
}
#network {
background-color: #000000;
background-color: @primary-bg;
color:white;
}
@@ -164,12 +170,12 @@ label:focus {
}
#pulseaudio {
background-color: #000000;
background-color: @primary-bg;
color: #ffffff;
}
#pulseaudio.muted {
background-color: #000000;
background-color: @primary-bg;
color: #ffffff;
}
@@ -188,15 +194,15 @@ label:focus {
}
#temperature {
background-color: #f0932b;
background-color: #9ccfd8;
}
#temperature.critical {
background-color: #eb4d4b;
background-color: #eb6f92;
}
#tray {
background-color: #2980b9;
background-color: #26233a;
}
#idle_inhibitor {
@@ -232,3 +238,15 @@ label:focus {
margin: 6px 3px;
min-width: 16px;
}
#power-profiles-daemon{
color: #ffffff;
padding: 0 10px 0px 7px;
background-color: @primary-bg;
margin: 6px 3px;
}
#custom-power{
color: #ffffff;
background-color: #26233a;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,2 @@
alias dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'
alias ssh='kitty +kitten ssh'

12
.gitmodules vendored Normal file
View File

@@ -0,0 +1,12 @@
[submodule ".config/zsh_custom/themes/powerlevel10k"]
path = .config/zsh_custom/themes/powerlevel10k
url = https://github.com/romkatv/powerlevel10k.git
[submodule ".config/zsh_custom/plugins/zsh-syntax-highlighting"]
path = .config/zsh_custom/plugins/zsh-syntax-highlighting
url = https://github.com/zsh-users/zsh-syntax-highlighting
[submodule ".config/zsh_custom/plugins/zsh-autosuggestions"]
path = .config/zsh_custom/plugins/zsh-autosuggestions
url = https://github.com/zsh-users/zsh-autosuggestions
[submodule ".ohmyzsh"]
path = .ohmyzsh
url = https://github.com/ohmyzsh/ohmyzsh.git

View File

@@ -0,0 +1,73 @@
/**
* Dynamic Horizontal Tabs Toolbar (with animations)
* sidebar.verticalTabs: false (with native horizontal tabs)
*/
#main-window #TabsToolbar > .toolbar-items {
overflow: hidden;
transition: height 0.3s 0.3s !important;
}
/* Default state: Set initial height to enable animation */
#main-window #TabsToolbar > .toolbar-items { height: 3em !important; }
#main-window[uidensity="touch"] #TabsToolbar > .toolbar-items { height: 3.35em !important; }
#main-window[uidensity="compact"] #TabsToolbar > .toolbar-items { height: 2.7em !important; }
/* Hidden state: Hide native tabs strip */
#main-window[titlepreface*="XXX"] #TabsToolbar > .toolbar-items { height: 0 !important; }
/* Hidden state: Fix z-index of active pinned tabs */
#main-window[titlepreface*="XXX"] #tabbrowser-tabs { z-index: 0 !important; }
/* Hidden state: Hide window buttons in tabs-toolbar */
#main-window[titlepreface*="XXX"] #TabsToolbar .titlebar-spacer,
#main-window[titlepreface*="XXX"] #TabsToolbar .titlebar-buttonbox-container {
display: none !important;
}
/* [Optional] Uncomment block below to show window buttons in nav-bar (maybe, I didn't test it on non-linux-i3wm env) */
/* #main-window[titlepreface*="XXX"] #nav-bar > .titlebar-buttonbox-container,
#main-window[titlepreface*="XXX"] #nav-bar > .titlebar-buttonbox-container > .titlebar-buttonbox {
display: flex !important;
} */
/* [Optional] Uncomment one of the line below if you need space near window buttons */
/* #main-window[titlepreface*="XXX"] #nav-bar > .titlebar-spacer[type="pre-tabs"] { display: flex !important; } */
/* #main-window[titlepreface*="XXX"] #nav-bar > .titlebar-spacer[type="post-tabs"] { display: flex !important; } */
#main-window #TabsToolbar {
transition: max-height 0.3s 0.3s !important;
}
/* Default state: Set initial height to enable animation */
#main-window #TabsToolbar {
max-height: 3em !important;
}
#main-window[uidensity="touch"] #TabsToolbar {
max-height: 3.35em !important;
}
#main-window[uidensity="compact"] #TabsToolbar {
max-height: 2.7em !important;
}
/* Hidden state: Hide native tabs strip */
#main-window[titlepreface*=""] #TabsToolbar {
max-height: 0 !important;
}
/* Hidden state: Fix z-index of active pinned tabs */
#main-window[titlepreface*=""] #tabbrowser-tabs {
z-index: 0 !important;
}
#main-window[titlepreface*=""] .titlebar-close {
display: none;
}
/* Remove sidebar header */
#sidebar-header {
display: none;
}
/* Prettier, smaller sidebar on linux */
splitter.sidebar-splitter {
width: 1px !important;
border: none !important;
background-color: var(--sidebar-background-color) !important;
}

1
.ohmyzsh Submodule

Submodule .ohmyzsh added at d57775d89e

120
.zshrc Normal file
View File

@@ -0,0 +1,120 @@
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
# Path to your Oh My Zsh installation.
export ZSH="$HOME/.ohmyzsh"
export ZSH_CUSTOM="$HOME/.config/zsh_custom"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time Oh My Zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="powerlevel10k/powerlevel10k"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment one of the following lines to change the auto-update behavior
zstyle ':omz:update' mode disabled # disable automatic updates
# zstyle ':omz:update' mode auto # update automatically without asking
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
# Uncomment the following line to change how often to auto-update (in days).
# zstyle ':omz:update' frequency 13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# You can also set it to another string to have that shown instead of the default red dots.
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
git
zsh-syntax-highlighting
zsh-autosuggestions
)
source $ZSH/oh-my-zsh.sh
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='nvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch $(uname -m)"
# Set personal aliases, overriding those provided by Oh My Zsh libs,
# plugins, and themes. Aliases can be placed here, though Oh My Zsh
# users are encouraged to define aliases within a top-level file in
# the $ZSH_CUSTOM folder, with .zsh extension. Examples:
# - $ZSH_CUSTOM/aliases.zsh
# - $ZSH_CUSTOM/macos.zsh
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
# To customize prompt, run `p10k configure` or edit ~/.config/zsh_custom/10-p10k.zsh.
[[ ! -f ~/.config/zsh_custom/10-p10k.zsh ]] || source ~/.config/zsh_custom/10-p10k.zsh

31
wallpaper/script.sh Executable file
View File

@@ -0,0 +1,31 @@
#!/bin/bash
pidof hyprpaper || hyprctl dispatch exec hyprpaper
PATHNAME=~/wallpaper/
cd $PATHNAME
printf -v date "%(%H)T"
until pid=$(hyprctl hyprpaper listloaded)
do
sleep 1
done
LAST=-1
FOUND=-1
for filename in $(ls *.{jpg,JPG,png,PNG} | sort -g)
do
if ((${filename%%.*} > date && ${FOUND%%.*} == -1));then
#echo ${FOUND%%.*}
FOUND=$LAST
if ((${FOUND%%.*}==-1));then
FOUND=-2
fi
fi
LAST=$filename
done
if ((${FOUND%%.*} < 0));then
FOUND=$LAST
fi
hyprctl hyprpaper wallpaper ",$PATHNAME$FOUND"
echo ${FOUND%%.*}