Compare commits
19 Commits
e35845099a
...
main
Author | SHA1 | Date | |
---|---|---|---|
30488edaed | |||
8ed711d300 | |||
a8043a9899 | |||
aa9ebaf22b | |||
2314a17066 | |||
7051688fa5 | |||
0f4f601a2d | |||
f38e2ff94f | |||
50c5cf945d | |||
903da245ac | |||
2d15296597 | |||
3a619cbf92 | |||
530022ee59 | |||
5c01a5f806 | |||
b6f5ad9bcf | |||
92dc644ee2 | |||
ddc39f4928 | |||
a93d7494d3 | |||
706cff40b3 |
@@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
Collection of dotfiles for my personal Hyprland setup, running on Arch Linux. Includes a setup and install script (that one is not complete yet though). For my neovim config, see [here](https://git.janishutz.com/janishutz/nvim)
|
Collection of dotfiles for my personal Hyprland setup, running on Arch Linux. Includes a setup and install script (that one is not complete yet though). For my neovim config, see [here](https://git.janishutz.com/janishutz/nvim)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
- Astal4 based Status Bar and Quick Actions menu
|
- Astal4 based Status Bar and Quick Actions menu
|
||||||
- System info
|
- System info
|
||||||
|
BIN
assets/screenshot.png
Normal file
BIN
assets/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 MiB |
@@ -41,10 +41,10 @@ export const BatteryBox = () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
const toTime = (time: number) => {
|
|
||||||
const MINUTE = 60;
|
const MINUTE = 60;
|
||||||
const HOUR = MINUTE * 60;
|
const HOUR = MINUTE * 60;
|
||||||
|
const toTime = (time: number) => {
|
||||||
|
if (!time) return "Waiting on BIOS"
|
||||||
if (time > 24 * HOUR) return "24h+";
|
if (time > 24 * HOUR) return "24h+";
|
||||||
|
|
||||||
const hours = Math.round(time / HOUR);
|
const hours = Math.round(time / HOUR);
|
||||||
|
@@ -6,7 +6,7 @@ alias c='clear'
|
|||||||
alias zs='zathura-sandbox'
|
alias zs='zathura-sandbox'
|
||||||
alias z='zathura'
|
alias z='zathura'
|
||||||
alias bt='bluetui'
|
alias bt='bluetui'
|
||||||
alias vicfg='nvim ~/projects/active/nvim/'
|
alias vicfg='nvim ~/projects/nvim/'
|
||||||
alias fm='thunar .'
|
alias fm='thunar .'
|
||||||
alias gl='git ls-files --others --exclude-standard'
|
alias gl='git ls-files --others --exclude-standard'
|
||||||
alias gm='gti ls-files -m'
|
alias gm='gti ls-files -m'
|
||||||
@@ -23,8 +23,9 @@ alias g='lazygit'
|
|||||||
alias open-webui='sudo systemctl start docker && sudo docker start -i open-webui'
|
alias open-webui='sudo systemctl start docker && sudo docker start -i open-webui'
|
||||||
alias ai='ollama serve'
|
alias ai='ollama serve'
|
||||||
alias ff='fastfetch'
|
alias ff='fastfetch'
|
||||||
alias p='nvimpager'
|
alias p='nvimpager -p'
|
||||||
alias latexdocs='zathura ~/projects/latex/docs/docs.pdf'
|
alias latexdocs='zathura ~/projects/latex/docs/docs.pdf &>> /dev/null & disown'
|
||||||
|
alias gccerr='gcc -Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -std=c99'
|
||||||
|
|
||||||
# Add scripts in ~/projects/dotfiles/scripts/ to path
|
# Add scripts in ~/projects/dotfiles/scripts/ to path
|
||||||
fish_add_path -P ~/projects/dotfiles/scripts/
|
fish_add_path -P ~/projects/dotfiles/scripts/
|
||||||
|
@@ -15,7 +15,7 @@ exec-once = nm-applet
|
|||||||
exec-once = nextcloud --background
|
exec-once = nextcloud --background
|
||||||
exec-once = sleep 2 && bash -c "ags run -d ~/projects/dotfiles/config/astal/ --gtk4 >> /tmp/runner-log 2>&1"
|
exec-once = sleep 2 && bash -c "ags run -d ~/projects/dotfiles/config/astal/ --gtk4 >> /tmp/runner-log 2>&1"
|
||||||
# exec-once = sleep 2 && bash -c "ags run -d ~/projects/active/dotfiles/config/astal/ --gtk4"
|
# exec-once = sleep 2 && bash -c "ags run -d ~/projects/active/dotfiles/config/astal/ --gtk4"
|
||||||
exec-once = bash -c "ags run -d ~/projects/config/ags/notifications/ >> /tmp/notifier-log 2>&1"
|
exec-once = bash -c "ags run -d ~/projects/dotfiles/config/ags/notifications/ >> /tmp/notifier-log 2>&1"
|
||||||
# exec-once = bash -c "ags run -d ~/projects/active/dotfiles/config/ags/notifications/"
|
# exec-once = bash -c "ags run -d ~/projects/active/dotfiles/config/ags/notifications/"
|
||||||
|
|
||||||
# ── wlhist ──────────────────────────────────────────────────────────
|
# ── wlhist ──────────────────────────────────────────────────────────
|
||||||
@@ -126,11 +126,11 @@ animations {
|
|||||||
|
|
||||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||||
|
|
||||||
animation = windows, 1, 5, myBezier
|
animation = windows, 1, 4, myBezier
|
||||||
animation = windowsOut, 1, 7, default, popin 80%
|
animation = windowsOut, 1, 6, default, popin 80%
|
||||||
animation = border, 1, 10, default
|
animation = border, 1, 8, default
|
||||||
animation = fade, 1, 4, default
|
animation = fade, 1, 3, default
|
||||||
animation = workspaces, 1, 3, default
|
animation = workspaces, 1, 2, default
|
||||||
animation = specialWorkspaceIn, 1, 2, default, fade
|
animation = specialWorkspaceIn, 1, 2, default, fade
|
||||||
animation = specialWorkspaceOut, 1, 2, default, fade
|
animation = specialWorkspaceOut, 1, 2, default, fade
|
||||||
}
|
}
|
||||||
|
@@ -22,9 +22,6 @@ monitor=eDP-1, 2880x1800@60, 0x0, 1.5
|
|||||||
monitor=,highres highrr, auto, 1
|
monitor=,highres highrr, auto, 1
|
||||||
|
|
||||||
|
|
||||||
# exec = swaybg -m fill -i /home/janis/Pictures/arch-bg.png
|
|
||||||
|
|
||||||
|
|
||||||
source=./hyprland/binds.conf
|
source=./hyprland/binds.conf
|
||||||
source=./hyprland/general.conf
|
source=./hyprland/general.conf
|
||||||
source=./hyprland/windowrules.conf
|
source=./hyprland/windowrules.conf
|
||||||
@@ -39,7 +36,6 @@ env = XCURSOR_SIZE,24
|
|||||||
env = ELECTRON_ENABLE_HIGHDPI_SUPPORT, 1
|
env = ELECTRON_ENABLE_HIGHDPI_SUPPORT, 1
|
||||||
env = XDG_SESSION_TYPE, wayland
|
env = XDG_SESSION_TYPE, wayland
|
||||||
env = QT_QPA_PLATFORM, wayland
|
env = QT_QPA_PLATFORM, wayland
|
||||||
# env = QT_QPA_PLATFORM_THEME,qt6ct
|
|
||||||
env = ELECTRON_OZONE_PLATFORM_HINT, wayland
|
env = ELECTRON_OZONE_PLATFORM_HINT, wayland
|
||||||
env = GDK_SCALE,2
|
env = GDK_SCALE,2
|
||||||
exec-once = hyprpm reload -nn
|
exec-once = hyprpm reload -nn
|
||||||
@@ -66,6 +62,7 @@ bind = $mainMod CTRL, E, exec, hyprctl keyword monitor HDMI-A-1, 1920x1080@60, 1
|
|||||||
|
|
||||||
# ── Internal display controls ───────────────────────────────────────
|
# ── Internal display controls ───────────────────────────────────────
|
||||||
bind = $mainMod ALT, E, exec, hyprctl keyword monitor eDP-1, 2880x1800@60, 0x0, 1.5 && cpupower-gui -b && notify-send 'Set to battery optimized settings'
|
bind = $mainMod ALT, E, exec, hyprctl keyword monitor eDP-1, 2880x1800@60, 0x0, 1.5 && cpupower-gui -b && notify-send 'Set to battery optimized settings'
|
||||||
|
bind = $mainMod ALT, B, exec, hyprctl keyword monitor eDP-1, 2880x1800@120, 0x0, 1.5 && cpupower-gui -b && notify-send 'Set to balanced performance settings'
|
||||||
bind = $mainMod ALT, P, exec, hyprctl keyword monitor eDP-1, 2880x1800@120, 0x0, 1.5 && cpupower-gui -p && notify-send 'Set to performance optimized settings'
|
bind = $mainMod ALT, P, exec, hyprctl keyword monitor eDP-1, 2880x1800@120, 0x0, 1.5 && cpupower-gui -p && notify-send 'Set to performance optimized settings'
|
||||||
|
|
||||||
# ── Using docked ────────────────────────────────────────────────────
|
# ── Using docked ────────────────────────────────────────────────────
|
||||||
|
@@ -45,7 +45,7 @@ label {
|
|||||||
monitor =
|
monitor =
|
||||||
text = <b>$TIME</b>
|
text = <b>$TIME</b>
|
||||||
color =
|
color =
|
||||||
font_size = 100
|
font_size = 150
|
||||||
font_family = Comfortaa
|
font_family = Comfortaa
|
||||||
|
|
||||||
position = 0, 80
|
position = 0, 80
|
||||||
|
@@ -5,10 +5,10 @@
|
|||||||
# ─────────────────────────────────────────────────────────────────────
|
# ─────────────────────────────────────────────────────────────────────
|
||||||
BasedOnStyle: LLVM
|
BasedOnStyle: LLVM
|
||||||
AccessModifierOffset: -2
|
AccessModifierOffset: -2
|
||||||
AlignAfterOpenBracket: Align
|
AlignAfterOpenBracket: BlockIndent
|
||||||
AlignArrayOfStructures: Left
|
AlignArrayOfStructures: Left
|
||||||
AlignConsecutiveAssignments:
|
AlignConsecutiveAssignments:
|
||||||
Enabled: true
|
Enabled: false
|
||||||
AcrossEmptyLines: false
|
AcrossEmptyLines: false
|
||||||
AcrossComments: false
|
AcrossComments: false
|
||||||
AlignCompound: false
|
AlignCompound: false
|
||||||
@@ -22,7 +22,7 @@ AlignConsecutiveBitFields:
|
|||||||
AlignFunctionPointers: false
|
AlignFunctionPointers: false
|
||||||
PadOperators: false
|
PadOperators: false
|
||||||
AlignConsecutiveDeclarations:
|
AlignConsecutiveDeclarations:
|
||||||
Enabled: true
|
Enabled: false
|
||||||
AcrossEmptyLines: false
|
AcrossEmptyLines: false
|
||||||
AcrossComments: false
|
AcrossComments: false
|
||||||
AlignCompound: false
|
AlignCompound: false
|
||||||
@@ -75,7 +75,7 @@ AllowShortCaseExpressionOnASingleLine: true
|
|||||||
AllowShortCaseLabelsOnASingleLine: false
|
AllowShortCaseLabelsOnASingleLine: false
|
||||||
AllowShortCompoundRequirementOnASingleLine: true
|
AllowShortCompoundRequirementOnASingleLine: true
|
||||||
AllowShortEnumsOnASingleLine: true
|
AllowShortEnumsOnASingleLine: true
|
||||||
AllowShortFunctionsOnASingleLine: All
|
AllowShortFunctionsOnASingleLine: Empty
|
||||||
AllowShortIfStatementsOnASingleLine: Never
|
AllowShortIfStatementsOnASingleLine: Never
|
||||||
AllowShortLambdasOnASingleLine: All
|
AllowShortLambdasOnASingleLine: All
|
||||||
AllowShortLoopsOnASingleLine: false
|
AllowShortLoopsOnASingleLine: false
|
||||||
@@ -94,7 +94,7 @@ BraceWrapping:
|
|||||||
AfterFunction: false
|
AfterFunction: false
|
||||||
AfterNamespace: false
|
AfterNamespace: false
|
||||||
AfterObjCDeclaration: false
|
AfterObjCDeclaration: false
|
||||||
AfterStruct: false
|
AfterStruct: true
|
||||||
AfterUnion: false
|
AfterUnion: false
|
||||||
AfterExternBlock: false
|
AfterExternBlock: false
|
||||||
BeforeCatch: false
|
BeforeCatch: false
|
||||||
@@ -110,7 +110,7 @@ BreakAfterAttributes: Always
|
|||||||
BreakAfterJavaFieldAnnotations: false
|
BreakAfterJavaFieldAnnotations: false
|
||||||
BreakAfterReturnType: None
|
BreakAfterReturnType: None
|
||||||
BreakArrays: true
|
BreakArrays: true
|
||||||
BreakBeforeBinaryOperators: None
|
BreakBeforeBinaryOperators: All
|
||||||
BreakBeforeBraces: Attach
|
BreakBeforeBraces: Attach
|
||||||
BreakBeforeConceptDeclarations: Always
|
BreakBeforeConceptDeclarations: Always
|
||||||
BreakBeforeInlineASMColon: OnlyMultiline
|
BreakBeforeInlineASMColon: OnlyMultiline
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
paths:
|
paths:
|
||||||
- /home/janis/projects/active/dotfiles/config/lint/latexfmt.yaml
|
- /home/janis/projects/dotfiles/config/lint/latexfmt.yaml
|
||||||
|
@@ -1,3 +1,11 @@
|
|||||||
[filechooser]
|
[filechooser]
|
||||||
cmd=yazi-wrapper.sh
|
cmd=yazi-wrapper.sh
|
||||||
default_dir=$HOME
|
default_dir=$HOME
|
||||||
|
; Uncomment to skip creating destination save files with instructions in them
|
||||||
|
; create_help_file=0
|
||||||
|
; Uncomment and edit the line below to change the terminal emulator command
|
||||||
|
; env=TERMCMD=foot
|
||||||
|
|
||||||
|
; Mode must be one of 'suggested', 'default', or 'last'.
|
||||||
|
open_mode=suggested
|
||||||
|
save_mode=suggested
|
||||||
|
2
config/xdg-desktop-portal/portals.conf
Normal file
2
config/xdg-desktop-portal/portals.conf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[preferred]
|
||||||
|
org.freedesktop.impl.portal.FileChooser=termfilechooser
|
8
install
8
install
@@ -24,7 +24,7 @@ echo "
|
|||||||
==> Installing Hyprland
|
==> Installing Hyprland
|
||||||
"
|
"
|
||||||
sleep 2
|
sleep 2
|
||||||
yay -S --noconfirm --noremovemake hyprland hypridle hyprfreeze hyprlock aylurs-gtk-shell brightnessctl pulsemixer xdg-desktop-portal-hyprland cliphist grimblast wl-clipboard polkit-gnome swaybg polkit-kde-agent grim rofi cpio
|
yay -S --noconfirm --noremovemake hyprland hypridle hyprfreeze hyprlock aylurs-gtk-shell brightnessctl pulsemixer xdg-desktop-portal-hyprland cliphist grimblast wl-clipboard polkit-gnome swaybg polkit-kde-agent grim rofi cpio sysstat
|
||||||
|
|
||||||
# Audio, drivers
|
# Audio, drivers
|
||||||
echo "
|
echo "
|
||||||
@@ -39,7 +39,7 @@ echo "
|
|||||||
"
|
"
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
yay -S --noconfirm --noremovemake fish fzf ouch zathura zathura-pdf-poppler wget vimiv zoxide thunar yazi gnome-tweaks lxappearance gnome-keyring ffmpeg network-manager-applet cpupower-gui python-tkinter acpi python-pillow seahorse
|
yay -S --noconfirm --noremovemake fish fzf ouch zathura zathura-pdf-poppler wget vimiv zoxide thunar yazi gnome-tweaks lxappearance gnome-keyring ffmpeg network-manager-applet cpupower-gui python-tkinter acpi python-pillow seahorse man man-pages ntp
|
||||||
|
|
||||||
# Set up yazi
|
# Set up yazi
|
||||||
echo "
|
echo "
|
||||||
@@ -116,11 +116,11 @@ cd ./config/astal/
|
|||||||
mkdir node_modules && cd node_modules && ln -sf /usr/share/astal/gjs/ ./astal
|
mkdir node_modules && cd node_modules && ln -sf /usr/share/astal/gjs/ ./astal
|
||||||
cd ../../config/ags/notifications/
|
cd ../../config/ags/notifications/
|
||||||
mkdir node_modules && cd node_modules && ln -sf /usr/share/astal/gjs/ ./astal
|
mkdir node_modules && cd node_modules && ln -sf /usr/share/astal/gjs/ ./astal
|
||||||
cd ~/projects/active/dotfiles/
|
cd ~/projects/dotfiles/
|
||||||
|
|
||||||
./setup
|
./setup
|
||||||
|
|
||||||
cd ~/projects/active/
|
cd ~/projects/
|
||||||
git clone https://git.janishutz.com/janishutz/nvim
|
git clone https://git.janishutz.com/janishutz/nvim
|
||||||
cd nvim
|
cd nvim
|
||||||
./nvim-install.sh
|
./nvim-install.sh
|
||||||
|
@@ -45,7 +45,7 @@ label {
|
|||||||
monitor =
|
monitor =
|
||||||
text = <b>$TIME</b>
|
text = <b>$TIME</b>
|
||||||
color = {{ colour-primary-rgb }}
|
color = {{ colour-primary-rgb }}
|
||||||
font_size = 100
|
font_size = 150
|
||||||
font_family = {{ font-primary }}
|
font_family = {{ font-primary }}
|
||||||
|
|
||||||
position = 0, 80
|
position = 0, 80
|
||||||
|
@@ -8,6 +8,6 @@ echo "
|
|||||||
killall gjs
|
killall gjs
|
||||||
killall ags
|
killall ags
|
||||||
sleep 4
|
sleep 4
|
||||||
ags run -d ~/projects/active/dotfiles/config/astal --gtk4 & disown
|
ags run -d ~/projects/dotfiles/config/astal --gtk4 & disown
|
||||||
sleep 2
|
sleep 2
|
||||||
ags run -d ~/projects/active/dotfiles/config/ags/notifications & disown
|
ags run -d ~/projects/dotfiles/config/ags/notifications & disown
|
||||||
|
3
setup
3
setup
@@ -60,6 +60,7 @@ cp -r ./config/hypr ~/.config/
|
|||||||
rm -rf ~/.config/rofi/
|
rm -rf ~/.config/rofi/
|
||||||
cp -r ./config/rofi ~/.config/
|
cp -r ./config/rofi ~/.config/
|
||||||
cp -r ./config/xdg-desktop-portal-termfilechooser/ ~/.config/
|
cp -r ./config/xdg-desktop-portal-termfilechooser/ ~/.config/
|
||||||
|
cp -r ./config/xdg-desktop-portal/ ~/.config/
|
||||||
|
|
||||||
# Depending on platform, remove one or the other config and rename remaining one
|
# Depending on platform, remove one or the other config and rename remaining one
|
||||||
if [[ "$platform" == "d" ]]; then
|
if [[ "$platform" == "d" ]]; then
|
||||||
@@ -79,7 +80,7 @@ cp -r ./config/Thunar ~/.config/
|
|||||||
cp -r ./config/wlogout/ ~/.config/
|
cp -r ./config/wlogout/ ~/.config/
|
||||||
cp -r ./config/yazi ~/.config/
|
cp -r ./config/yazi ~/.config/
|
||||||
cp -r ./config/zathura ~/.config/
|
cp -r ./config/zathura ~/.config/
|
||||||
cp ./config/lint/.indentconfig.yaml ~/.indentconfig.yaml
|
cp ./config/lint/indentconfig.yaml ~/.indentconfig.yaml
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
=> Installing yazi plugins
|
=> Installing yazi plugins
|
||||||
|
Reference in New Issue
Block a user