Update dotfiles
This commit is contained in:
parent
161a5534fb
commit
04ed268e9f
|
@ -1,6 +1,6 @@
|
||||||
if status --is-login
|
if status --is-login
|
||||||
if test -z "$DISPLAY" -a $XDG_VTNR = 1
|
if test -z "$DISPLAY" -a $XDG_VTNR = 1
|
||||||
exec Hyprland > ~/.hyprland.log
|
exec Hyprland &> ~/.hyprland.log
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -16,13 +16,12 @@ monitor=,1920x1080,auto,1
|
||||||
# exec-once = waybar & hyprpaper & firefox
|
# exec-once = waybar & hyprpaper & firefox
|
||||||
|
|
||||||
exec-once = light -S 40
|
exec-once = light -S 40
|
||||||
# exec-once = /home/q/bin/setwallpaper ~/Pictures/wallpapers/Anime/wallhaven-4ow217_1920x1080.png
|
exec-once = $HOME/bin/start-wallpaper
|
||||||
exec-once = swww init
|
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
exec-once = dunst -config ~/.config/dunst/dunstrc
|
exec-once = dunst -config ~/.config/dunst/dunstrc
|
||||||
exec-once = telegram-desktop
|
exec-once = telegram-desktop
|
||||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||||
exec-once = /usr/bin/chromium-browser-stable --disable-gpu --disable-software-rasterizer
|
# exec-once = /usr/bin/chromium-browser-stable --disable-gpu --disable-software-rasterizer
|
||||||
exec-once = $HOME/bin/battery-daemon &
|
exec-once = $HOME/bin/battery-daemon &
|
||||||
|
|
||||||
# Source a file (multi-file configs)
|
# Source a file (multi-file configs)
|
||||||
|
@ -133,6 +132,7 @@ windowrulev2 = workspace 1 silent,title:^(chromium-browser)$
|
||||||
$mainMod = SUPER
|
$mainMod = SUPER
|
||||||
|
|
||||||
bind = $mainMod SHIFT, S,exec, bin/w-screenrecord
|
bind = $mainMod SHIFT, S,exec, bin/w-screenrecord
|
||||||
|
bind = $mainMod SHIFT, b, exec, chromium-browser-stable --disable-gpu --disable-software-rasterizer
|
||||||
|
|
||||||
# bindl=,switch:[switch name],exec,$HOME/bin/lockscreen
|
# bindl=,switch:[switch name],exec,$HOME/bin/lockscreen
|
||||||
|
|
||||||
|
@ -155,7 +155,19 @@ bind = $mainMod, RETURN, exec, foot
|
||||||
bind = $mainMod, N, exec, foot -e lf
|
bind = $mainMod, N, exec, foot -e lf
|
||||||
bind = $mainMod, M, exec, foot -e cmus
|
bind = $mainMod, M, exec, foot -e cmus
|
||||||
bind = $mainMod, d, exec, wofi --style ~/.cache/wal/style-wofi.css --show drun -I i
|
bind = $mainMod, d, exec, wofi --style ~/.cache/wal/style-wofi.css --show drun -I i
|
||||||
bind = ,Print, exec, makescreenshot
|
|
||||||
|
bind = ,Print, exec, hyprshot -c --mode output --clipboard-only
|
||||||
|
bind = SHIFT, Print, exec, hyprshot -c --mode output -o $HOME/Pictures/screenshots --filename "$(date +"%Y-%m-%d_%H-%M-%S").png"
|
||||||
|
|
||||||
|
bind = CONTROL, Print, exec, hyprshot -c --mode region --clipboard-only
|
||||||
|
bind = CONTROL SHIFT, Print, exec, hyprshot -c --mode region -o $HOME/Pictures/screenshots --filename "$(date +"%Y-%m-%d_%H-%M-%S").png"
|
||||||
|
|
||||||
|
bind = $mainMod, Print, exec, hyprshot -c --mode window --clipboard-only
|
||||||
|
bind = $mainMod SHIFT, Print, exec, hyprshot -c --mode window -o $HOME/Pictures/screenshots --filename "$(date +"%Y-%m-%d_%H-%M-%S").png"
|
||||||
|
|
||||||
|
bind = ALT, Print, exec, flameshot-makescreenshot-to-clipboard
|
||||||
|
bind = ALT SHIFT, Print, exec, flameshot-makescreenshot
|
||||||
|
|
||||||
# bind = $mainMod, SHIFT, L, exec, lockscreen
|
# bind = $mainMod, SHIFT, L, exec, lockscreen
|
||||||
bind = ALT, L, exec, lockscreen
|
bind = ALT, L, exec, lockscreen
|
||||||
|
|
||||||
|
|
|
@ -177,6 +177,7 @@ map f
|
||||||
map t
|
map t
|
||||||
map u
|
map u
|
||||||
map a
|
map a
|
||||||
|
map b
|
||||||
|
|
||||||
map ua unarchive
|
map ua unarchive
|
||||||
|
|
||||||
|
@ -186,6 +187,7 @@ map md push %mkdir<space>
|
||||||
map gp jump-prev
|
map gp jump-prev
|
||||||
|
|
||||||
map y copy
|
map y copy
|
||||||
|
map by %wl-copy < "$f" 2>&1 /dev/null
|
||||||
map p paste
|
map p paste
|
||||||
map x cut
|
map x cut
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,7 @@ end
|
||||||
|
|
||||||
opt.encoding = "utf-8"
|
opt.encoding = "utf-8"
|
||||||
opt.swapfile = false
|
opt.swapfile = false
|
||||||
|
opt.clipboard = "unnamedplus"
|
||||||
|
|
||||||
opt.number = true
|
opt.number = true
|
||||||
opt.relativenumber = true
|
opt.relativenumber = true
|
||||||
|
|
|
@ -27,14 +27,13 @@ require("lazy").setup({
|
||||||
},
|
},
|
||||||
|
|
||||||
-- { "gbprod/nord.nvim" }
|
-- { "gbprod/nord.nvim" }
|
||||||
-- { "rebelot/kanagawa.nvim" }
|
{ "rebelot/kanagawa.nvim" },
|
||||||
-- { "ellisonleao/gruvbox.nvim" }
|
-- { "ellisonleao/gruvbox.nvim" }
|
||||||
-- { "ray-x/aurora" }
|
-- { "ray-x/aurora" }
|
||||||
-- {"catppuccin/nvim"}
|
{"catppuccin/nvim"},
|
||||||
-- {"tiagovla/tokyodark.nvim"}
|
-- {"tiagovla/tokyodark.nvim"}
|
||||||
-- {'Everblush/everblush.nvim'}
|
-- {'Everblush/everblush.nvim'}
|
||||||
-- {"frenzyexists/aquarium-vim"}
|
-- {"frenzyexists/aquarium-vim"}
|
||||||
-- {"rebelot/kanagawa.nvim"}
|
|
||||||
-- {"projekt0n/github-nvim-theme"}
|
-- {"projekt0n/github-nvim-theme"}
|
||||||
-- {"Mofiqul/vscode.nvim"}
|
-- {"Mofiqul/vscode.nvim"}
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,6 @@ if not ok then
|
||||||
vim.notify("Failed load luasnip\n")
|
vim.notify("Failed load luasnip\n")
|
||||||
end
|
end
|
||||||
|
|
||||||
local s = ls.s
|
|
||||||
|
|
||||||
local fmt = require("luasnip.extras.fmt")
|
local fmt = require("luasnip.extras.fmt")
|
||||||
|
|
||||||
local i = ls.insert_node
|
local i = ls.insert_node
|
||||||
|
@ -13,9 +11,7 @@ local rep = require("luasnip.extras").rep
|
||||||
|
|
||||||
ls.setup({
|
ls.setup({
|
||||||
history = true,
|
history = true,
|
||||||
|
|
||||||
update_events = "TextChanged,TextChangedI",
|
update_events = "TextChanged,TextChangedI",
|
||||||
|
|
||||||
enable_autosnippets = true,
|
enable_autosnippets = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
XDG_CURRENT_DESKTOP="sway"
|
||||||
|
flameshot gui --raw | wl-copy
|
Loading…
Reference in New Issue