Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b63fa00bd9 | ||
|
|
1e0b8c3df9 | ||
|
|
9479232a1e | ||
|
|
9b9d884251 | ||
|
|
1a2999c01a | ||
|
|
0695d1c07f | ||
|
|
f729451260 | ||
|
|
c84736f563 | ||
|
|
9e48207c7f | ||
|
|
32fa3fa9c0 | ||
|
|
fd0022fd5c | ||
|
|
720fb353c8 | ||
|
|
9c038a6cde |
10
config.yaml
10
config.yaml
@@ -26,14 +26,14 @@ dotfiles:
|
||||
d_swaylock:
|
||||
src: config/swaylock
|
||||
dst: ~/.config/swaylock
|
||||
f_software:
|
||||
src: software
|
||||
dst: ~/.software
|
||||
d_mako:
|
||||
src: config/mako
|
||||
dst: ~/.config/mako
|
||||
f_software.md:
|
||||
src: software.md
|
||||
dst: ~/software.md
|
||||
profiles:
|
||||
lostecho-nuc11pahi5:
|
||||
arch:
|
||||
dotfiles:
|
||||
- f_zshrc
|
||||
- d_hypr
|
||||
@@ -41,5 +41,5 @@ profiles:
|
||||
- d_wofi
|
||||
- d_kitty
|
||||
- d_swaylock
|
||||
- f_software
|
||||
- d_mako
|
||||
- f_software.md
|
||||
|
||||
@@ -1,10 +1,3 @@
|
||||
|
||||
########################################################################################
|
||||
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.
|
||||
########################################################################################
|
||||
|
||||
#
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
@@ -14,7 +7,11 @@ OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor = , preferred, auto, auto
|
||||
monitor = DP-2, 2560x1440@75, auto, 1
|
||||
monitor = eDP-1, 1920x1080@60, 0x0, 1
|
||||
#monitor = DP-1, 2560x1440@75, 0x-1440, 1
|
||||
#monitor = DP-2, 2560x1440@75, 0x-1440, 1
|
||||
#monitor = DP-1, 2256x1504@60, 0x-1504, 1
|
||||
monitor = DP-2, 2256x1504@60, 0x-1504, 1
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
||||
@@ -22,25 +19,29 @@ monitor = DP-2, 2560x1440@75, auto, 1
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Wayland magic (screen sharing etc.)
|
||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # More wayland magic (screen sharing etc.)
|
||||
|
||||
exec-once = ~/.config/hypr/scripts/xdg-portal-hyprland
|
||||
exec-once = ~/.config/hypr/scripts/bgaction
|
||||
exec-once = ~/.local/share/hyprload/hyprload.sh
|
||||
#exec-once = ~/.local/share/hyprload/hyprload.sh
|
||||
exec-once = ~/.config/hypr/scripts/xdg-portal-hyprland
|
||||
exec-once = /usr/lib/polkit-kde-authentication-agent-1
|
||||
|
||||
exec-once = fcitx5 --replace -d
|
||||
exec-once = udiskie &
|
||||
exec-once = swaync
|
||||
exec-once = waybar &
|
||||
exec-once = mako
|
||||
exec-once = blueman-applet
|
||||
exec-once = swayosd-server
|
||||
exec-once = fcitx5 --replace -d
|
||||
exec-once = nm-applet --indicator
|
||||
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
$fileManager = dolphin
|
||||
$menu = wofi --show drun
|
||||
|
||||
# Some default env vars.
|
||||
env = XCURSOR_SIZE,24
|
||||
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
kb_layout = us
|
||||
@@ -57,6 +58,10 @@ input {
|
||||
tap-to-click = yes
|
||||
drag_lock = yes
|
||||
scroll_factor = 0.5
|
||||
middle_button_emulation = false
|
||||
clickfinger_behavior = false
|
||||
drag_lock = false
|
||||
tap-and-drag = false
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
@@ -72,39 +77,42 @@ general {
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
misc {
|
||||
disable_hyprland_logo = yes
|
||||
disable_splash_rendering = yes
|
||||
focus_on_activate = yes
|
||||
animate_manual_resizes = yes
|
||||
animate_mouse_windowdragging = no
|
||||
suppress_portal_warnings = yes
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
cursor_inactive_timeout = 10
|
||||
}
|
||||
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
active_opacity=1
|
||||
inactive_opacity=0.95
|
||||
inactive_opacity=0.9
|
||||
fullscreen_opacity=1.0
|
||||
|
||||
rounding = 5
|
||||
blur = yes
|
||||
blur_size = 5
|
||||
blur_passes = 2
|
||||
blur_new_optimizations = on
|
||||
|
||||
drop_shadow = yes
|
||||
blur {
|
||||
enabled = true
|
||||
size = 5
|
||||
passes = 2
|
||||
ignore_opacity = false
|
||||
new_optimizations = true
|
||||
vibrancy = 0.1696
|
||||
}
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 4
|
||||
shadow_render_power = 3
|
||||
shadow_ignore_window = true
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
col.shadow_inactive = rgba(1a1a1aee)
|
||||
shadow_scale = 1
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
first_launch_animation = true
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
@@ -134,11 +142,26 @@ gestures {
|
||||
workspace_swipe = yes
|
||||
workspace_swipe_fingers = 3
|
||||
workspace_swipe_cancel_ratio = 0.15
|
||||
workspace_swipe_distance = 300
|
||||
workspace_swipe_create_new = true
|
||||
workspace_swipe_numbered = true
|
||||
}
|
||||
|
||||
misc {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = yes
|
||||
disable_splash_rendering = yes
|
||||
focus_on_activate = yes
|
||||
animate_manual_resizes = yes
|
||||
animate_mouse_windowdragging = no
|
||||
# suppress_portal_warnings = yes
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
||||
device:epic mouse V1 {
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||
device {
|
||||
#name = epic-mouse-v1
|
||||
#sensitivity = -0.5
|
||||
}
|
||||
|
||||
@@ -147,31 +170,9 @@ device:apple-inc.-magic-trackpad-1 {
|
||||
#middle_button_emulation=0
|
||||
}
|
||||
|
||||
plugin {
|
||||
|
||||
hyprload {
|
||||
quiet = true
|
||||
}
|
||||
|
||||
touch_gestures {
|
||||
# default sensitivity is probably too low on tablet screens,
|
||||
# I recommend turning it up to 4.0
|
||||
sensitivity = 4.0
|
||||
workspace_swipe_fingers = 3
|
||||
}
|
||||
|
||||
hyprbars {
|
||||
# config
|
||||
buttons {
|
||||
# button config
|
||||
}
|
||||
}
|
||||
|
||||
borders-plus-plus {
|
||||
#add_borders = 1 # 0 - 2
|
||||
#col.border_1 = rgb(ffffff) # example col for border 1
|
||||
#col.border_2 = rgb(2222ff) # example col for border 2
|
||||
}
|
||||
# unscale XWayland
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
@@ -179,17 +180,13 @@ plugin {
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
windowrulev2 = opacity 0.8 0.9, class:^(kitty)$
|
||||
windowrulev2 = opacity 0.8 0.8, class:^(VSCodium)$
|
||||
windowrulev2 = opacity 0.8 1.0, class:^(obsidian)$
|
||||
windowrulev2 = opacity 1.0 1.0, class:^(Google-chrome)$
|
||||
windowrulev2 = animation popin, class:^(Google-chrome)$
|
||||
windowrulev2 = animation slide, class:^(wofi)$
|
||||
windowrulev2 = animation popin, class:^(kitty)$, title:^(update-sys)$
|
||||
#windowrulev2 = move 100%-433 53, class:^(wofi)$, title:^(clippick)$
|
||||
windowrulev2 = tile, title:^(微信读书)$
|
||||
windowrulev2 = tile, title:^(Cubox)$
|
||||
#windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
||||
windowrulev2 = opacity 0.8 0.5, class:^(Code)$
|
||||
windowrulev2 = opacity 0.8 0.5, class:^(kitty)$
|
||||
windowrulev2 = opacity 1.0 1.0, title:^(微信读书)$
|
||||
windowrulev2 = opacity 0.8 0.5, class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||
windowrulev2 = tile, title:^(少数派)$
|
||||
windowrulev2 = tile, title:^(微信读书)$
|
||||
windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
@@ -197,42 +194,31 @@ $mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, F1, exec, ~/.config/hypr/scripts/gamemode.sh
|
||||
bind = $mainMod, A, exec, anytype
|
||||
bind = $mainMod, E, exec, thunar
|
||||
bind = $mainMod SHIFT, E, exec, dolphin
|
||||
bind = $mainMod CTRL, E, exec, kitty ranger
|
||||
bind = $mainMod, G, exec, google-chrome-stable
|
||||
bind = $mainMod SHIFT, G, exec, github-desktop
|
||||
bind = $mainMod, I, exec, cd ~/.loacl/share/applications; gtk-launch jetbrains-idea.desktop
|
||||
bind = $mainMod, E, exec, dolphin
|
||||
bind = $mainMod, F, exec, firefoxpwa site launch 01HS2PR40FH9C2GNANPA030VCE --protocol
|
||||
bind = $mainMod, G, exec, firefox-nightly
|
||||
bind = $mainMod, J, exec, pkill jupyter-lab; jupyter-lab
|
||||
bind = $mainMod SHIFT, J, exec, pkill jupyter-lab; cd ~/PycharmProjects/the-craft-of-selfteaching; jupyter-lab
|
||||
bind = $mainMod, K, exec, kate
|
||||
bind = $mainMod, L, exec, logseq
|
||||
bind = $mainMod SHIFT, L, exec, swaylock
|
||||
bind = $mainMod SHIFT, L, exec, swaylock --clock --grace 10
|
||||
bind = $mainMod, M, exec, wlogout --protocol layer-shell
|
||||
bind = $mainMod CTRL, M, exec, motrix
|
||||
bind = $mainMod, N, exec, notion-app-enhanced
|
||||
bind = $mainMod, N, exec, swaync-client -t -sw
|
||||
bind = $mainMod SHIFT, N, exec, kitty nvim
|
||||
bind = $mainMod, O, exec, obsidian
|
||||
bind = $mainMod SHIFT, O, exec, okular
|
||||
bind = $mainMod, Q, exec, kitty
|
||||
bind = $mainMod SHIFT, Q, exec, linuxqq
|
||||
bind = $mainMod, P, exec, cd ~/.loacl/share/applications; gtk-launch jetbrains-pycharm.desktop
|
||||
bind = $mainMod SHIFT, P, exec, pavucontrol
|
||||
bind = $mainMod, R, exec, pkill wofi; wofi --show drun
|
||||
bind = $mainMod SHIFT, R, exec, wlfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:43.249.192.204:45561 /f /sound /floatbar:sticky:off,default:hidden,show:window -themes +multitouch /video -wallpaper +nego +smart-sizing
|
||||
bind = $mainMod, S, exec, spotify
|
||||
bind = $mainMod, T, exec, typora
|
||||
bind = $mainMod SHIFT, S, exec, firefoxpwa site launch 01HS2Q4782CRTM3EMA84TPQPDT --protocol
|
||||
bind = $mainMod, V, exec, code
|
||||
bind = $mainMod SHIFT, V, exec, vlc
|
||||
bind = $mainMod, W, exec, google-chrome-stable --profile-directory=Default --app-id=magamgmomalmppfcmkgppgboggkfiphd
|
||||
bind = $mainMod SHIFT, W, exec, wechat-uos
|
||||
|
||||
bind = $mainMod, Space, fullscreen,
|
||||
bind = $mainMod, W, exec, firefoxpwa site launch 01HS2PT7V5XJVNVCV5VQS6YMW5 --protocol
|
||||
bind = $mainMod, X, exec, firefoxpwa site launch 01HS2ZZT6SFAHT9M8ENEV70DS8 --protocol
|
||||
bind = , F11, fullscreen,
|
||||
bind = $mainMod, F12, togglefloating,
|
||||
bind = $mainMod, C, killactive,
|
||||
bind = $mainMod, F, togglefloating,
|
||||
bind = $mainMod CTRL, P, pseudo,
|
||||
bind = $mainMod SHIFT, M, exit,
|
||||
bind = $mainMod SHIFT, S, togglesplit,
|
||||
bind = $mainMod SHIFT, T, togglesplit,
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
@@ -274,23 +260,15 @@ bindm = $mainMod, mouse:273, resizewindow
|
||||
bindm = $mainMod SHIFT, mouse:272, resizewindow
|
||||
|
||||
# Brightness control
|
||||
binde = $mainMod, F6, exec, ddcutil setvcp 10 + 10
|
||||
binde = $mainMod, F5, exec, ddcutil setvcp 10 - 10
|
||||
binde = , XF86MonBrightnessUp, exec, ddcutil setvcp 10 + 10
|
||||
binde = , XF86MonBrightnessDown, exec, ddcutil setvcp 10 - 10
|
||||
binde = , XF86MonBrightnessUp, exec, swayosd-client --brightness raise
|
||||
binde = , XF86MonBrightnessDown, exec, swayosd-client --brightness lower
|
||||
|
||||
# Sound control
|
||||
binde = , F9, exec, pactl set-sink-volume @DEFAULT_SINK@ +1%
|
||||
binde = , F8, exec, pactl set-sink-volume @DEFAULT_SINK@ -1%
|
||||
binde = , F7, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +1%
|
||||
binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -1%
|
||||
binde = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
binde = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise
|
||||
binde = , XF86AudioLowerVolume, exec, swayosd-client --output-volume lower
|
||||
binde = , XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
|
||||
|
||||
# Player control
|
||||
binde = $mainMod, F11, exec, playerctl play-pause
|
||||
binde = $mainMod, F12, exec, playerctl next
|
||||
binde = $mainMod, F10, exec, playerctl previous
|
||||
binde = , XF86AudioPlay, exec, playerctl play-pause
|
||||
binde = , XF86AudioNext, exec, playerctl next
|
||||
binde = , XF86AudioPrev, exec, playerctl previous
|
||||
binde = $mainMod SHIFT, right, exec, playerctl next
|
||||
binde = $mainMod SHIFT, left, exec, playerctl previous
|
||||
|
||||
345
dotfiles/config/hypr/hyprland.conf.bak
Normal file
345
dotfiles/config/hypr/hyprland.conf.bak
Normal file
@@ -0,0 +1,345 @@
|
||||
|
||||
########################################################################################
|
||||
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.
|
||||
########################################################################################
|
||||
|
||||
#
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
#
|
||||
|
||||
# autogenerated = 1 # remove this line to remove the warning
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor = , preferred, auto, auto
|
||||
monitor = eDP-1, 1920x1080@60, 0x0, 1
|
||||
monitor = DP-2, 2560x1440@75, 0x-1440, 1
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
||||
# Execute your favorite apps at launch
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Wayland magic (screen sharing etc.)
|
||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # More wayland magic (screen sharing etc.)
|
||||
|
||||
exec-once = ~/.config/hypr/scripts/bgaction
|
||||
#exec-once = ~/.local/share/hyprload/hyprload.sh
|
||||
exec-once = ~/.config/hypr/scripts/xdg-portal-hyprland
|
||||
exec-once = /usr/lib/polkit-kde-authentication-agent-1
|
||||
|
||||
exec-once = swaync
|
||||
#exec-once = clash &
|
||||
exec-once = waybar &
|
||||
#exec-once = udiskie &
|
||||
#exec-once = blueman-applet
|
||||
exec-once = fcitx5 --replace -d
|
||||
exec-once = nm-applet --indicator
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
$fileManager = dolphin
|
||||
$menu = wofi --show drun
|
||||
|
||||
# Some default env vars.
|
||||
env = XCURSOR_SIZE,24
|
||||
# env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
|
||||
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
touchpad {
|
||||
disable_while_typing = yes
|
||||
natural_scroll = yes
|
||||
tap-to-click = yes
|
||||
drag_lock = yes
|
||||
scroll_factor = 0.5
|
||||
middle_button_emulation = false
|
||||
clickfinger_behavior = false
|
||||
drag_lock = false
|
||||
tap-and-drag = false
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 2
|
||||
gaps_out = 2
|
||||
border_size = 2
|
||||
col.active_border = rgba(5fc9f8ee) rgba(fecb2eee) rgba(fd9426ee) rgba(fc3158ee) rgba(147efbee) rgba(53d769ee) rgba(fc3d39ee) rgba(f77737ee) rgba(fcaf45ee) rgba(ffdc80ee) 36deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
layout = dwindle
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
cursor_inactive_timeout = 10
|
||||
}
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
active_opacity=1
|
||||
inactive_opacity=0.9
|
||||
fullscreen_opacity=1.0
|
||||
|
||||
rounding = 5
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 5
|
||||
passes = 2
|
||||
ignore_opacity = false
|
||||
new_optimizations = true
|
||||
vibrancy = 0.1696
|
||||
}
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 4
|
||||
shadow_render_power = 3
|
||||
shadow_ignore_window = true
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
col.shadow_inactive = rgba(1a1a1aee)
|
||||
shadow_scale = 1
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
first_launch_animation = true
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
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 = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
|
||||
dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = yes # you probably want this
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
new_is_master = true
|
||||
}
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = yes
|
||||
workspace_swipe_fingers = 3
|
||||
workspace_swipe_cancel_ratio = 0.15
|
||||
workspace_swipe_distance = 300
|
||||
workspace_swipe_create_new = true
|
||||
workspace_swipe_numbered = true
|
||||
}
|
||||
|
||||
misc {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = yes
|
||||
disable_splash_rendering = yes
|
||||
focus_on_activate = yes
|
||||
animate_manual_resizes = yes
|
||||
animate_mouse_windowdragging = no
|
||||
# suppress_portal_warnings = yes
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||
device {
|
||||
#name = epic-mouse-v1
|
||||
#sensitivity = -0.5
|
||||
}
|
||||
|
||||
device:apple-inc.-magic-trackpad-1 {
|
||||
#scroll_factor = 1.0
|
||||
#middle_button_emulation=0
|
||||
}
|
||||
|
||||
# unscale XWayland
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
|
||||
#plugin {
|
||||
#
|
||||
# hyprload {
|
||||
# quiet = true
|
||||
# }
|
||||
#
|
||||
# touch_gestures {
|
||||
# # default sensitivity is probably too low on tablet screens,
|
||||
# # I recommend turning it up to 4.0
|
||||
# sensitivity = 4.0
|
||||
# workspace_swipe_fingers = 3
|
||||
# }
|
||||
#
|
||||
# hyprbars {
|
||||
# # config
|
||||
# buttons {
|
||||
# # button config
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# borders-plus-plus {
|
||||
# #add_borders = 1 # 0 - 2
|
||||
# #col.border_1 = rgb(ffffff) # example col for border 1
|
||||
# #col.border_2 = rgb(2222ff) # example col for border 2
|
||||
# }
|
||||
#}
|
||||
|
||||
# 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
|
||||
#windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
||||
windowrulev2 = opacity 0.8 0.5, class:^(Code)$
|
||||
windowrulev2 = opacity 0.8 0.5, class:^(kitty)$
|
||||
#windowrulev2 = opacity 0.8 0.5, class:^(thunar)$
|
||||
#windowrulev2 = opacity 0.8 0.5, class:^(obsidian)$
|
||||
windowrulev2 = opacity 1.0 1.0, title:^(微信读书)$
|
||||
#windowrulev2 = opacity 0.8 0.5, class:^(org.kde.kate)$
|
||||
#windowrulev2 = opacity 1.0 1.0, class:^(microsoft-edge)$
|
||||
windowrulev2 = opacity 0.8 0.5, class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||
#windowrulev2 = animation popin, class:^(microsoft-edge)$
|
||||
windowrulev2 = tile, title:^(少数派)$
|
||||
windowrulev2 = tile, title:^(微信读书)$
|
||||
windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, F1, exec, ~/.config/hypr/scripts/gamemode.sh
|
||||
#bind = $mainMod, A, exec, anytype
|
||||
#bind = $mainMod SHIFT, C, exec, microsoft-edge-stable --profile-directory=Default --app-id=ciphmlapnadpablfaagijhhenhancbbb --app-url=https://calendar.cron.com/
|
||||
#bind = $mainMod, E, exec, thunar
|
||||
bind = $mainMod, E, exec, dolphin
|
||||
#bind = $mainMod SHIFT, E, exec, dolphin
|
||||
#bind = $mainMod CTRL, E, exec, kitty ranger
|
||||
bind = $mainMod, F, exec, firefoxpwa site launch 01HS2PR40FH9C2GNANPA030VCE --protocol
|
||||
bind = $mainMod, G, exec, firefox-nightly
|
||||
#bind = $mainMod, G, exec, microsoft-edge-stable
|
||||
#bind = $mainMod SHIFT, G, exec, google-chrome-stable
|
||||
#bind = $mainMod CTRL, G, exec, github-desktop
|
||||
#bind = $mainMod, I, exec, cd ~/.loacl/share/applications; gtk-launch jetbrains-idea.desktop
|
||||
bind = $mainMod, J, exec, pkill jupyter-lab; jupyter-lab
|
||||
#bind = $mainMod SHIFT, J, exec, pkill jupyter-lab; cd ~/Documents/the-craft-of-selfteaching; jupyter-lab
|
||||
#bind = $mainMod, K, exec, kate
|
||||
bind = $mainMod, L, exec, logseq
|
||||
#bind = $mainMod SHIFT, L, exec, swaylock
|
||||
#bind = $mainMod, M, exec, wlogout --protocol layer-shell
|
||||
bind = $mainMod, N, exec, swaync-client -t -sw
|
||||
#bind = $mainMod CTRL, M, exec, motrix
|
||||
#bind = $mainMod, N, exec, microsoft-edge --profile-directory=Default --app-id=bicgkabnllfcnajoaobgkmpjchldbdco --app-url=https://www.notion.so/000-Inbox-ed0cb9b1899648ea8007e860698d251c
|
||||
bind = $mainMod SHIFT, N, exec, kitty nvim
|
||||
#bind = $mainMod, O, exec, obsidian
|
||||
#bind = $mainMod SHIFT, O, exec, okular
|
||||
bind = $mainMod, Q, exec, kitty
|
||||
#bind = $mainMod SHIFT, Q, exec, linuxqq
|
||||
#bind = $mainMod, P, exec, cd ~/.loacl/share/applications; gtk-launch jetbrains-pycharm.desktop
|
||||
bind = $mainMod SHIFT, P, exec, pavucontrol
|
||||
bind = $mainMod, R, exec, pkill wofi; wofi --show drun
|
||||
bind = $mainMod SHIFT, R, exec, wlfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:43.249.192.204:45561 /f /sound /floatbar:sticky:off,default:hidden,show:window -themes +multitouch /video -wallpaper +nego +smart-sizing
|
||||
bind = $mainMod, S, exec, spotify
|
||||
bind = $mainMod SHIFT, S, exec, firefoxpwa site launch 01HS2Q4782CRTM3EMA84TPQPDT --protocol
|
||||
#bind = $mainMod, S, exec, microsoft-edge-stable --profile-directory=Default --app-id=pjibgclleladliembfgfagdaldikeohf "--app-url=https://open.spotify.com/?utm_source=pwa_install"
|
||||
#bind = $mainMod SHIFT, S, exec, microsoft-edge-stable --profile-directory=Default --app-id=idhlnkbfpmbggpopjbaemghibaoobglb "--app-url=https://pwa.sspai.com/?pwa=1"
|
||||
bind = $mainMod, V, exec, code
|
||||
bind = $mainMod SHIFT, V, exec, vlc
|
||||
bind = $mainMod, W, exec, firefoxpwa site launch 01HS2PT7V5XJVNVCV5VQS6YMW5 --protocol
|
||||
#bind = $mainMod, W, exec, microsoft-edge-stable --profile-directory=Default --app-id=magamgmomalmppfcmkgppgboggkfiphd --app-url=https://weread.qq.com/
|
||||
bind = $mainMod, X, exec, firefoxpwa site launch 01HS2ZZT6SFAHT9M8ENEV70DS8 --protocol
|
||||
#bind = $mainMod, X, exec, microsoft-edge-stable --profile-directory=Default --app-id=jihkolckjdlcnmbfapjpmheicbncfalm --app-url=https://webapp.songy.info/
|
||||
#bind = $mainMod, F3, fullscreen,
|
||||
bind = , F11, fullscreen,
|
||||
bind = $mainMod, F12, togglefloating,
|
||||
bind = $mainMod, C, killactive,
|
||||
bind = $mainMod CTRL, P, pseudo,
|
||||
bind = $mainMod SHIFT, M, exit,
|
||||
bind = $mainMod SHIFT, T, togglesplit,
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
bindm = $mainMod SHIFT, mouse:272, resizewindow
|
||||
|
||||
# Brightness control
|
||||
#binde = $mainMod, F6, exec, ddcutil setvcp 10 + 10
|
||||
#binde = $mainMod, F5, exec, ddcutil setvcp 10 - 10
|
||||
#binde = $mainMod, F5, exec, brightnessctl -c backlight set 1%-
|
||||
#binde = $mainMod, F6, exec, brightnessctl -c backlight set +1%
|
||||
binde = , XF86MonBrightnessUp, exec, brightnessctl -c backlight set +10%
|
||||
binde = , XF86MonBrightnessDown, exec, brightnessctl -c backlight set 10%-
|
||||
|
||||
# Sound control
|
||||
#binde = $mainMod, F10, exec, pactl set-sink-volume @DEFAULT_SINK@ +1%
|
||||
#binde = $mainMod, F9, exec, pactl set-sink-volume @DEFAULT_SINK@ -1%
|
||||
#binde = $mainMod, F8, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
binde = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
|
||||
# Player control
|
||||
#binde = $mainMod, F7, exec, playerctl play-pause
|
||||
binde = , XF86AudioPlay, exec, playerctl play-pause
|
||||
#binde = , XF86AudioNext, exec, playerctl next
|
||||
#binde = , XF86AudioPrev, exec, playerctl previous
|
||||
binde = $mainMod SHIFT, right, exec, playerctl next
|
||||
binde = $mainMod SHIFT, left, exec, playerctl previous
|
||||
@@ -1,10 +0,0 @@
|
||||
plugins = [
|
||||
"Duckonaut/split-monitor-workspaces",
|
||||
"zakk4223/hyprNStack",
|
||||
"zakk4223/hyprRiver",
|
||||
"VortexCoyote/hyprfocus",
|
||||
"ItsDrike/hyprland-dwindle-autogroup",
|
||||
"outfoxxed/hy3",
|
||||
"horriblename/hyprland-touch-gestures",
|
||||
"Duckonaut/split-monitor-workspaces",
|
||||
]
|
||||
@@ -14,3 +14,4 @@ THEMEIS=$(readlink -f ~/.config/waybar/style.css | cut -d '-' -f2)
|
||||
#fi
|
||||
|
||||
swww img -o DP-2 ~/.config/hypr/wallpaper-dark.jpg
|
||||
swww img -o eDP-1 ~/.config/hypr/wallpaper-dark.jpg
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 944 KiB After Width: | Height: | Size: 2.6 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 5.8 MiB |
@@ -8,23 +8,27 @@
|
||||
"height": 30,
|
||||
"modules-left": [
|
||||
"custom/launcher",
|
||||
"wlr/workspaces",
|
||||
"custom/playerctl",
|
||||
"custom/playerlabel"
|
||||
"clock",
|
||||
//"wlr/workspaces",
|
||||
"hyprland/workspaces",
|
||||
"wlr/taskbar",
|
||||
"hyprland/window"
|
||||
//"custom/playerctl",
|
||||
//"custom/playerlabel"
|
||||
],
|
||||
"modules-center": [
|
||||
"hyprland/window",
|
||||
"wlr/taskbar"
|
||||
//"modules-center": [
|
||||
//"hyprland/window",
|
||||
//"wlr/taskbar"
|
||||
|
||||
],
|
||||
//],
|
||||
"modules-right": [
|
||||
"custom/weather",
|
||||
//"custom/weather_sway",
|
||||
//"network",
|
||||
"idle_inhibitor",
|
||||
//"idle_inhibitor",
|
||||
"cpu",
|
||||
"memory",
|
||||
"disk",
|
||||
//"disk",
|
||||
"temperature",
|
||||
"battery",
|
||||
//"custom/PBPbattery",
|
||||
@@ -33,19 +37,24 @@
|
||||
//"pulseaudio_pamixer#microphone",
|
||||
//"custom/keyboard-layout",
|
||||
"backlight#icon",
|
||||
"backlight#value",
|
||||
//"backlight#value",
|
||||
"custom/updates",
|
||||
"clock",
|
||||
//"clock",
|
||||
"tray",
|
||||
//"custom/power",
|
||||
"custom/lock_screen",
|
||||
//"custom/lock_screen",
|
||||
"custom/notification",
|
||||
"custom/light_dark"
|
||||
],
|
||||
"custom/launcher": {
|
||||
"format": " ",
|
||||
"format": " ",
|
||||
"on-click": "sh -c '(sleep 0.5s; pkill wofi || wofi -c ~/.config/wofi/config-lmenu)' & disown",
|
||||
"tooltip": false
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%H:%M}",
|
||||
"tooltip-format": "{: %A, %e %B %Y}"
|
||||
},
|
||||
"wlr/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
@@ -65,6 +74,20 @@
|
||||
"10": []
|
||||
}
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{name}",
|
||||
"format-icons": {
|
||||
"active": "",
|
||||
"default": "",
|
||||
"persistent": ""
|
||||
},
|
||||
"on-scroll-up": "hyprctl dispatch workspace r-1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace r+1",
|
||||
"all-outputs": false,
|
||||
"persistent_workspaces": {
|
||||
"*": 1
|
||||
}
|
||||
},
|
||||
"custom/playerctl": {
|
||||
"format": "{icon}",
|
||||
"return-type": "json",
|
||||
@@ -77,7 +100,7 @@
|
||||
"format-icons": {
|
||||
"Playing": "<span foreground='#E5B9C6'> </span>",
|
||||
"Paused": "<span foreground='#928374'> </span>"
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
"custom/playerlabel": {
|
||||
@@ -92,7 +115,7 @@
|
||||
"format-icons": {
|
||||
"Playing": "<span foreground='#E5B9C6'> </span>",
|
||||
"Paused": "<span foreground='#928374'> </span>"
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
// --------------------
|
||||
@@ -110,9 +133,9 @@
|
||||
"ignore-list": [
|
||||
"wofi"
|
||||
],
|
||||
"app_ids-mapping": {
|
||||
"steam_app_39210": "Final Fantasy 14"
|
||||
}
|
||||
"app_ids-mapping": {
|
||||
"steam_app_39210": "Final Fantasy 14"
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -188,13 +211,13 @@
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"good": 80,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
// "format-full": "",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
@@ -207,10 +230,10 @@
|
||||
"pulseaudio": {
|
||||
"scroll-step": 1, // %, can be a float
|
||||
"format": "{icon} {volume}%",
|
||||
"format-bluetooth": "{icon} {volume}% {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " ",
|
||||
"format-source": "{volume}% ",
|
||||
"format-bluetooth": " {volume}%", //"{icon} {volume}%", //{format_source}",
|
||||
"format-bluetooth-muted": " {icon}", //{format_source}",
|
||||
"format-muted": "",
|
||||
"format-source": " {volume}%",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
@@ -223,7 +246,7 @@
|
||||
},
|
||||
"on-click": "pavucontrol",
|
||||
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +1%",
|
||||
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -1%",
|
||||
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -1%"
|
||||
},
|
||||
"pulseaudio_pamixer": {
|
||||
"format": "{icon}",
|
||||
@@ -269,6 +292,7 @@
|
||||
},
|
||||
"backlight#icon": {
|
||||
"format": "{icon}",
|
||||
"format": "{icon} {percent}%",
|
||||
"format-icons": [""],
|
||||
"on-scroll-down": "brightnessctl -c backlight set 1%-",
|
||||
"on-scroll-up": "brightnessctl -c backlight set +1%"
|
||||
@@ -294,8 +318,28 @@
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/light_dark": {
|
||||
"format": "",
|
||||
"format": "",
|
||||
"on-click": "~/.config/waybar/scripts/baraction light",
|
||||
"tooltip": false
|
||||
}
|
||||
},
|
||||
"custom/notification": {
|
||||
"tooltip": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"notification": "<span foreground='red'><sup></sup></span>",
|
||||
"none": "",
|
||||
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-none": "",
|
||||
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"inhibited-none": "",
|
||||
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-inhibited-none": ""
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,218 +0,0 @@
|
||||
// Global
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
|
||||
// If height property would be not present, it'd be calculated dynamically
|
||||
"height": 30,
|
||||
|
||||
"modules-left": [
|
||||
"custom/launcher",
|
||||
"sway/workspaces",
|
||||
"sway/mode",
|
||||
],
|
||||
|
||||
"modules-center": [
|
||||
],
|
||||
|
||||
"modules-right": [
|
||||
"network",
|
||||
"idle_inhibitor",
|
||||
"memory",
|
||||
"cpu",
|
||||
"pulseaudio",
|
||||
"custom/keyboard-layout",
|
||||
"battery",
|
||||
//"custom/PBPbattery",
|
||||
"backlight#icon",
|
||||
"backlight#value",
|
||||
"clock",
|
||||
"tray",
|
||||
//"custom/weather",
|
||||
"custom/power",
|
||||
],
|
||||
|
||||
// Modules
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon} ",
|
||||
"format-icons":{
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
// "format-full": "",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
|
||||
"custom/PBPbattery": {
|
||||
"exec": "~/.config/waybar/scripts/PBPbattery.sh",
|
||||
"format": "{}",
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"interval": 10,
|
||||
"format-alt": " {:%e %b %Y}", // Icon: calendar-alt
|
||||
"format": "{:%H:%M}",
|
||||
"tooltip-format": "{:%e %B %Y}"
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 5,
|
||||
"format": " {usage}% ({load})", // Icon: microchip
|
||||
"states": {
|
||||
"warning": 70,
|
||||
"critical": 90,
|
||||
},
|
||||
"on-click": "xfce4-terminal -e 'htop'",
|
||||
},
|
||||
|
||||
"custom/keyboard-layout": {
|
||||
"exec": "swaymsg -t get_inputs | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4",
|
||||
// Interval set only as a fallback, as the value is updated by signal
|
||||
"interval": 30,
|
||||
"format": " {}", // Icon: keyboard
|
||||
// Signal sent by Sway key binding (~/.config/sway/key-bindings)
|
||||
"signal": 1, // SIGHUP
|
||||
"tooltip": false,
|
||||
"on-click": "~/.config/waybar/scripts/keyhint.sh",
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 5,
|
||||
"format": " {}%", // Icon: memory
|
||||
"on-click": "xfce4-terminal -e 'htop'",
|
||||
"states": {
|
||||
"warning": 70,
|
||||
"critical": 90
|
||||
}
|
||||
},
|
||||
|
||||
"network": {
|
||||
"interval": 5,
|
||||
"format-wifi": " {essid} ({signalStrength}%)", // Icon: wifi
|
||||
"format-ethernet": " {ifname}: {ipaddr}/{cidr}", // Icon: ethernet
|
||||
"format-disconnected": "⚠ Disconnected",
|
||||
"tooltip-format": "{ifname}: {ipaddr}",
|
||||
"on-click": "xfce4-terminal -e 'nmtui'",
|
||||
},
|
||||
"network#vpn": {
|
||||
"interface": "tun0",
|
||||
"format": " {essid} ({signalStrength}%)",
|
||||
"format-disconnected": "⚠ Disconnected",
|
||||
"tooltip-format": "{ifname}: {ipaddr}/{cidr}",
|
||||
},
|
||||
|
||||
"sway/mode": {
|
||||
"format": "{}",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"sway/window": {
|
||||
"format": "{}",
|
||||
"max-length": 120
|
||||
},
|
||||
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"disable-markup" : false,
|
||||
"all-outputs": true,
|
||||
"format": " {icon} ",
|
||||
//"format":"{icon}",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
}
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"scroll-step": 1, // %, can be a float
|
||||
"format": "{volume}% {icon}",
|
||||
"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",
|
||||
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +2%",
|
||||
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -2%",
|
||||
},
|
||||
|
||||
// to use the weather module replace <your_location> with your city or town
|
||||
// note: do not use spaces: new york would be newyork
|
||||
"custom/weather": {
|
||||
"exec": "~/.config/waybar/scripts/weather.sh <your_location>",
|
||||
"return-type": "json",
|
||||
"interval": 600,
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 18,
|
||||
"spacing":10,
|
||||
},
|
||||
|
||||
"backlight#icon": {
|
||||
"format": "{icon}",
|
||||
"format-icons": [""],
|
||||
"on-scroll-down": "brightnessctl -c backlight set 1%-",
|
||||
"on-scroll-up": "brightnessctl -c backlight set +1%"
|
||||
},
|
||||
|
||||
"backlight#value" :{
|
||||
"format": "{percent}%",
|
||||
"on-scroll-down": "brightnessctl -c backlight set 1%-",
|
||||
"on-scroll-up": "brightnessctl -c backlight set +1%"
|
||||
},
|
||||
|
||||
"custom/firefox": {
|
||||
"format": " ",
|
||||
"on-click": "exec firefox",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/terminal": {
|
||||
"format": " ",
|
||||
"on-click": "exec xfce4-terminal",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/files": {
|
||||
"format": " ",
|
||||
"on-click": "exec thunar",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/launcher": {
|
||||
"format":" ",
|
||||
"on-click": "exec wofi -c ~/.config/wofi/config -I",
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"custom/power": {
|
||||
"format":"⏻",
|
||||
"on-click": "exec ~/.config/waybar/scripts/power-menu.sh",
|
||||
"tooltip": false,
|
||||
},
|
||||
}
|
||||
@@ -13,7 +13,7 @@ window#waybar {
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: #1e1e2e;
|
||||
background: #e7e7ec;
|
||||
opacity: 0.8;
|
||||
border-radius: 10px;
|
||||
border-width: 2px;
|
||||
@@ -22,7 +22,7 @@ tooltip {
|
||||
}
|
||||
|
||||
tooltip label{
|
||||
color: #cdd6f4;
|
||||
color: #2b2b2c;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
@@ -69,7 +69,7 @@ tooltip label{
|
||||
#idle_inhibitor,
|
||||
#backlight {
|
||||
background: rgba(21, 18, 27, 0);
|
||||
opacity: 1;
|
||||
opacity: 0.8;
|
||||
padding: 0px 8px;
|
||||
margin: 0px 3px;
|
||||
border: 0px;
|
||||
@@ -79,6 +79,7 @@ tooltip label{
|
||||
color: #e92d4d;
|
||||
}
|
||||
|
||||
|
||||
#workspaces {
|
||||
padding-right: 0px;
|
||||
padding-left: 5px;
|
||||
@@ -86,8 +87,8 @@ tooltip label{
|
||||
|
||||
#window {
|
||||
border-radius: 10px;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
#custom-launch_firefox,
|
||||
@@ -105,4 +106,4 @@ tooltip label{
|
||||
#custom-launch_firefox,
|
||||
#custom-launch_kitty {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
@@ -10,9 +10,9 @@ window {
|
||||
margin: 4px;
|
||||
padding-left: 20px;
|
||||
border: none;
|
||||
color: #cdd6f4;
|
||||
color: #1e1e2e;
|
||||
font-weight: bold;
|
||||
background-color: #1e1e2e;
|
||||
background-color: #e7e7ec;
|
||||
outline: none;
|
||||
border-radius: 15px;
|
||||
margin: 10px;
|
||||
@@ -25,10 +25,10 @@ window {
|
||||
|
||||
#inner-box {
|
||||
margin: 4px;
|
||||
border: 10px solid #1e1e2e;
|
||||
color: #cdd6f4;
|
||||
border: 10px solid #e7e7ec;
|
||||
color: #1e1e2e;
|
||||
font-weight: bold;
|
||||
background-color: #1e1e2e;
|
||||
background-color: #e7e7ec;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ window {
|
||||
margin: 0px;
|
||||
border: none;
|
||||
border-radius: 15px;
|
||||
background-color: #1e1e2e;
|
||||
background-color: #e7e7ec;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
@@ -53,7 +53,7 @@ window {
|
||||
}
|
||||
|
||||
#text:selected {
|
||||
color: #cdd6f4;
|
||||
color: #1e1e2e;
|
||||
margin: 0px 0px;
|
||||
border: none;
|
||||
border-radius: 15px;
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
# core
|
||||
archlinuxcn-keyring yay paru zsh curl \
|
||||
hyprland xdg-desktop-portal-hyprland \
|
||||
kitty mako swaylock-effects udiskie thunar\
|
||||
polkit-kde-agent wofi waybar-hyprland-git sddm btop timeshift \
|
||||
ttf-jetbrains-mono-nerd noto-fonts-emoji wqy-zenhei wqy-microhei wqy-microhei-lite wqy-bitmapfont \
|
||||
blueman network-manager-applet ufw \
|
||||
fcitx5-im fcitx5-rime fcitx5-chinese-addons fcitx5-material-color fcitx5-configtool fcitx5-pinyin-zhwiki \
|
||||
obsidian neofetch notion-app-enhanced neovim github-desktop-bin spotify motrix aria2 \
|
||||
kate okular jupyterlab \
|
||||
|
||||
# sound
|
||||
alsa-utils pulseaudio pulseaudio-alsa pamixer pavucontrol
|
||||
|
||||
# develop
|
||||
mariadb mariadb-libs
|
||||
|
||||
# programming language
|
||||
clang go python-pip cargo npm jdk-openjdk
|
||||
|
||||
# pacman other
|
||||
plasma-desktop
|
||||
|
||||
# yay/paru
|
||||
fcitx5-input-support visual-studio-code-bin \
|
||||
google-chrome dotdrop swww wlogout logseq-desktop-wayland-bin anytype-bin \
|
||||
jetbrains-toolbox typora-free aliyunpan-odomu \
|
||||
ttf-wps-fonts wps-office-cn \
|
||||
linuxqq wechat-uos
|
||||
|
||||
# yay other
|
||||
sddm-config-editor-git hyprland-autoname-workspace-git
|
||||
|
||||
# git init
|
||||
git config --global user.name lostecho
|
||||
git config --global user.email 752549025@qq.com
|
||||
git config --global credential.helper store
|
||||
|
||||
# git repositories
|
||||
|
||||
https://github.com/selfteaching/the-craft-of-selfteaching.git
|
||||
https://github.com/xiaolai/regular-investing-in-box.git
|
||||
https://github.com/xiaolai/everyone-can-use-english.git
|
||||
https://github.com/xiaolai/time-as-a-friend.git
|
||||
|
||||
# hyprload
|
||||
curl -sSL https://raw.githubusercontent.com/Duckonaut/hyprload/main/install.sh | bash
|
||||
|
||||
# oh-my-zsh
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||
git clone https://github.com/z-shell/F-Sy-H.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/F-Sy-H
|
||||
|
||||
|
||||
|
||||
ghp_
|
||||
|
||||
9ykTi91rAkLtVnxhBcLssmIZaUxVvR2hWODQ
|
||||
219
dotfiles/software.md
Normal file
219
dotfiles/software.md
Normal file
@@ -0,0 +1,219 @@
|
||||
# the Software of ArchLinux
|
||||
|
||||
## install some necessary software
|
||||
|
||||
### after arch install finish
|
||||
|
||||
1. edit the pacman config file in `/etc/pacman.conf`
|
||||
|
||||
```bash
|
||||
sudo nano /etc/pacman.conf
|
||||
|
||||
# add to the last of the file
|
||||
---------------------------------------------------------------
|
||||
[archlinuxcn]
|
||||
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
|
||||
---------------------------------------------------------------
|
||||
|
||||
```
|
||||
|
||||
2. import GPG key
|
||||
|
||||
```bash
|
||||
sudo pacman -S archlinuxcn-keyring
|
||||
```
|
||||
|
||||
3. install yay & paru & other
|
||||
|
||||
```bash
|
||||
sudo pacman -S yay paru base-devel neovim
|
||||
```
|
||||
|
||||
4. clone config file repository
|
||||
|
||||
```bash
|
||||
git clone https://github.com/IHHII/.dotfiles.git
|
||||
git checkout -b altas origin/altas
|
||||
```
|
||||
|
||||
5. cancel the sudo password and change the environment variable
|
||||
|
||||
```bash
|
||||
sudo su
|
||||
nvim /etc/sudoers.d/10-installer
|
||||
|
||||
# change file to this #
|
||||
--------------------------------
|
||||
%wheel ALL=(ALL) ALL
|
||||
%lostecho ALL=(ALL) NOPASSWD:ALL
|
||||
--------------------------------
|
||||
|
||||
nvim /etc/environment
|
||||
|
||||
# change the environment in it #
|
||||
--------------------------------
|
||||
BROWSER=microsoft-edge-stable
|
||||
EDITOR=nvim
|
||||
--------------------------------
|
||||
|
||||
```
|
||||
|
||||
6. add the alhp source
|
||||
|
||||
- check and install keyring & mirrorlist
|
||||
|
||||
```bash
|
||||
/lib/ld-linux-x86-64.so.2 --help
|
||||
yay -S alhp-keyring alhp-mirrorlist
|
||||
```
|
||||
|
||||
- add following source to `/etc/pacman.conf`
|
||||
|
||||
|
||||
```bash
|
||||
nvim /etc/pacman.conf
|
||||
|
||||
# add before [core] mirror #
|
||||
----------------------------------------
|
||||
[core-x86-64-v3]
|
||||
Include = /etc/pacman.d/alhp-mirrorlist
|
||||
|
||||
[extra-x86-64-v3]
|
||||
Include = /etc/pacman.d/alhp-mirrorlist
|
||||
|
||||
#[community-x86-64-v3]
|
||||
#Include = /etc/pacman.d/alhp-mirrorlist
|
||||
----------------------------------------
|
||||
```
|
||||
|
||||
- update software
|
||||
|
||||
```bash
|
||||
sudo pacman -Syuu
|
||||
```
|
||||
|
||||
7. oh-my-zsh setup
|
||||
|
||||
- use script to install oh-my-zsh
|
||||
|
||||
```bash
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||
git clone https://github.com/z-shell/F-Sy-H.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/F-Sy-H
|
||||
```
|
||||
|
||||
- replace `.zshrc` file
|
||||
|
||||
```zsh
|
||||
yay -S dotdrop
|
||||
dotdrop --cfg=~/.dotfiles/config.yaml install
|
||||
source ~/.zshrc
|
||||
|
||||
```
|
||||
|
||||
### install desktop environment
|
||||
|
||||
1. install hyprland
|
||||
|
||||
```zsh
|
||||
sudo pacman -S \
|
||||
hyprland xdg-desktop-portal-hyprland wofi \
|
||||
kitty mako swaylock-effects udiskie thunar btop \
|
||||
polkit-kde-agent waybar-hyprland-git sddm
|
||||
|
||||
yay -S wlogout swww
|
||||
```
|
||||
|
||||
2. install fonts and fcitx5
|
||||
|
||||
- fonts
|
||||
|
||||
```zsh
|
||||
sudo pacman -S \
|
||||
ttf-jetbrains-mono-nerd noto-fonts-emoji wqy-zenhei \
|
||||
wqy-microhei wqy-microhei-lite wqy-bitmapfont
|
||||
```
|
||||
|
||||
- fcitx5
|
||||
|
||||
```zsh
|
||||
sudo pacman -S \
|
||||
fcitx5-im fcitx5-rime fcitx5-chinese-addons \
|
||||
fcitx5-material-color fcitx5-configtool fcitx5-pinyin-zhwiki
|
||||
|
||||
yay -S fcitx5-input-support
|
||||
|
||||
```
|
||||
|
||||
3. install some tools
|
||||
|
||||
```zsh
|
||||
sudo pacman -S \
|
||||
blueman ufw network-manager-applet timeshift\
|
||||
neofetch github-desktop-bin aria2 motrix \
|
||||
zathura zathura-mu-pdf
|
||||
```
|
||||
|
||||
4. documents view and edit
|
||||
```zsh
|
||||
sudo pacman -S kate okular jupyterlab
|
||||
|
||||
yay -S microsoft-edge-stable visual-studio-code-bin \
|
||||
ttf-wps-fonts wps-office-cn
|
||||
```
|
||||
|
||||
5. develop tools
|
||||
|
||||
```zsh
|
||||
sudo pacman -S \
|
||||
mariadb mariadb-libs \
|
||||
clang go python-pip cargo npm jdk-openjdk
|
||||
|
||||
yay -S jetbrains-toolbox
|
||||
```
|
||||
|
||||
6. install sound
|
||||
|
||||
> have some unknown problem
|
||||
|
||||
```zsh
|
||||
alsa-utils pulseaudio pulseaudio-alsa pamixer pavucontrol
|
||||
```
|
||||
|
||||
7. install note software
|
||||
```zsh
|
||||
yay -S \
|
||||
obsidian notion-app-enhanced typora-free \
|
||||
logseq-desktop-wayland-bin anytype-bin
|
||||
```
|
||||
|
||||
### other software
|
||||
|
||||
- pacman
|
||||
|
||||
plasma-desktop
|
||||
|
||||
- yay
|
||||
|
||||
aliyunpan-odomu \
|
||||
|
||||
sddm-config-editor-git hyprland-autoname-workspace-git
|
||||
|
||||
### git init
|
||||
git config --global user.name lostecho
|
||||
git config --global user.email 752549025@qq.com
|
||||
git config --global credential.helper store
|
||||
|
||||
### some git repositories
|
||||
|
||||
```zsh
|
||||
git clone https://github.com/selfteaching/the-craft-of-selfteaching.git
|
||||
git clone https://github.com/xiaolai/regular-investing-in-box.git
|
||||
git clone https://github.com/xiaolai/everyone-can-use-english.git
|
||||
git clone https://github.com/xiaolai/time-as-a-friend.git
|
||||
```
|
||||
|
||||
# hyprload
|
||||
curl -sSL https://raw.githubusercontent.com/Duckonaut/hyprload/main/install.sh | bash
|
||||
|
||||
ghp_0ykTi91rAkLtVnxhBcLssmIZaUxVvR2hWODQ
|
||||
@@ -1,6 +1,6 @@
|
||||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
export PATH="$HOME/bin:/usr/local/bin:$HOME/.cargo/bin:$PATH"
|
||||
export PATH="$HOME/bin:/usr/local/bin:$HOME/.cargo/bin:$HOME/.npm/bin:$PATH"
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
@@ -88,6 +88,9 @@ source $ZSH/oh-my-zsh.sh
|
||||
# You may need to manually set your language environment
|
||||
export LANG=en_US.UTF-8
|
||||
export EDITOR=nvim
|
||||
export GOPROXY=https://proxy.golang.com.cn,direct
|
||||
#export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
||||
#[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
#export all_proxy=http://192.168.31.40:7890
|
||||
#export JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab
|
||||
|
||||
@@ -111,7 +114,8 @@ export EDITOR=nvim
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
# proxy alias
|
||||
alias proxy="export all_proxy=http://192.168.31.40:7890" # for home network enviroment
|
||||
alias proxy="export all_proxy=http://127.0.0.1:7890" # for home network enviroment
|
||||
#alias proxy="export all_proxy=http://192.168.31.40:7890" # for home network enviroment
|
||||
alias noproxy="export all_proxy=''" # cancel proxy mode
|
||||
|
||||
# dordrop config file alias
|
||||
@@ -124,12 +128,20 @@ alias vzsh="vim ~/.zshrc" # edit zsh config
|
||||
alias szsh="source ~/.zshrc" # source the zshrc file
|
||||
alias hyprloadreload="curl -sSL https://raw.githubusercontent.com/Duckonaut/hyprload/main/install.sh | bash"
|
||||
|
||||
alias aria="aria2c -c -s16 -x16 -k1M"
|
||||
|
||||
# quick command
|
||||
alias pdf="zathura"
|
||||
|
||||
# remotedesktop
|
||||
alias nuc="wlfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:NUC /f"
|
||||
alias nucs="xfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:192.168.31.15 /f"
|
||||
#alias nuc="wlfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:NUC /f /sound"
|
||||
alias nuc="wlfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:192.168.31.15 /f /sound"
|
||||
alias nucx="xfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:43.249.192.204:45561 /f /sound /floatbar:sticky:off,default:hidden,show:window -themes +multitouch /video -wallpaper +nego +smart-sizing"
|
||||
alias nucwl="wlfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:43.249.192.204:45561 /f /sound /floatbar:sticky:off,default:hidden,show:window -themes -toggle-fullscreen +multitouch /video -wallpaper +nego +smart-sizing"
|
||||
|
||||
# git alias
|
||||
alias gup="git pull --rebase"
|
||||
alias gall="git add . && git commit -a -m 'update' && git push"
|
||||
|
||||
# install software
|
||||
alias installpac="sudo pacman -S archlinuxcn-keyring yay paru zsh curl \
|
||||
|
||||
19
pkgs/Paperlib/.gitignore
vendored
Normal file
19
pkgs/Paperlib/.gitignore
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
*.tar
|
||||
*.tar.*
|
||||
*.jar
|
||||
*.exe
|
||||
*.msi
|
||||
*.zip
|
||||
*.tgz
|
||||
*.log
|
||||
*.log.*
|
||||
*.sig
|
||||
|
||||
pkg/
|
||||
src/
|
||||
|
||||
*.AppImage
|
||||
paperlib-*.pkg.tar.zst
|
||||
paperlib-*.log
|
||||
|
||||
*.code-workspace
|
||||
45
pkgs/Paperlib/PKGBUILD
Normal file
45
pkgs/Paperlib/PKGBUILD
Normal file
@@ -0,0 +1,45 @@
|
||||
# Maintainer: elementh <hello@lucasmarino.me>
|
||||
#
|
||||
# WARNING WARNING WARNING WARNING WARNING
|
||||
# IMPORTANT: MIGRATION
|
||||
#
|
||||
# If you are coming from the > 0.3.2 BETA please read the instructions:
|
||||
#
|
||||
# 1. Install `anytype-legacy`
|
||||
# 2. Follow the instructions HERE: https://community.anytype.io/t/anytype-legacy-to-beta-migration-trail-guide/9274
|
||||
# UP to the point 2., BUT NOT 3.
|
||||
# 3. Now install `anytype-bin` (this package) and now you can follow point 3. and login with the recovery phrase.
|
||||
#
|
||||
# Thanks.
|
||||
#
|
||||
pkgname=paperlib
|
||||
pkgver=2.2.3
|
||||
pkgrel=1
|
||||
pkgdesc="An open-source academic paper management tool."
|
||||
arch=('x86_64')
|
||||
url="https://paperlib.app/"
|
||||
license=('GPL3')
|
||||
depends=('fuse')
|
||||
options=(!strip)
|
||||
optdepends=()
|
||||
provides=('paperlib')
|
||||
conflicts=('paperlib-bin'
|
||||
'paperlib-appimage')
|
||||
_appimage="Paperlib-${pkgver}.AppImage"
|
||||
source=(
|
||||
"Paperlib-${pkgver}.AppImage::https://paperlib.app/distribution/electron-linux/Paperlib_latest.AppImage"
|
||||
"paperlib.desktop"
|
||||
"paperlib.png"
|
||||
)
|
||||
noextract=("${_appimage}")
|
||||
sha256sums=('714dd0e6da3616eadf105945e77ec7b59dcb975752cab00add95a1dfe5f53952'
|
||||
'1cdc046db21e46aff6067dcc92393fdfa9ed46cfaee52221e0533d813d6fee81'
|
||||
'5f74e4a4b4eb07c50c5573d28afcf4005c99da78b9edc8884157a24dffb0c9f8')
|
||||
|
||||
package() {
|
||||
install -Dm755 $_appimage "$pkgdir"/usr/bin/paperlib
|
||||
chmod +x "${pkgdir}/usr/bin/paperlib"
|
||||
|
||||
install -Dm644 "paperlib.desktop" "${pkgdir}/usr/share/applications/paperlib.desktop"
|
||||
install -Dm644 "paperlib.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/paperlib.png"
|
||||
}
|
||||
10
pkgs/Paperlib/paperlib.desktop
Normal file
10
pkgs/Paperlib/paperlib.desktop
Normal file
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Name=Paperlib
|
||||
Exec=paperlib
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=paperlib
|
||||
StartupWMClass=Paperlib
|
||||
X-AppImage-Version=2.2.3
|
||||
Comment=A simple academic paper management tool.
|
||||
Categories=Utility;
|
||||
BIN
pkgs/Paperlib/paperlib.png
Normal file
BIN
pkgs/Paperlib/paperlib.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
22
pkgs/anytype-bin/.SRCINFO
Normal file
22
pkgs/anytype-bin/.SRCINFO
Normal file
@@ -0,0 +1,22 @@
|
||||
pkgbase = anytype-bin
|
||||
pkgdesc = Operating environment for the new internet. Anytype is a next generation software that breaks down barriers between applications, gives back privacy and data ownership to users.
|
||||
pkgver = 0.33.0
|
||||
pkgrel = 1
|
||||
url = https://anytype.io/
|
||||
arch = x86_64
|
||||
license = custom
|
||||
depends = fuse
|
||||
optdepends = org.freedesktop.secrets: for not having to sign in each time
|
||||
provides = anytype
|
||||
conflicts = anytype
|
||||
conflicts = anytype-legacy
|
||||
noextract = Anytype-0.33.0.AppImage
|
||||
options = !strip
|
||||
source = Anytype-0.33.0.AppImage::https://anytype-release.fra1.cdn.digitaloceanspaces.com/Anytype-0.33.0.AppImage
|
||||
source = anytype.desktop
|
||||
source = anytype.png
|
||||
sha256sums = 964a1cb8f95460615658431acfb43f4963052066b6c3e8cd434bb9133712cfb3
|
||||
sha256sums = 1bda1398291bed84ebee1d2c3e94b4c367925a8e2c0bd371aba8d6604e54281f
|
||||
sha256sums = 48ee23a45c29cf081ccf5188c045150b7410007cd21743ce8592974ab18120c0
|
||||
|
||||
pkgname = anytype-bin
|
||||
19
pkgs/anytype-bin/.gitignore
vendored
Normal file
19
pkgs/anytype-bin/.gitignore
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
*.tar
|
||||
*.tar.*
|
||||
*.jar
|
||||
*.exe
|
||||
*.msi
|
||||
*.zip
|
||||
*.tgz
|
||||
*.log
|
||||
*.log.*
|
||||
*.sig
|
||||
|
||||
pkg/
|
||||
src/
|
||||
|
||||
*.AppImage
|
||||
anytype-appimage-*.pkg.tar.zst
|
||||
anytype-appimage-*.log
|
||||
|
||||
*.code-workspace
|
||||
21
pkgs/anytype-bin/LICENSE
Normal file
21
pkgs/anytype-bin/LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021 Lucas Maximiliano Marino
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
45
pkgs/anytype-bin/PKGBUILD
Normal file
45
pkgs/anytype-bin/PKGBUILD
Normal file
@@ -0,0 +1,45 @@
|
||||
# Maintainer: elementh <hello@lucasmarino.me>
|
||||
#
|
||||
# WARNING WARNING WARNING WARNING WARNING
|
||||
# IMPORTANT: MIGRATION
|
||||
#
|
||||
# If you are coming from the > 0.3.2 BETA please read the instructions:
|
||||
#
|
||||
# 1. Install `anytype-legacy`
|
||||
# 2. Follow the instructions HERE: https://community.anytype.io/t/anytype-legacy-to-beta-migration-trail-guide/9274
|
||||
# UP to the point 2., BUT NOT 3.
|
||||
# 3. Now install `anytype-bin` (this package) and now you can follow point 3. and login with the recovery phrase.
|
||||
#
|
||||
# Thanks.
|
||||
#
|
||||
pkgname=anytype-bin
|
||||
pkgver=0.33.2
|
||||
pkgrel=1
|
||||
pkgdesc="Operating environment for the new internet. Anytype is a next generation software that breaks down barriers between applications, gives back privacy and data ownership to users."
|
||||
arch=('x86_64')
|
||||
url="https://anytype.io/"
|
||||
license=('custom')
|
||||
depends=('fuse')
|
||||
options=(!strip)
|
||||
optdepends=('org.freedesktop.secrets: for not having to sign in each time')
|
||||
provides=('anytype')
|
||||
conflicts=('anytype'
|
||||
'anytype-legacy')
|
||||
_appimage="Anytype-${pkgver}.AppImage"
|
||||
source=(
|
||||
"Anytype-${pkgver}.AppImage::https://anytype-release.fra1.cdn.digitaloceanspaces.com/Anytype-${pkgver}.AppImage"
|
||||
"anytype.desktop"
|
||||
"anytype.png"
|
||||
)
|
||||
noextract=("${_appimage}")
|
||||
sha256sums=('bea0a7b6528ca8e92edf64349627ffb44fe07cb899c1360b1e6313d6f7c4e945'
|
||||
'1bda1398291bed84ebee1d2c3e94b4c367925a8e2c0bd371aba8d6604e54281f'
|
||||
'48ee23a45c29cf081ccf5188c045150b7410007cd21743ce8592974ab18120c0')
|
||||
|
||||
package() {
|
||||
install -Dm755 $_appimage "$pkgdir"/usr/bin/anytype
|
||||
chmod +x "${pkgdir}/usr/bin/anytype"
|
||||
|
||||
install -Dm644 "anytype.desktop" "${pkgdir}/usr/share/applications/anytype.desktop"
|
||||
install -Dm644 "anytype.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/anytype.png"
|
||||
}
|
||||
39
pkgs/anytype-bin/README.md
Normal file
39
pkgs/anytype-bin/README.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# Anytype
|
||||
|
||||
PKGBUILD for Anytype's binary AUR package.
|
||||
|
||||
## What is Anytype?
|
||||
|
||||
> Anytype is a next generation software that breaks
|
||||
> down barriers between applications, gives back
|
||||
> privacy and data ownership to users.
|
||||
|
||||
More information can be found [here](https://anytype.io).
|
||||
|
||||
## AUR
|
||||
|
||||
The AUR package can be found [here](https://aur.archlinux.org/packages/anytype-bin/).x
|
||||
|
||||
## License
|
||||
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021 Lucas Maximiliano Marino
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
10
pkgs/anytype-bin/anytype.desktop
Normal file
10
pkgs/anytype-bin/anytype.desktop
Normal file
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Name=Anytype
|
||||
Comment=Operating environment for the new internet
|
||||
Exec=anytype
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=anytype
|
||||
StartupWMClass=Anytype
|
||||
X-AppImage-Version=1.1.3
|
||||
Categories=Internet;
|
||||
BIN
pkgs/anytype-bin/anytype.png
Normal file
BIN
pkgs/anytype-bin/anytype.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
16
pkgs/logseq-desktop-wayland-bin/.SRCINFO
Normal file
16
pkgs/logseq-desktop-wayland-bin/.SRCINFO
Normal file
@@ -0,0 +1,16 @@
|
||||
pkgbase = logseq-desktop-wayland-bin
|
||||
pkgdesc = A privacy-first, open-source platform for knowledge sharing and management. Enabled flags for wayland support.
|
||||
pkgver = 0.9.10
|
||||
pkgrel = 1
|
||||
url = https://github.com/logseq/logseq
|
||||
arch = x86_64
|
||||
license = AGPL3
|
||||
provides = logseq-desktop
|
||||
conflicts = logseq-desktop-git
|
||||
conflicts = logseq-desktop
|
||||
source = https://github.com/logseq/logseq/releases/download/0.9.10/logseq-linux-x64-0.9.10.zip
|
||||
source = logseq-desktop.desktop
|
||||
sha256sums = 68413f7b378a2e56b998f6fd1ecbffd3283317296164a6b7ea7e44d16e316d3c
|
||||
sha256sums = d3ef0abb2af02d7a27bf158921297d9cafebd73c9c955e893060b56a4cecd7a5
|
||||
|
||||
pkgname = logseq-desktop-wayland-bin
|
||||
18
pkgs/logseq-desktop-wayland-bin/.gitignore
vendored
Normal file
18
pkgs/logseq-desktop-wayland-bin/.gitignore
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
*.tar
|
||||
*.tar.*
|
||||
*.jar
|
||||
*.exe
|
||||
*.msi
|
||||
*.zip
|
||||
*.tgz
|
||||
*.log
|
||||
*.log.*
|
||||
*.sig
|
||||
|
||||
pkg/
|
||||
src/
|
||||
|
||||
logseq-*.pkg.tar.zst
|
||||
logseq-*.log
|
||||
|
||||
*.code-workspace
|
||||
29
pkgs/logseq-desktop-wayland-bin/PKGBUILD
Normal file
29
pkgs/logseq-desktop-wayland-bin/PKGBUILD
Normal file
@@ -0,0 +1,29 @@
|
||||
# Maintainer: okhsunrog <me@okhsunrog.ru>
|
||||
# Contributor: Xuanwo <xuanwo@archlinuxcn.org>
|
||||
|
||||
pkgname=logseq-desktop-wayland-bin
|
||||
_pkgname=logseq-desktop
|
||||
pkgver=0.9.11
|
||||
pkgrel=1
|
||||
pkgdesc="A privacy-first, open-source platform for knowledge sharing and management. Enabled flags for wayland support."
|
||||
arch=("x86_64")
|
||||
url="https://github.com/logseq/logseq"
|
||||
license=('AGPL3')
|
||||
provides=("logseq-desktop")
|
||||
conflicts=("logseq-desktop-git" "logseq-desktop")
|
||||
source=("https://github.com/logseq/logseq/releases/download/${pkgver}/logseq-linux-x64-${pkgver}.zip"
|
||||
"${_pkgname}.desktop")
|
||||
sha256sums=('9c32d72d488665cd4e0aeb2178ce67e6ef2532dd89f064ad7d3d91a53dd42494'
|
||||
'5f9f31837f43d7b6f3467b9aa5df90cf535cfb82581da73e9cabe22776ae80ec')
|
||||
|
||||
package() {
|
||||
cd "$srcdir/Logseq-linux-x64"
|
||||
# desktop file, make minitype works as expected.
|
||||
install -Dm644 $srcdir/$_pkgname.desktop $pkgdir/usr/share/applications/logseq-desktop.desktop
|
||||
# icons
|
||||
install -Dm644 "$srcdir/Logseq-linux-x64/resources/app/icons/logseq.png" "$pkgdir/usr/share/pixmaps/logseq.png"
|
||||
install -d ${pkgdir}/opt/${pkgname}
|
||||
cp -r $srcdir/Logseq-linux-x64/* ${pkgdir}/opt/${pkgname}/
|
||||
install -d ${pkgdir}/usr/bin
|
||||
ln -s /opt/${pkgname}/Logseq ${pkgdir}/usr/bin/logseq
|
||||
}
|
||||
10
pkgs/logseq-desktop-wayland-bin/logseq-desktop.desktop
Normal file
10
pkgs/logseq-desktop-wayland-bin/logseq-desktop.desktop
Normal file
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Name=Logseq
|
||||
Exec=/usr/bin/logseq --enable-features=UseOzonePlatform --ozone-platform=wayland %U
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=logseq
|
||||
StartupWMClass=Logseq
|
||||
Comment=A privacy-first, open-source platform for knowledge management and collaboration.
|
||||
MimeType=x-scheme-handler/logseq
|
||||
Categories=Utility
|
||||
25
pkgs/weread-pake/.SRCINFO
Normal file
25
pkgs/weread-pake/.SRCINFO
Normal file
@@ -0,0 +1,25 @@
|
||||
pkgbase = weread-pake
|
||||
pkgdesc = Use Pake to package WeRead.微信读书是广州腾讯科技有限公司推出的阅读软件.为用户推荐合适的书籍,并可查看微信好友的读书动态、与好友讨论正在阅读的书籍等.
|
||||
pkgver = 2.0.0
|
||||
pkgrel = 1
|
||||
url = https://weread.qq.com/
|
||||
arch = x86_64
|
||||
license = custom
|
||||
depends = hicolor-icon-theme
|
||||
depends = gcc-libs
|
||||
depends = glib2
|
||||
depends = dbus
|
||||
depends = gtk3
|
||||
depends = gdk-pixbuf2
|
||||
depends = glibc
|
||||
depends = cairo
|
||||
depends = webkit2gtk
|
||||
depends = openssl-1.1
|
||||
depends = pango
|
||||
conflicts = weread
|
||||
source = weread-pake-2.0.0.deb::https://github.com/tw93/Pake/releases/download/V2.0.0/WeRead_x86_64.deb
|
||||
source = LICENSE.html::https://weread.qq.com/web/copyright
|
||||
sha256sums = e6e2b59259d93ce86f6f3e7e8b5ff6a31a6d98c41969e279fc19f55a45f5083f
|
||||
sha256sums = a92c199faf67e7ad503dc441e8ceb1d4c79f2516d3237386d27b6995daf259f8
|
||||
|
||||
pkgname = weread-pake
|
||||
20
pkgs/weread-pake/.gitignore
vendored
Normal file
20
pkgs/weread-pake/.gitignore
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
*.tar
|
||||
*.tar.*
|
||||
*.jar
|
||||
*.exe
|
||||
*.msi
|
||||
*.zip
|
||||
*.tgz
|
||||
*.log
|
||||
*.log.*
|
||||
*.sig
|
||||
|
||||
pkg/
|
||||
src/
|
||||
|
||||
*.html
|
||||
*.deb
|
||||
weread-pake-*.pkg.tar.zst
|
||||
weread-pake-*.log
|
||||
|
||||
*.code-workspace
|
||||
26
pkgs/weread-pake/PKGBUILD
Normal file
26
pkgs/weread-pake/PKGBUILD
Normal file
@@ -0,0 +1,26 @@
|
||||
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
|
||||
pkgname="weread-pake"
|
||||
_appname="com-tw93-weread"
|
||||
pkgver=2.0.6
|
||||
pkgrel=1
|
||||
pkgdesc="Use Pake to package WeRead.微信读书是广州腾讯科技有限公司推出的阅读软件.为用户推荐合适的书籍,并可查看微信好友的读书动态、与好友讨论正在阅读的书籍等."
|
||||
arch=('x86_64')
|
||||
url="https://weread.qq.com/"
|
||||
_githuburl="https://github.com/tw93/Pake"
|
||||
license=(custom)
|
||||
conflicts=("${pkgname%-pake}")
|
||||
depends=('hicolor-icon-theme' 'gcc-libs' 'glib2' 'dbus' 'gtk3' 'gdk-pixbuf2' 'glibc' 'cairo' 'webkit2gtk' 'openssl-1.1' 'pango')
|
||||
source=("${pkgname}-${pkgver}.deb::${_githuburl}/releases/download/V${pkgver}/WeRead_x86_64.deb"
|
||||
"LICENSE.html::https://weread.qq.com/web/copyright")
|
||||
sha256sums=('29975d621b546087fd0009144527192ee974bbb31ebe25ceeb848ea933643df3'
|
||||
'5a61b33225b8bbf607f20d3b5c386faa44b9e21eaef222aaa382ebb24486391d')
|
||||
package() {
|
||||
bsdtar -xvf data.tar.gz -C "${pkgdir}" --gname root --uname root
|
||||
install -Dm755 -d "${pkgdir}/opt/apps/${pkgname%-pake}"
|
||||
mv "${pkgdir}/usr/bin/${_appname}" "${pkgdir}/opt/apps/${pkgname%-pake}/${pkgname%-pake}"
|
||||
rm -rf "${pkgdir}/usr/share/applications" "${pkgdir}/usr/bin"
|
||||
gendesk -f --icon "${pkgname%-pake}" --categories "Utility" --name "${pkgname%-pake}" --exec "/opt/apps/${pkgname%-pake}/${pkgname%-pake}"
|
||||
install -Dm644 "${srcdir}/${pkgname%}.desktop" -t "${pkgdir}/usr/share/applications"
|
||||
mv "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${_appname}.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${pkgname%-pake}.png"
|
||||
install -Dm644 "${srcdir}/LICENSE.html" -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
||||
Reference in New Issue
Block a user