This commit is contained in:
cho
2023-09-28 20:14:15 +07:00
parent 25665457f4
commit 79225406e8
8 changed files with 33 additions and 15 deletions

View File

@ -0,0 +1,12 @@
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(warning-suppress-types '((org-element-cache) (defvaralias))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)

View File

@ -1,6 +1,6 @@
profile {
output HDMI-A-1 scale 1 mode 1366x768 position 0,0
output DVI-D-1 scale 1 mode 1280x1024 position 1366,0
output HDMI-A-1 scale 1 mode 1366x768 position 1280,0
output DVI-D-1 scale 1 mode 1280x1024 position 0,0
}
profile {
output HDMI-A-1 scale 1 mode 1366x768

View File

@ -36,6 +36,7 @@ cmd open ${{
video/*|application/vnd.rn-realmedia) setsid -f mpv $f -quiet >/dev/null 2>&1 ;;
application/pdf|application/vnd.djvu) setsid -f zathura $fx >/dev/null 2>&1 ;;
application/epub*) setsid -f com.github.johnfactotum.Foliate $fx >/dev/null 2>&1 ;;
#application/epub*) setsid -f mupdf -U ~/epub.css $fx >/dev/null 2>&1 ;;
application/pgp-encrypted) $EDITOR $fx ;;
application/vnd.openxmlformats-officedocument.wordprocessingml.document|application/vnd.oasis.opendocument.text) setsid -f lowriter $fx >/dev/null 2>&1 ;;
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet|application/octet-stream|application/vnd.oasis.opendocument.spreadsheet|application/vnd.oasis.opendocument.spreadsheet-template) setsid -f localc $fx >/dev/null 2>&1 ;;
@ -124,7 +125,8 @@ map V push :!nvim<space>
map W $setsid -f $TERMINAL >/dev/null 2>&1
map Y $printf "%s" "$fx" | xclip -selection clipboard
#map Y $printf "%s" "$fx" | xclip -selection clipboard
map Y $wl-copy < "$fx"
map <c-f> $setsid -f thunar . ; kill @#

View File

@ -1,7 +1,7 @@
# mpd.conf
music_directory "~/Music"
playlist_directory "~/.config/mpd/playlists"
playlist_directory "~/Music/playlists"
pid_file "~/.config/mpd/mpd.pid"
db_file "~/.config/mpd/mpd.db"
state_file "~/.config/mpd/mpd.state"

View File

@ -20,9 +20,9 @@ do
convert -rotate -90 "$file" "$file" ;;
"f")
convert -flop "$file" "$file" ;;
"y")
printf "%s" "$file" | tr -d '\n' | xclip -selection clipboard &&
notify-send "$file copied to clipboard" & ;;
"y") wl-copy < $file ;;
#printf "%s" "$file" | tr -d '\n' | xclip -selection clipboard &&
#notify-send "$file copied to clipboard" & ;;
"Y")
readlink -f "$file" | tr -d '\n' | xclip -selection clipboard &&
notify-send "$(readlink -f "$file") copied to clipboard" & ;;

View File

@ -50,11 +50,11 @@ exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
# emacs daemon
exec /usr/bin/emacs --daemon
assign [app_id="librewolf"] 2
assign [app_id="firefox"] 2
assign [app_id="mumble"] 9
assign [app_id="dino"] 9
assign [app_id="deluge"] 10
#assign [app_id="librewolf"] 2
#assign [app_id="firefox"] 2
#assign [app_id="mumble"] 9
#assign [app_id="dino"] 9
#assign [app_id="deluge"] 10
#exec_always autotiling
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
@ -69,7 +69,7 @@ show_marks yes
# looks
font pango: monospace 8
#gaps inner 25
gaps inner 25
default_border pixel 2
bindsym $mod+Control+y border toggle