mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +00:00
asdf
This commit is contained in:
parent
078255a414
commit
5490ced857
11 changed files with 120 additions and 87 deletions
|
@ -347,5 +347,3 @@ font:
|
||||||
#family: cherry
|
#family: cherry
|
||||||
#family: lucy tewi2a
|
#family: lucy tewi2a
|
||||||
#family: Scientifica
|
#family: Scientifica
|
||||||
style: Normal
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"optOut": false,
|
"optOut": false,
|
||||||
"lastUpdateCheck": 1590267793605
|
"lastUpdateCheck": 1590658636938
|
||||||
}
|
}
|
|
@ -1,9 +1,4 @@
|
||||||
[xin_0]
|
[xin_-1]
|
||||||
file=/home/leon/Bilder/wallpapers/abstract-barb-wires-blur-close-up-116021.jpg
|
file=/home/leon/Bilder/wallpapers/gruvboxabstractwall.png
|
||||||
mode=5
|
|
||||||
bgcolor=#000000
|
|
||||||
|
|
||||||
[xin_1]
|
|
||||||
file=/home/leon/Bilder/wallpapers/abstract-barb-wires-blur-close-up-116021.jpg
|
|
||||||
mode=5
|
mode=5
|
||||||
bgcolor=#000000
|
bgcolor=#000000
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[geometry]
|
[geometry]
|
||||||
posx=1717
|
posx=20
|
||||||
posy=93
|
posy=50
|
||||||
sizex=651
|
sizex=1132
|
||||||
sizey=548
|
sizey=842
|
||||||
|
|
||||||
[nitrogen]
|
[nitrogen]
|
||||||
view=icon
|
view=icon
|
||||||
|
|
|
@ -21,9 +21,9 @@ format_workspaces() {
|
||||||
|
|
||||||
|
|
||||||
if [ "$MONITOR" = "HDMI-A-0" ]; then
|
if [ "$MONITOR" = "HDMI-A-0" ]; then
|
||||||
tail -F /tmp/xmonad-state-bar0 | stdbuf -o0 cat | format_workspaces
|
|
||||||
else
|
|
||||||
tail -F /tmp/xmonad-state-bar1 | stdbuf -o0 cat | format_workspaces
|
tail -F /tmp/xmonad-state-bar1 | stdbuf -o0 cat | format_workspaces
|
||||||
|
else
|
||||||
|
tail -F /tmp/xmonad-state-bar0 | stdbuf -o0 cat | format_workspaces
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#while true; do
|
#while true; do
|
||||||
|
|
Binary file not shown.
|
@ -205,7 +205,7 @@ myStartupHook = do
|
||||||
spawnOnce "redshift -P -O 5000 &"
|
spawnOnce "redshift -P -O 5000 &"
|
||||||
spawn "xset r rate 300 50 &" -- make key repeat quicker
|
spawn "xset r rate 300 50 &" -- make key repeat quicker
|
||||||
|
|
||||||
spawn "/home/leon/.screenlayout/dualscreen.sh "
|
spawn "/home/leon/.screenlayout/dualscreen-stacked.sh"
|
||||||
io $ threadDelay $ 1000 * 100
|
io $ threadDelay $ 1000 * 100
|
||||||
spawnOnce "picom --config ~/.config/picom.conf" --no-fading-openclose"
|
spawnOnce "picom --config ~/.config/picom.conf" --no-fading-openclose"
|
||||||
spawn "/home/leon/.config/polybar/launch.sh"
|
spawn "/home/leon/.config/polybar/launch.sh"
|
||||||
|
@ -313,7 +313,7 @@ myKeys =
|
||||||
windows $ onCurrentScreen action (wsps !! (wspNum - 1))
|
windows $ onCurrentScreen action (wsps !! (wspNum - 1))
|
||||||
)
|
)
|
||||||
| (wspNum) <- [1..9 :: Int]
|
| (wspNum) <- [1..9 :: Int]
|
||||||
, (mappingPrefix, action) <- [("M-", W.greedyView), ("M-S-", W.shift), ("M-C-", copy)]
|
, (mappingPrefix, action) <- [("M-", W.view), ("M-S-", W.shift), ("M-C-", copy)]
|
||||||
]
|
]
|
||||||
|
|
||||||
keyDirPairs = [("h", L), ("j", D), ("k", U), ("l", R)]
|
keyDirPairs = [("h", L), ("j", D), ("k", U), ("l", R)]
|
||||||
|
@ -427,7 +427,7 @@ main = do
|
||||||
then (map show [1..9 :: Int]) ++ ["NSP"]
|
then (map show [1..9 :: Int]) ++ ["NSP"]
|
||||||
else (withScreens (fromIntegral currentScreenCount) (map show [1..6 :: Int])) ++ ["NSP"]
|
else (withScreens (fromIntegral currentScreenCount) (map show [1..6 :: Int])) ++ ["NSP"]
|
||||||
, modMask = myModMask
|
, modMask = myModMask
|
||||||
, borderWidth = 1
|
, borderWidth = 2
|
||||||
, layoutHook = myLayout
|
, layoutHook = myLayout
|
||||||
, logHook = polybarLogHooks <+> logHook Desktop.desktopConfig <+> logHook def
|
, logHook = polybarLogHooks <+> logHook Desktop.desktopConfig <+> logHook def
|
||||||
, startupHook = myStartupHook <+> return () >> checkKeymap myConfig myKeys
|
, startupHook = myStartupHook <+> return () >> checkKeymap myConfig myKeys
|
||||||
|
|
26
files/.xmonad/my-xmonad.cabal.bak
Normal file
26
files/.xmonad/my-xmonad.cabal.bak
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
cabal-version: >=1.10
|
||||||
|
name: my-xmonad
|
||||||
|
version: 0.1.0.0
|
||||||
|
build-type: Simple
|
||||||
|
|
||||||
|
executable my-xmonad
|
||||||
|
main-is: ../xmonad.hs
|
||||||
|
hs-source-dirs: lib
|
||||||
|
other-modules:
|
||||||
|
Config
|
||||||
|
Rofi
|
||||||
|
DescribedSubmap
|
||||||
|
TiledDragging
|
||||||
|
|
||||||
|
default-language: Haskell2010
|
||||||
|
ghc-options: -Wall -threaded -fno-warn-missing-signatures
|
||||||
|
build-depends:
|
||||||
|
base -any,
|
||||||
|
xmonad >=0.13,
|
||||||
|
xmonad-contrib >=0.13,
|
||||||
|
dbus >=1.2.12,
|
||||||
|
iwlib >=0.1.0,
|
||||||
|
netlink >=1.1.1.0,
|
||||||
|
containers >=0.6.2.1,
|
||||||
|
utf8-string >=1.0.1.1,
|
||||||
|
text >=1.2.4.0
|
|
@ -1,73 +1,13 @@
|
||||||
# This file was automatically generated by 'stack init'
|
|
||||||
#
|
|
||||||
# Some commonly used options have been documented as comments in this file.
|
|
||||||
# For advanced use and comprehensive documentation of the format, please see:
|
|
||||||
# https://docs.haskellstack.org/en/stable/yaml_configuration/
|
|
||||||
|
|
||||||
# Resolver to choose a 'specific' stackage snapshot or a compiler version.
|
|
||||||
# A snapshot resolver dictates the compiler version and the set of packages
|
|
||||||
# to be used for project dependencies. For example:
|
|
||||||
#
|
|
||||||
# resolver: lts-3.5
|
|
||||||
# resolver: nightly-2015-09-21
|
|
||||||
# resolver: ghc-7.10.2
|
|
||||||
#
|
|
||||||
# The location of a snapshot can be provided as a file or url. Stack assumes
|
|
||||||
# a snapshot provided as a file might change, whereas a url resource does not.
|
|
||||||
#
|
|
||||||
# resolver: ./custom-snapshot.yaml
|
|
||||||
# resolver: https://example.com/snapshots/2018-01-01.yaml
|
|
||||||
|
|
||||||
#ghc-build: nopie
|
|
||||||
|
|
||||||
resolver: lts-15.3
|
resolver: lts-15.3
|
||||||
|
|
||||||
# User packages to be built.
|
|
||||||
# Various formats can be used as shown in the example below.
|
|
||||||
#
|
|
||||||
# packages:
|
|
||||||
# - some-directory
|
|
||||||
# - https://example.com/foo/bar/baz-0.0.2.tar.gz
|
|
||||||
# subdirs:
|
|
||||||
# - auto-update
|
|
||||||
# - wai
|
|
||||||
packages:
|
packages:
|
||||||
- .
|
- .
|
||||||
# Dependency packages to be pulled from upstream that are not in the resolver.
|
#- xmonad-contrib
|
||||||
# These entries can reference officially published versions as well as
|
|
||||||
# forks / in-progress versions pinned to a git hash. For example:
|
|
||||||
#
|
|
||||||
# extra-deps:
|
|
||||||
# - acme-missiles-0.3
|
|
||||||
# - git: https://github.com/commercialhaskell/stack.git
|
|
||||||
# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
|
|
||||||
#
|
|
||||||
extra-deps:
|
extra-deps:
|
||||||
- iwlib-0.1.0
|
- iwlib-0.1.0
|
||||||
- netlink-1.1.1.0
|
- netlink-1.1.1.0
|
||||||
- dbus-1.2.12
|
- dbus-1.2.12
|
||||||
- text-1.2.4.0
|
- text-1.2.4.0
|
||||||
|
|
||||||
# Override default flag values for local packages and extra-deps
|
|
||||||
# flags: {}
|
|
||||||
|
|
||||||
# Extra package databases containing global packages
|
|
||||||
# extra-package-dbs: []
|
|
||||||
|
|
||||||
# Control whether we use the GHC we find on the path
|
|
||||||
# system-ghc: true
|
|
||||||
#
|
|
||||||
# Require a specific version of stack, using version ranges
|
|
||||||
# require-stack-version: -any # Default
|
|
||||||
# require-stack-version: ">=2.1"
|
|
||||||
#
|
|
||||||
# Override the architecture used by stack, especially useful on Windows
|
|
||||||
# arch: i386
|
|
||||||
# arch: x86_64
|
|
||||||
#
|
|
||||||
# Extra directories used by stack for building
|
|
||||||
# extra-include-dirs: [/path/to/dir]
|
|
||||||
# extra-lib-dirs: [/path/to/dir]
|
|
||||||
#
|
|
||||||
# Allow a newer minor version of GHC than the snapshot specifies
|
|
||||||
# compiler-check: newer-minor
|
|
||||||
|
|
73
files/.xmonad/stack.yaml.bak
Normal file
73
files/.xmonad/stack.yaml.bak
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
# This file was automatically generated by 'stack init'
|
||||||
|
#
|
||||||
|
# Some commonly used options have been documented as comments in this file.
|
||||||
|
# For advanced use and comprehensive documentation of the format, please see:
|
||||||
|
# https://docs.haskellstack.org/en/stable/yaml_configuration/
|
||||||
|
|
||||||
|
# Resolver to choose a 'specific' stackage snapshot or a compiler version.
|
||||||
|
# A snapshot resolver dictates the compiler version and the set of packages
|
||||||
|
# to be used for project dependencies. For example:
|
||||||
|
#
|
||||||
|
# resolver: lts-3.5
|
||||||
|
# resolver: nightly-2015-09-21
|
||||||
|
# resolver: ghc-7.10.2
|
||||||
|
#
|
||||||
|
# The location of a snapshot can be provided as a file or url. Stack assumes
|
||||||
|
# a snapshot provided as a file might change, whereas a url resource does not.
|
||||||
|
#
|
||||||
|
# resolver: ./custom-snapshot.yaml
|
||||||
|
# resolver: https://example.com/snapshots/2018-01-01.yaml
|
||||||
|
|
||||||
|
#ghc-build: nopie
|
||||||
|
|
||||||
|
resolver: lts-15.3
|
||||||
|
|
||||||
|
# User packages to be built.
|
||||||
|
# Various formats can be used as shown in the example below.
|
||||||
|
#
|
||||||
|
# packages:
|
||||||
|
# - some-directory
|
||||||
|
# - https://example.com/foo/bar/baz-0.0.2.tar.gz
|
||||||
|
# subdirs:
|
||||||
|
# - auto-update
|
||||||
|
# - wai
|
||||||
|
packages:
|
||||||
|
- .
|
||||||
|
# Dependency packages to be pulled from upstream that are not in the resolver.
|
||||||
|
# These entries can reference officially published versions as well as
|
||||||
|
# forks / in-progress versions pinned to a git hash. For example:
|
||||||
|
#
|
||||||
|
# extra-deps:
|
||||||
|
# - acme-missiles-0.3
|
||||||
|
# - git: https://github.com/commercialhaskell/stack.git
|
||||||
|
# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
|
||||||
|
#
|
||||||
|
extra-deps:
|
||||||
|
- iwlib-0.1.0
|
||||||
|
- netlink-1.1.1.0
|
||||||
|
- dbus-1.2.12
|
||||||
|
- text-1.2.4.0
|
||||||
|
|
||||||
|
# Override default flag values for local packages and extra-deps
|
||||||
|
# flags: {}
|
||||||
|
|
||||||
|
# Extra package databases containing global packages
|
||||||
|
# extra-package-dbs: []
|
||||||
|
|
||||||
|
# Control whether we use the GHC we find on the path
|
||||||
|
# system-ghc: true
|
||||||
|
#
|
||||||
|
# Require a specific version of stack, using version ranges
|
||||||
|
# require-stack-version: -any # Default
|
||||||
|
# require-stack-version: ">=2.1"
|
||||||
|
#
|
||||||
|
# Override the architecture used by stack, especially useful on Windows
|
||||||
|
# arch: i386
|
||||||
|
# arch: x86_64
|
||||||
|
#
|
||||||
|
# Extra directories used by stack for building
|
||||||
|
# extra-include-dirs: [/path/to/dir]
|
||||||
|
# extra-lib-dirs: [/path/to/dir]
|
||||||
|
#
|
||||||
|
# Allow a newer minor version of GHC than the snapshot specifies
|
||||||
|
# compiler-check: newer-minor
|
1
files/.xmonad/xmonad
Submodule
1
files/.xmonad/xmonad
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 40466b2be266e50e941f2fcc53b7526f1cfc71be
|
Loading…
Reference in a new issue