update config

This commit is contained in:
lostecho
2023-07-12 21:18:59 +08:00
parent ec395e9a08
commit 7886b23099
8 changed files with 30 additions and 8 deletions

View File

@@ -29,8 +29,14 @@ dotfiles:
d_swaylock:
src: config/swaylock
dst: ~/.config/swaylock
f_software:
src: software
dst: ~/.software
d_oh-my-zsh:
src: oh-my-zsh
dst: ~/.oh-my-zsh
profiles:
lostecho-nuc11pahi5:
arch:
dotfiles:
- f_zshrc
- d_hypr
@@ -39,3 +45,5 @@ profiles:
- d_kitty
- d_dunst
- d_swaylock
- f_software
- d_oh-my-zsh

View File

@@ -13,9 +13,7 @@ OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
# autogenerated = 1 # remove this line to remove the warning
# See https://wiki.hyprland.org/Configuring/Monitors/
#monitor=eDP-1,1920x1080@60,0x1440,1
#monitor=DP-1,preferred,auto,1
monitor=DP-2,2560x1440@75,0x0,1
monitor=DP-2,2560x1440@75,auto,1
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
@@ -41,7 +39,7 @@ exec-once = udiskie &
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
#source = ~/.config/hypr/env_var.conf
source = ~/.config/hypr/media-binds.conf
#source = ~/.config/hypr/media-binds.conf
# Some default env vars.
env = XCURSOR_SIZE,24

0
dotfiles/config/hypr/hyprv_util Executable file → Normal file
View File

View File

@@ -1,14 +1,14 @@
#!/usr/bin/bash
#start swwww
swww query || swww init
swww init
#figure out which waybar theme is set
THEMEIS=$(readlink -f ~/.config/waybar/style.css | cut -d '-' -f2)
#show the correct wallpapper based on the theme
if [ $THEMEIS == "dark.css" ]; then
swww img -o eDP-1 ~/.config/hypr/wallpaper-dark.jpg && swww img -o DP-1 ~/.config/hypr/wallpaper-dark.jpg
swww img -o DP-2 ~/.config/hypr/wallpaper-dark.jpg
else
swww img -o eDP-1 ~/.config/hypr/wallpaper.jpg && swww img -o DP-1 ~/.config/hypr/wallpaper.jpg
swww img -o DP-2 ~/.config/hypr/wallpaper.jpg
fi

0
dotfiles/config/waybar/scripts/brightness Executable file → Normal file
View File

1
dotfiles/oh-my-zsh Submodule

Submodule dotfiles/oh-my-zsh added at fe4b565986

14
dotfiles/software Normal file
View File

@@ -0,0 +1,14 @@
# pacman
archlinuxcn-keyring yay paru hyprland-git
zsh ketty dunst polkit-kde-agent wofi xdg-desktop-portal-hyprland
waybar-hyprland-git curl sddm ttf-jetbrains-mono-nerd noto-fonts-emoji
swaylock-effects udiskie
way-zenhei wqy-microhei wqy-microhei-lite wqy-bitmapfont
alsa-utils pulseaudio pamixer pavuconrtol blueman network-manager-applet btop
fcitx5 fcitx5-rime fcitx5-chinese-addons fcitx5-material-color fcitx5-configtool
obsidain neofetch
plasma-desktop
# yay
google-chrome dotdrop swww wlogout logseq-desktop-wayland-bin

View File

@@ -121,6 +121,7 @@ alias dotdrop="dotdrop --cfg=~/.dotfiles/config.yaml"
alias vhypr="vim ~/.config/hypr/hyprland.conf" # edit hyprland config
alias vzsh="vim ~/.zshrc" # edit zsh config
alias szsh="source ~/.zshrc" # source the zshrc file
alias hyprloadreins="curl -sSL https://raw.githubusercontent.com/Duckonaut/hyprload/main/install.sh | bash"
# quick command
alias pdf="zathura"