mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-24 13:22:23 +00:00
assdf
This commit is contained in:
parent
f608befaa0
commit
4a7be17b9f
7 changed files with 23 additions and 15 deletions
|
@ -158,12 +158,11 @@ label = %percentage_used%%
|
|||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 5
|
||||
interval = 20
|
||||
date = %a, %d %m %y
|
||||
date-alt = %d-%m-%Y
|
||||
time = %H:%M
|
||||
time-alt = %H:%M:%S
|
||||
|
||||
;format-prefix = "%{F#fbff8c} %{F-}"
|
||||
;format-prefix-foreground = ${colors.foreground-alt}
|
||||
label = "%{F#444} %{F-}%{B#444} %time% | %date% %{B-}%{F#444} %{F-}"
|
||||
|
@ -229,14 +228,14 @@ interval = 600
|
|||
[module/pulseaudio-control]
|
||||
type = custom/script
|
||||
tail = true
|
||||
label-foreground = ${colors.foreground}
|
||||
|
||||
click-right = exec pavucontrol &
|
||||
exec = bash ~/.config/polybar/polybar-scripts/pulseaudio-control.bash listen
|
||||
click-left = bash ~/.config/polybar/polybar-scripts/pulseaudio-control.bash togmute
|
||||
click-middle = bash ~/.config/polybar/polybar-scripts/pulseaudio-control.bash next-sink
|
||||
click-middle = bash ~/.config/polybar/polybar-scripts/pulseaudio-control.bash togmute
|
||||
click-left = bash ~/.config/polybar/polybar-scripts/pulseaudio-control.bash next-sink
|
||||
scroll-up = bash ~/.config/polybar/polybar-scripts/pulseaudio-control.bash up
|
||||
scroll-down = bash ~/.config/polybar/polybar-scripts/pulseaudio-control.bash down
|
||||
label-foreground = ${colors.foreground}
|
||||
|
||||
[module/bspwm]
|
||||
type = internal/bspwm
|
||||
|
|
|
@ -5,7 +5,7 @@ echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
|
|||
|
||||
# for loop only for multi monitor
|
||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||
MONITOR=$m polybar --config=/home/leon/.config/polybar/config.ini main >>/tmp/polybar1.log 2>&1 &
|
||||
MONITOR=$m polybar -r --config=/home/leon/.config/polybar/config.ini main >>/tmp/polybar1.log 2>&1 &
|
||||
done
|
||||
|
||||
#polybar --config=/home/leon/.config/polybar/config.ini main >>/tmp/polybar1.log 2>&1 &
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[FileDialog]
|
||||
history=file:///home/leon/Bilder/screenshots, file:///home/leon/coding/projects/pipr/target/x86_64-unknown-linux-musl/release, file:///home/leon/studium/Studium/Sem4/verteilteSysteme/Klausur2003, file:///home/leon, file:///home/leon/Downloads
|
||||
lastVisited=file:///home/leon
|
||||
history=file:///home/leon/Bilder/screenshots, file:///home/leon/coding/projects/pipr/target/x86_64-unknown-linux-musl/release, file:///home/leon/studium/Studium/Sem4/verteilteSysteme/Klausur2003, file:///home/leon, file:///home/leon/Downloads, file:///home/leon/Dokumente
|
||||
lastVisited=file:///home/leon/Dokumente
|
||||
qtVersion=5.14.2
|
||||
shortcuts=file:, file:///home/leon
|
||||
sidebarWidth=98
|
||||
|
|
Binary file not shown.
|
@ -91,7 +91,8 @@ scratchpads =
|
|||
where
|
||||
launchTerminal = myTerminal ++ " --class scratchpad_term"
|
||||
launchGHCI = myTerminal ++ " --class scratchpad_ghci stack exec -- ghci"
|
||||
launchWhatsapp = "gtk-launch chrome-hnpfjngllnobngcgfapefoaidbinmjnm-Default.desktop"
|
||||
launchWhatsapp = "whatsapp-nativefier"
|
||||
--launchWhatsapp = "gtk-launch chrome-hnpfjngllnobngcgfapefoaidbinmjnm-Default.desktop"
|
||||
|
||||
|
||||
-- Colors ------ {{{
|
||||
|
@ -145,7 +146,7 @@ myLayout = avoidStruts . BoringWindows.boringWindows . smartBorders . toggleLayo
|
|||
myStartupHook :: X ()
|
||||
myStartupHook = do
|
||||
spawnOnce "picom --config ~/.config/picom.conf --experimental-backends" --no-fading-openclose"
|
||||
spawnOnce "pasystray"
|
||||
--spawnOnce "pasystray" -- just open the UI by right-clicking on polybar's pulseaudio module
|
||||
spawnOnce "nm-applet"
|
||||
spawnOnce "udiskie -s" -- Mount USB sticks automatically. -s is smart systray mode: systray icon if something is mounted
|
||||
spawnOnce "xfce4-clipman"
|
||||
|
|
8
files/scripts/makeHaskellProject.sh
Executable file
8
files/scripts/makeHaskellProject.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
stack new "$1"
|
||||
cd "$1"
|
||||
echo -e "cradle:\n stack:" >> hie.yaml
|
||||
sed -i 's/^resolver: .*$/resolver: lts-15.0/' stack.yaml
|
||||
stack setup
|
||||
stack build --fast
|
|
@ -11,7 +11,7 @@ for arg in "$@"; do
|
|||
done
|
||||
|
||||
# Do not quote this, this is multiple flags
|
||||
select_flag="-s --highlight --color 1,1,1,0.2"
|
||||
select_flag="-s --highlight --color 1,1,1,0.1"
|
||||
|
||||
[ $fullscreen -eq 1 ] && select_flag=""
|
||||
|
||||
|
|
Loading…
Reference in a new issue