mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-24 13:22:23 +00:00
asdfasdf
This commit is contained in:
parent
f5ab6feff3
commit
11a390e775
15 changed files with 75 additions and 21 deletions
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"optOut": false,
|
||||
"lastUpdateCheck": 1584646411822
|
||||
"lastUpdateCheck": 1584733774631
|
||||
}
|
|
@ -1,8 +1,11 @@
|
|||
include ./theme.conf
|
||||
|
||||
# font_family Iosevka Medium
|
||||
font_family monospace
|
||||
font_size 12
|
||||
font_family Iosevka
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
#font_family monospace
|
||||
font_size 14
|
||||
|
||||
enable_audio_bell no
|
||||
|
||||
|
@ -11,6 +14,11 @@ tab_bar_style powerline
|
|||
|
||||
|
||||
map ctrl+shift+plus change_font_size all +2.0
|
||||
map ctrl+shift+left neighboring_window left
|
||||
map ctrl+shift+down neighboring_window down
|
||||
map ctrl+shift+right neighboring_window right
|
||||
map ctrl+shift+up neighboring_window up
|
||||
|
||||
|
||||
clipboard_control write-clipboard write-primary read-primary read-clipboard
|
||||
dynamic_background_opacity yes
|
||||
|
|
|
@ -58,7 +58,7 @@ font-7 = NotoEmoji:size=7;
|
|||
|
||||
|
||||
modules-left = xmonad test
|
||||
modules-center = mpd gitlab-pipeline player-mpv-tail
|
||||
modules-center = timerDisplay mpd gitlab-pipeline player-mpv-tail
|
||||
modules-right = network-traffic info-pingrtt pulseaudio filesystem memory cpu date
|
||||
|
||||
tray-position = right
|
||||
|
@ -156,7 +156,7 @@ pseudo-transparency = true
|
|||
|
||||
[global/wm]
|
||||
margin-top = 5
|
||||
margin-bottom = 5
|
||||
margin-bottom = 0
|
||||
|
||||
; vim:ft=dosini
|
||||
|
||||
|
@ -166,6 +166,11 @@ exec = xmonad-log
|
|||
tail = true
|
||||
|
||||
|
||||
[module/timerDisplay]
|
||||
type = custom/script
|
||||
exec = "[ -f ~/scripts/remainingTime.txt ] && head -n 1 scripts/remainingTime.txt"
|
||||
interval = 1
|
||||
|
||||
|
||||
;[module/gitlab-pipeline]
|
||||
;type = custom/script
|
||||
|
|
16
files/.xmonad/.gitignore
vendored
Normal file
16
files/.xmonad/.gitignore
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
# files produced by compiler
|
||||
*.o
|
||||
*.hi
|
||||
*.errors
|
||||
|
||||
# compiled xmonad executable
|
||||
xmonad-*
|
||||
|
||||
# files used by stack
|
||||
.stack-work/
|
||||
|
||||
# directory created by `build` script
|
||||
bin/
|
||||
|
||||
# files automatically created by xmonad
|
||||
xmonad.state
|
Binary file not shown.
16
files/.xmonad/build
Executable file → Normal file
16
files/.xmonad/build
Executable file → Normal file
|
@ -1,9 +1,9 @@
|
|||
#!/bin/sh
|
||||
exec stack ghc -- \
|
||||
--make xmonad.hs \
|
||||
-i \
|
||||
-ilib \
|
||||
-fforce-recomp \
|
||||
-main-is main \
|
||||
-v0 \
|
||||
-o "$1"
|
||||
#
|
||||
# As of 0.13, xmonad --recompile will look for a custom build script.
|
||||
|
||||
set -e
|
||||
|
||||
stack build :my-xmonad --verbosity error
|
||||
stack install :my-xmonad --local-bin-path bin/ --verbosity error
|
||||
mv bin/my-xmonad "$1"
|
||||
|
|
1
files/.xmonad/lib/.gitignore
vendored
Normal file
1
files/.xmonad/lib/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
# This file is included so that a `lib/` directory will be created.
|
15
files/.xmonad/my-xmonad.cabal
Normal file
15
files/.xmonad/my-xmonad.cabal
Normal file
|
@ -0,0 +1,15 @@
|
|||
name: my-xmonad
|
||||
version: 0.1.0.0
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
|
||||
executable my-xmonad
|
||||
main-is: ../xmonad.hs
|
||||
-- other-modules lists custom modules in my ~/.xmonad/lib/ directory
|
||||
other-modules:
|
||||
build-depends: base
|
||||
, xmonad >= 0.13
|
||||
, xmonad-contrib >= 0.13
|
||||
hs-source-dirs: lib
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -Werror -fno-warn-missing-signatures -threaded
|
|
@ -27,7 +27,7 @@ packages:
|
|||
hackage: netlink-1.1.1.0
|
||||
snapshots:
|
||||
- completed:
|
||||
size: 491373
|
||||
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/15/3.yaml
|
||||
sha256: 29e9ff61b8bf4b4fcff55cde3ac106ebb971f0d21331dccac9eee63374fa6ca8
|
||||
original: lts-15.3
|
||||
size: 491372
|
||||
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/15/5.yaml
|
||||
sha256: 1b549cfff328040c382a70a84a2087aac8dab6d778bf92f32a93a771a1980dfc
|
||||
original: lts-15.5
|
||||
|
|
Binary file not shown.
|
@ -1,10 +1,10 @@
|
|||
Stack has not been tested with GHC versions above 8.6, and using 8.8.3, this may fail
|
||||
Stack has not been tested with Cabal versions above 2.4, but version 3.0.1.0 was found, this may fail
|
||||
|
||||
xmonad.hs:207:109: warning: [-Wdeprecations]
|
||||
xmonad.hs:208:109: warning: [-Wdeprecations]
|
||||
In the use of ‘defaultConfig’
|
||||
(imported from XMonad, but defined in XMonad.Config):
|
||||
Deprecated: "Use def (from Data.Default, and re-exported by XMonad and XMonad.Config) instead."
|
||||
|
|
||||
207 | , manageHook = manageDocks <+> myManageHook <+> (namedScratchpadManageHook scratchpads) <+> manageHook defaultConfig <+> (isFullscreen --> doF W.focusDown <+> doFullFloat)
|
||||
208 | , manageHook = manageDocks <+> myManageHook <+> (namedScratchpadManageHook scratchpads) <+> manageHook defaultConfig <+> (isFullscreen --> doF W.focusDown <+> doFullFloat)
|
||||
| ^^^^^^^^^^^^^
|
||||
|
|
|
@ -52,7 +52,8 @@ import qualified XMonad.Layout.LayoutCombinators as LayoutCombinators
|
|||
|
||||
myModMask = mod4Mask
|
||||
myLauncher = "rofi -show run"
|
||||
myTerminal = "termite"
|
||||
--myTerminal = "termite"
|
||||
myTerminal = "kitty --single-instance"
|
||||
myBrowser = "google-chrome-stable"
|
||||
--yBar = "xmobar"
|
||||
--myXmobarPP= xmobarPP { ppCurrent = xmobarColor "#429942" "" . wrap "<" ">" }
|
||||
|
|
Binary file not shown.
3
files/scripts/bookmarks
Normal file
3
files/scripts/bookmarks
Normal file
|
@ -0,0 +1,3 @@
|
|||
d coding ~/coding
|
||||
f xmonad ~/.xmonad/xmonad.hs
|
||||
f polybar ~/.config/polybar/config.ini
|
5
files/scripts/timer.sh
Executable file
5
files/scripts/timer.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
if [ -z "$1" ]; then
|
||||
echo "timer.sh <time>"
|
||||
exit 1
|
||||
fi
|
||||
termdown -o /home/leon/scripts/remainingTime.txt $1 && notify-send "Timer" "Timer finished: $1"
|
Loading…
Reference in a new issue