mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 05:42:22 +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]
|
[module/date]
|
||||||
type = internal/date
|
type = internal/date
|
||||||
interval = 5
|
interval = 20
|
||||||
date = %a, %d %m %y
|
date = %a, %d %m %y
|
||||||
date-alt = %d-%m-%Y
|
date-alt = %d-%m-%Y
|
||||||
time = %H:%M
|
time = %H:%M
|
||||||
time-alt = %H:%M:%S
|
time-alt = %H:%M:%S
|
||||||
|
|
||||||
;format-prefix = "%{F#fbff8c} %{F-}"
|
;format-prefix = "%{F#fbff8c} %{F-}"
|
||||||
;format-prefix-foreground = ${colors.foreground-alt}
|
;format-prefix-foreground = ${colors.foreground-alt}
|
||||||
label = "%{F#444} %{F-}%{B#444} %time% | %date% %{B-}%{F#444} %{F-}"
|
label = "%{F#444} %{F-}%{B#444} %time% | %date% %{B-}%{F#444} %{F-}"
|
||||||
|
@ -229,14 +228,14 @@ interval = 600
|
||||||
[module/pulseaudio-control]
|
[module/pulseaudio-control]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
tail = true
|
tail = true
|
||||||
|
label-foreground = ${colors.foreground}
|
||||||
|
|
||||||
click-right = exec pavucontrol &
|
click-right = exec pavucontrol &
|
||||||
exec = bash ~/.config/polybar/polybar-scripts/pulseaudio-control.bash listen
|
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 togmute
|
||||||
click-middle = bash ~/.config/polybar/polybar-scripts/pulseaudio-control.bash next-sink
|
click-left = bash ~/.config/polybar/polybar-scripts/pulseaudio-control.bash next-sink
|
||||||
scroll-up = bash ~/.config/polybar/polybar-scripts/pulseaudio-control.bash up
|
scroll-up = bash ~/.config/polybar/polybar-scripts/pulseaudio-control.bash up
|
||||||
scroll-down = bash ~/.config/polybar/polybar-scripts/pulseaudio-control.bash down
|
scroll-down = bash ~/.config/polybar/polybar-scripts/pulseaudio-control.bash down
|
||||||
label-foreground = ${colors.foreground}
|
|
||||||
|
|
||||||
[module/bspwm]
|
[module/bspwm]
|
||||||
type = internal/bspwm
|
type = internal/bspwm
|
||||||
|
|
|
@ -5,7 +5,7 @@ echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
|
||||||
|
|
||||||
# for loop only for multi monitor
|
# for loop only for multi monitor
|
||||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
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
|
done
|
||||||
|
|
||||||
#polybar --config=/home/leon/.config/polybar/config.ini main >>/tmp/polybar1.log 2>&1 &
|
#polybar --config=/home/leon/.config/polybar/config.ini main >>/tmp/polybar1.log 2>&1 &
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[FileDialog]
|
[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
|
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
|
lastVisited=file:///home/leon/Dokumente
|
||||||
qtVersion=5.14.2
|
qtVersion=5.14.2
|
||||||
shortcuts=file:, file:///home/leon
|
shortcuts=file:, file:///home/leon
|
||||||
sidebarWidth=98
|
sidebarWidth=98
|
||||||
|
|
Binary file not shown.
|
@ -91,7 +91,8 @@ scratchpads =
|
||||||
where
|
where
|
||||||
launchTerminal = myTerminal ++ " --class scratchpad_term"
|
launchTerminal = myTerminal ++ " --class scratchpad_term"
|
||||||
launchGHCI = myTerminal ++ " --class scratchpad_ghci stack exec -- ghci"
|
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 ------ {{{
|
-- Colors ------ {{{
|
||||||
|
@ -145,7 +146,7 @@ myLayout = avoidStruts . BoringWindows.boringWindows . smartBorders . toggleLayo
|
||||||
myStartupHook :: X ()
|
myStartupHook :: X ()
|
||||||
myStartupHook = do
|
myStartupHook = do
|
||||||
spawnOnce "picom --config ~/.config/picom.conf --experimental-backends" --no-fading-openclose"
|
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 "nm-applet"
|
||||||
spawnOnce "udiskie -s" -- Mount USB sticks automatically. -s is smart systray mode: systray icon if something is mounted
|
spawnOnce "udiskie -s" -- Mount USB sticks automatically. -s is smart systray mode: systray icon if something is mounted
|
||||||
spawnOnce "xfce4-clipman"
|
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
|
done
|
||||||
|
|
||||||
# Do not quote this, this is multiple flags
|
# 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=""
|
[ $fullscreen -eq 1 ] && select_flag=""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue