mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-13 23:51:34 +09:00
050723
This commit is contained in:
@ -1,80 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
killall bspc
|
||||
|
||||
# Compositor
|
||||
picom &
|
||||
|
||||
# Source the colorscheme
|
||||
#echo alpha="ff" >> "${HOME}/.cache/wal/colors.sh"
|
||||
#source "${HOME}/.cache/wal/colors.sh"
|
||||
|
||||
# Walllpaper
|
||||
~/scripts/random_wallpaper.sh
|
||||
|
||||
# Authentication agent
|
||||
#/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1&
|
||||
|
||||
# mapcheck
|
||||
#killall osucheck.sh
|
||||
#killall inotifywait
|
||||
#~/.osuthings/osucheck.sh "/home/$USER/.osutmp"&
|
||||
#~/.osuthings/osucheck.sh "/home/$USER/Downloads"&
|
||||
|
||||
# Tablet drivers
|
||||
#otd&
|
||||
|
||||
# Statusbar
|
||||
#eww -c ~/.config/eww/eww-bar open bar
|
||||
#eww -c ~/.config/eww/mybar open bar_right
|
||||
#eww -c ~/.config/eww/mybar open bar_center
|
||||
#eww -c ~/.config/eww/mybar open bar_left
|
||||
#killall polybar
|
||||
#polybar -c ~/.config/eww/mybar/polybar_tray.ini tray&
|
||||
|
||||
#Applets
|
||||
#killall blueman-applet
|
||||
#killall pa-applet
|
||||
#killall nm-applet
|
||||
#killall flameshot
|
||||
#blueman-applet&
|
||||
#pa-applet --disable-key-grabbing --disable-notifications&
|
||||
#nm-applet&
|
||||
#flameshot&
|
||||
|
||||
# daemons
|
||||
#killall dunst
|
||||
#dunst -lf $foreground \
|
||||
# -lb $color0$alpha \
|
||||
# -lfr $color9\
|
||||
# -nf $foreground \
|
||||
# -nb $color0$alpha \
|
||||
# -nfr $color9 \
|
||||
# -cf $foreground \
|
||||
# -cb $color0$alpha \
|
||||
# -cfr $color9 > /dev/null 2>&1 &
|
||||
#thunar --daemon&
|
||||
|
||||
|
||||
# Master layout
|
||||
#for (( i=1; i < 10; i++));do
|
||||
# #bsp-layout set tiled $i
|
||||
# true
|
||||
#done
|
||||
|
||||
# Sounds
|
||||
#~/.bscripts/sounds.sh&
|
||||
|
||||
# idle
|
||||
#killall idle.sh
|
||||
#pgrep idle.sh || ~/.bscripts/idle.sh > /dev/null 2> /dev/null&
|
||||
|
||||
# borders
|
||||
#.bscripts/borders.sh&
|
||||
|
||||
# Emacs Daemon
|
||||
#emacs --daemon
|
||||
|
||||
# Launch keybinding daemon
|
||||
killall sxhkd
|
||||
sxhkd -c ~/.config/sxhkd/sxhkdrc > /dev/null 2> /dev/null&
|
||||
@ -1,16 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
killall bspc
|
||||
|
||||
|
||||
|
||||
# Set environment
|
||||
export BSPWM_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/bspwm"
|
||||
##################################################
|
||||
# AUTOSTART
|
||||
##################################################
|
||||
killall sxhkd
|
||||
killall picom
|
||||
sxhkd &
|
||||
picom &
|
||||
killall nm-applet && nm-applet &
|
||||
killall volumeicon && volumeicon &
|
||||
#killall conky
|
||||
#sleep 3 && conky -c ~/.config/conky/conkyrc
|
||||
~/scripts/random_wallpaper.sh
|
||||
|
||||
bspc monitor -d 1 2 3 4 5
|
||||
|
||||
bspc config border_width 5
|
||||
bspc config window_gap 20
|
||||
#bspc config border_radius 2
|
||||
bspc config border_width 2
|
||||
bspc config window_gap 10
|
||||
bspc config top_padding 20
|
||||
bspc config border_radius 2
|
||||
bspc config focus_follows_pointer true
|
||||
#bspc config click_to_focus true
|
||||
bspc config gapless_monocle true
|
||||
#bspc config pointer_follows_focus true
|
||||
#bspc config single_monocle true
|
||||
@ -20,12 +31,13 @@ bspc config right_monocle_padding 20
|
||||
bspc config bottom_monocle_padding 20
|
||||
#bspc config ignore_ewmh_fullscreen enter
|
||||
|
||||
bspc rule --add emacs state=tiled
|
||||
bspc rule --add Blueman-manager state=floating rectangle=610x610+650+235
|
||||
bspc rule --add Surf layer=above border=off rectangle=415x1100+0+0
|
||||
bspc rule --add Surfdload state=floating layer=above border=off rectangle=415x75+0+0 sticky=on focus=off
|
||||
bspc rule --add Brave-browser rectangle=1130x800+395+140
|
||||
bspc rule --add Polkit-gnome-authentication-agent-1 rectangle=810x280+555+399
|
||||
bspc rule --add Polybar layer=below manage=off
|
||||
bspc rule --add Polybar layer=top manage=off
|
||||
bspc rule --add kozu state=floating rectangle=1910x200+0+870 layer=above
|
||||
bspc rule --add cava state=floating manage=off rectangle=1920x1050+0+50 border=off sticky=on locked=on layer=below focus=off
|
||||
#bspc rule --add Pqiv manage=off border=off #rectangle=110x50+260+20
|
||||
@ -63,7 +75,5 @@ bspc config normal_private_border_color "$color1"
|
||||
# rm "$BSPWM_STATE"
|
||||
#fi
|
||||
|
||||
#Move thumbnails
|
||||
#xdotool search "pqiv: /tmp/thumbnail.png" windowmove 256 20
|
||||
# Autostart
|
||||
"$BSPWM_CONFIG/autostart" &
|
||||
# TODO heres polybar
|
||||
polybar panel-bspwm
|
||||
|
||||
103
.config/conky/conkyrc
Normal file
103
.config/conky/conkyrc
Normal file
@ -0,0 +1,103 @@
|
||||
--[[
|
||||
#########################################
|
||||
## tomorrow-night-01.conkyrc (bspwm) ##
|
||||
#########################################
|
||||
]]
|
||||
|
||||
conky.config = {
|
||||
|
||||
--Various settings
|
||||
background = true, -- forked to background
|
||||
cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring.
|
||||
diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring.
|
||||
double_buffer = true, -- Use the Xdbe extension? (eliminates flicker)
|
||||
if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address
|
||||
net_avg_samples = 2, -- The number of samples to average for net data
|
||||
no_buffers = true, -- Subtract (file system) buffers from used memory?
|
||||
temperature_unit = 'fahrenheit', -- fahrenheit or celsius
|
||||
text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256
|
||||
update_interval = 1, -- update interval
|
||||
imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song
|
||||
|
||||
-- Placement (Conky on MIDDLE of THREE monitors at 1920x1080)
|
||||
--alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right,
|
||||
--gap_x = 3540, -- pixels between right or left border
|
||||
--gap_y = 70, -- pixels between bottom or left border
|
||||
|
||||
-- Placement (For SINGLE monitor users!)
|
||||
alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right,
|
||||
gap_x = 50, -- pixels between right or left border
|
||||
gap_y = 70, -- pixels between bottom or left border
|
||||
|
||||
-- Size
|
||||
minimum_height = 200, -- minimum height of window
|
||||
minimum_width = 260, -- minimum width of window
|
||||
maximum_width = 260, -- maximum width of window
|
||||
|
||||
--Graphical
|
||||
border_inner_margin = 5, -- margin between border and text
|
||||
border_outer_margin = 5, -- margin between border and edge of window
|
||||
border_width = 0, -- border width in pixels
|
||||
default_bar_width = 260, -- default is 0 - full width
|
||||
default_bar_height = 10, -- default is 6
|
||||
default_gauge_height = 25, -- default is 25
|
||||
default_gauge_width =40, -- default is 40
|
||||
default_graph_height = 40, -- default is 25
|
||||
default_graph_width = 153, -- default is 0 - full width
|
||||
default_shade_color = '#000000', -- default shading colour
|
||||
default_outline_color = '#000000', -- default outline colour
|
||||
draw_borders = false, -- draw borders around text
|
||||
draw_graph_borders = true, -- draw borders around graphs
|
||||
draw_shades = false, -- draw shades
|
||||
draw_outline = false, -- draw outline
|
||||
stippled_borders = 0, -- dashing the border
|
||||
|
||||
--Textual
|
||||
format_human_readable = true, -- KiB, MiB rather then number of bytes
|
||||
font = 'Mononoki Nerd Font:bold:size=10', -- the default font used
|
||||
font2 = 'Mononoki Nerd Font:bold:size=30', -- font for the time
|
||||
font3 = 'Mononoki Nerd Font:size=14', -- font for the date
|
||||
font4 = 'Mononoki Nerd Font:bold:size=9', -- font for the keybindings heading
|
||||
max_text_width = 0, -- 0 will make sure line does not get broken if width too smal
|
||||
max_user_text = 16384, -- max text in conky default 16384
|
||||
override_utf8_locale = true, -- force UTF8 requires xft
|
||||
short_units = true, -- shorten units from KiB to k
|
||||
top_name_width = 21, -- width for $top name value default 15
|
||||
top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false.
|
||||
uppercase = false, -- uppercase or not
|
||||
use_spacer = 'none', -- adds spaces around certain objects to align - default none
|
||||
use_xft = true, -- xft font - anti-aliased font
|
||||
xftalpha = 1, -- alpha of the xft font - between 0-1
|
||||
|
||||
--Windows
|
||||
own_window = true, -- create your own window to draw
|
||||
own_window_argb_value = 255, -- real transparency - composite manager required 0-255
|
||||
own_window_argb_visual = true, -- use ARGB - composite manager required
|
||||
own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop
|
||||
own_window_colour = '#292d3e', -- set colour if own_window_transparent no
|
||||
own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0%
|
||||
own_window_title = 'xmonad_conky', -- set the name manually
|
||||
own_window_type = 'desktop', -- if own_window true options are: normal/override/dock/desktop/panel
|
||||
own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it
|
||||
|
||||
--Colors (Palenight)
|
||||
color0 = '#c792ea',
|
||||
color1 = '#d0d0d0',
|
||||
color2 = '#82aaff',
|
||||
color3 = '#ffcb6b',
|
||||
};
|
||||
|
||||
conky.text = [[
|
||||
${alignc}${color0}${font2}${time %H:%M}${font}
|
||||
${voffset 6}${alignc}${color0}${font3}${time %m. %d, %Y}${font}${color}
|
||||
${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu%
|
||||
${color2}${goto 12}${cpubar 8,254}
|
||||
${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}%
|
||||
${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}%
|
||||
${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}%
|
||||
${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax
|
||||
${color2}${goto 12}${membar 8,254}${color}
|
||||
${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1}
|
||||
${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2}
|
||||
${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3}
|
||||
]];
|
||||
@ -46,9 +46,8 @@ Emacs Configuration for emacs 29.50
|
||||
#+end_src
|
||||
*** Package Function
|
||||
**** Use-package
|
||||
#+begin_src emacs-lisp
|
||||
;;#+begin_src emacs-lisp :tangle ~/.config/emacs/init.el
|
||||
;;(require 'package)
|
||||
#+begin_src emacs-lisp :tangle ~/.config/emacs/init.el
|
||||
(require 'package)
|
||||
(when (version< emacs-version "28")
|
||||
(add-to-list 'package-archives '("nongnu" . "https://elpa.nongnu.org/nongnu/")))
|
||||
(add-to-list 'package-archives '("stable" . "https://stable.melpa.org/packages/"))
|
||||
@ -85,7 +84,8 @@ Emacs Configuration for emacs 29.50
|
||||
(auto-package-update-at-time "09:00"))
|
||||
#+end_src
|
||||
**** Straight
|
||||
#+begin_src emacs-lisp :tangle ~/.config/emacs/init.el
|
||||
#+begin_src emacs-lisp
|
||||
;;#+begin_src emacs-lisp :tangle ~/.config/emacs/init.el
|
||||
(defvar bootstrap-version)
|
||||
(defvar comp-deferred-compilation-deny-list ()) ; workaround, otherwise straight shits itself
|
||||
(let ((bootstrap-file
|
||||
@ -233,13 +233,13 @@ Emacs Configuration for emacs 29.50
|
||||
(require 'custom-ui)
|
||||
(require 'custom-keybindings)
|
||||
(require 'custom-default)
|
||||
(require 'custom-completion)
|
||||
(require 'custom-edit)
|
||||
(require 'custom-projects)
|
||||
(require 'custom-latex)
|
||||
(require 'custom-org)
|
||||
(require 'custom-languages)
|
||||
(require 'custom-extra)
|
||||
;;(require 'custom-completion)
|
||||
;;(require 'custom-edit)
|
||||
;;(require 'custom-projects)
|
||||
;;(require 'custom-latex)
|
||||
;;(require 'custom-org)
|
||||
;;(require 'custom-languages)
|
||||
;;(require 'custom-extra)
|
||||
|
||||
;;(require 'custom-workspaces)
|
||||
|
||||
@ -316,7 +316,6 @@ emacs built-in package config
|
||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-default.el
|
||||
(use-package dired
|
||||
:ensure nil
|
||||
:straight nil
|
||||
:commands (dired dired-jump)
|
||||
:bind (("C-x C-j" . dired-jump))
|
||||
:custom ((dired-listing-switches "-agho --group-directories-first"))
|
||||
@ -534,13 +533,14 @@ emacs built-in package config
|
||||
**** Dashboard
|
||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-ui.el
|
||||
(use-package dashboard
|
||||
:disabled
|
||||
:after all-the-icons
|
||||
:config
|
||||
(setq dashboard-set-heading-icons t)
|
||||
(setq dashboard-set-file-icons t)
|
||||
;;(setq dashboard-banner-logo-title "Emacs is more than a text editor!")
|
||||
;; logo from github.com/egstatsml/emacs_fancy_logos
|
||||
(setq dashboard-startup-banner "~/.config/emacs/logos/xemacs_color.png")
|
||||
;;(setq dashboard-startup-banner "~/.config/emacs/logos/xemacs_color.png")
|
||||
;;(setq dashboard-startup-banner 'logo)
|
||||
(setq dashboard-center-content t)
|
||||
(setq dashboard-week-agenda t)
|
||||
@ -553,7 +553,7 @@ emacs built-in package config
|
||||
(agenda . 5)
|
||||
(bookmarks . 5)
|
||||
;;(if (version< emacs-version "29")
|
||||
(projects . 5)
|
||||
;;(projects . 5)
|
||||
(registers . 5)))
|
||||
(setq dashboard-set-navigator t)
|
||||
|
||||
|
||||
@ -173,7 +173,7 @@ let dark_theme = {
|
||||
record: white
|
||||
list: white
|
||||
block: white
|
||||
hints: dark_gray
|
||||
hints: gray
|
||||
|
||||
shape_and: purple_bold
|
||||
shape_binary: purple_bold
|
||||
|
||||
@ -1,141 +0,0 @@
|
||||
; Docs: https://github.com/polybar/polybar
|
||||
;==========================================================
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
|
||||
[global/wm]
|
||||
margin-top = 0
|
||||
margin-bottom = 0
|
||||
|
||||
[colors]
|
||||
background = #f0232635
|
||||
background-alt = #576075
|
||||
foreground = #A6Accd
|
||||
foreground-alt = #555
|
||||
primary = #ffb52a
|
||||
secondary = #e60053
|
||||
alert = #bd2c40
|
||||
underline-1 = #c792ea
|
||||
|
||||
[bar/panel]
|
||||
width = 100%
|
||||
height = 24
|
||||
offset-x = 0
|
||||
offset-y = 0
|
||||
fixed-center = true
|
||||
enable-ipc = true
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 2
|
||||
line-color = #f00
|
||||
|
||||
border-size = 0
|
||||
border-color = #00000000
|
||||
|
||||
padding-top = 5
|
||||
padding-left = 1
|
||||
padding-right = 1
|
||||
|
||||
module-margin = 1
|
||||
|
||||
font-0 = "Cantarell:size=12:weight=bold;2"
|
||||
font-1 = "Font Awesome:size=10;2"
|
||||
font-2 = "Material Icons:size=15;5"
|
||||
font-3 = "Fira Mono:size=10;-3"
|
||||
|
||||
modules-left = exwm-workspace
|
||||
modules-right = cpu temperature battery date
|
||||
|
||||
tray-position = right
|
||||
tray-padding = 2
|
||||
tray-maxsize = 28
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
[module/exwm-workspace]
|
||||
type = custom/ipc
|
||||
hook-0 = emacsclient -e "exwm-workspace-current-index" | sed -e 's/^"//' -e 's/"$//'
|
||||
initial = 1
|
||||
format-underline = ${colors.underline-1}
|
||||
format-padding = 1
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 2
|
||||
format = <label> <ramp-coreload>
|
||||
format-underline = ${colors.underline-1}
|
||||
click-left = emacsclient -e "(proced)"
|
||||
label = %percentage:2%%
|
||||
ramp-coreload-spacing = 0
|
||||
ramp-coreload-0 = ▁
|
||||
ramp-coreload-0-foreground = ${colors.foreground-alt}
|
||||
ramp-coreload-1 = ▂
|
||||
ramp-coreload-2 = ▃
|
||||
ramp-coreload-3 = ▄
|
||||
ramp-coreload-4 = ▅
|
||||
ramp-coreload-5 = ▆
|
||||
ramp-coreload-6 = ▇
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 5
|
||||
|
||||
date = "%a %b %e"
|
||||
date-alt = "%A %B %d %Y"
|
||||
|
||||
time = %l:%M %p
|
||||
time-alt = %H:%M:%S
|
||||
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
format-underline = ${colors.underline-1}
|
||||
|
||||
label = %date% %time%
|
||||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
battery = BAT0
|
||||
adapter = ADP1
|
||||
full-at = 98
|
||||
time-format = %-l:%M
|
||||
|
||||
label-charging = %percentage%% / %time%
|
||||
format-charging = <animation-charging> <label-charging>
|
||||
format-charging-underline = ${colors.underline-1}
|
||||
|
||||
label-discharging = %percentage%% / %time%
|
||||
format-discharging = <ramp-capacity> <label-discharging>
|
||||
format-discharging-underline = ${self.format-charging-underline}
|
||||
|
||||
format-full = <ramp-capacity> <label-full>
|
||||
format-full-underline = ${self.format-charging-underline}
|
||||
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
|
||||
animation-charging-0 =
|
||||
animation-charging-1 =
|
||||
animation-charging-2 =
|
||||
animation-charging-3 =
|
||||
animation-charging-4 =
|
||||
animation-charging-framerate = 750
|
||||
|
||||
[module/temperature]
|
||||
type = internal/temperature
|
||||
thermal-zone = 0
|
||||
warn-temperature = 60
|
||||
|
||||
format = <label>
|
||||
format-underline = ${colors.underline-1}
|
||||
format-warn = <label-warn>
|
||||
format-warn-underline = ${self.format-underline}
|
||||
|
||||
label = %temperature-c%
|
||||
label-warn = %temperature-c%!
|
||||
label-warn-foreground = ${colors.secondary}
|
||||
1319
.config/polybar/config.ini
Normal file
1319
.config/polybar/config.ini
Normal file
File diff suppressed because it is too large
Load Diff
@ -2,7 +2,7 @@
|
||||
|
||||
#"Pausing" sxhkd
|
||||
super+Return
|
||||
alacritty
|
||||
st
|
||||
#Apps and programs
|
||||
super+e
|
||||
emacsclient -c -a 'emacs'
|
||||
@ -98,10 +98,10 @@ super+shift+c
|
||||
#
|
||||
## Toggle picom
|
||||
super+p
|
||||
# nushell
|
||||
# if ((pgrep -c picom) == "0") \{ picom \} else \{ killall picom \}
|
||||
# fish
|
||||
if test (pgrep -c picom) -eq 0; picom ; else; killall picom; end
|
||||
# nushell
|
||||
# if ((pgrep -c picom) == "0") \{ picom \} else \{ killall picom \}
|
||||
super+w
|
||||
~/scripts/random_wallpaper.sh
|
||||
|
||||
@ -150,8 +150,8 @@ super+w
|
||||
# ~/.bscripts/rofi.sh outopts
|
||||
#XF86PowerOff
|
||||
# ~/.bscripts/rofi.sh outopts
|
||||
##super+shift+r
|
||||
## bspc wm -r
|
||||
super+shift+r
|
||||
bspc wm -r
|
||||
#control+alt+space
|
||||
# ~/.bscripts/toggle_float.sh
|
||||
#super+shift+{k,j,h,l}
|
||||
@ -167,8 +167,15 @@ super+w
|
||||
# bspc node focused -z top 0 -15
|
||||
#super+alt+j
|
||||
# bspc node focused -z bottom 0 15
|
||||
super + shift + f
|
||||
bspc node -t "~floating"
|
||||
super + {_,shift +} + {h,j,k,l}
|
||||
bspc node -{f,s} {west,south,north,east}
|
||||
#super + {_,shift + }n
|
||||
# bspc node -f {next,prev}.local super + {t,shift + t,s,f}
|
||||
#super + {t,shift + t,s,f}
|
||||
# bspc node -t {\~tiled,\~pseudo_tiled, \~floating,\~fullscreen}
|
||||
|
||||
super+space
|
||||
bspc node focused -t "~fullscreen"
|
||||
super+KP_Add
|
||||
|
||||
@ -42,6 +42,12 @@ git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||
TMUX_PLUGIN_MANAGER_PATH=~/.config/tmux/plugins/tpm ~/.tmux/plugins/tpm/scripts/install_plugins.sh
|
||||
TMUX_PLUGIN_MANAGER_PATH=~/.config/tmux/plugins/tpm ~/.tmux/plugins/tpm/bin/update_plugins all
|
||||
|
||||
##################################################
|
||||
# Wallpaper
|
||||
##################################################
|
||||
paru -S python-pywal --noconfirm
|
||||
git clone https://git.jaeus.net/walls
|
||||
|
||||
##################################################
|
||||
# EMACS Related
|
||||
##################################################
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
#wal_dir=~/ShareDirectory/wallpaper/idol/landscape/karina
|
||||
#wal_dir=~/walls/idol/landscape/karina
|
||||
#wal_dir=~/ShareDirectory/wallpaper/idol/portrait/karina
|
||||
wal_dir=~/walls/normal
|
||||
|
||||
@ -10,5 +10,5 @@ while IFS= read -r -d $'\0'; do
|
||||
done < <(find $wal_dir -type f -name "*" -print0)
|
||||
randomfile=$(printf "%s\n" "${files[RANDOM % ${#files[@]}]}")
|
||||
echo $randomfile
|
||||
#wal -i $randomfile --saturate 1.0
|
||||
feh --bg-fill $randomfile
|
||||
wal -i $randomfile --saturate 1.0
|
||||
#feh --bg-fill $randomfile
|
||||
|
||||
Reference in New Issue
Block a user