mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-05 19:02:24 +00:00
asdf
This commit is contained in:
parent
8249503a34
commit
30a9520d0d
14 changed files with 95 additions and 18 deletions
|
@ -38,7 +38,7 @@ scrolling:
|
|||
dynamic_title: true
|
||||
|
||||
cursor:
|
||||
style: Beam # ▇ Block, _ Underline, | Beam
|
||||
style: Block # ▇ Block, _ Underline, | Beam
|
||||
unfocused_hollow: true
|
||||
# Live config reload (changes require restart)
|
||||
live_config_reload: true
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"optOut": false,
|
||||
"lastUpdateCheck": 1585325052615
|
||||
"lastUpdateCheck": 1585491550576
|
||||
}
|
|
@ -5,6 +5,7 @@ alias ls=lsd
|
|||
abbr --add --global vim nvim
|
||||
abbr --add --global tsh trash
|
||||
abbr --add --global clear "clear && ls"
|
||||
abbr --add --global cxmonad "nvim /home/leon/.xmonad/lib/Config.hs"
|
||||
|
||||
|
||||
[ (hostname) = "garnix" ] && alias rm='echo "rm is disabled. Please use trash instead."; false'
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# This file contains fish universal variable definitions.
|
||||
# VERSION: 3.0
|
||||
SETUVAR __fish_initialized:3100
|
||||
SETUVAR _fish_abbr_cxmonad:vim\x20\x7e/\x2exmonad/lib/Config\x2ehs
|
||||
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
||||
SETUVAR fish_color_cancel:\x2dr
|
||||
SETUVAR fish_color_command:00cff7
|
||||
|
|
3
files/.config/qutebrowser/.vim/coc-settings.json
Normal file
3
files/.config/qutebrowser/.vim/coc-settings.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"python.linting.enabled": false
|
||||
}
|
16
files/.config/qutebrowser/autoconfig.yml
Normal file
16
files/.config/qutebrowser/autoconfig.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
# If a config.py file exists, this file is ignored unless it's explicitly loaded
|
||||
# via config.load_autoconfig(). For more information, see:
|
||||
# https://github.com/qutebrowser/qutebrowser/blob/master/doc/help/configuring.asciidoc#loading-autoconfigyml
|
||||
# DO NOT edit this file by hand, qutebrowser will overwrite it.
|
||||
# Instead, create a config.py - see :help for details.
|
||||
|
||||
config_version: 2
|
||||
settings:
|
||||
scrolling.smooth:
|
||||
global: true
|
||||
statusbar.hide:
|
||||
global: false
|
||||
statusbar.position:
|
||||
global: bottom
|
||||
tabs.show:
|
||||
global: multiple
|
0
files/.config/qutebrowser/bookmarks/urls
Normal file
0
files/.config/qutebrowser/bookmarks/urls
Normal file
30
files/.config/qutebrowser/config.py
Normal file
30
files/.config/qutebrowser/config.py
Normal file
|
@ -0,0 +1,30 @@
|
|||
import dracula.draw
|
||||
|
||||
dracula.draw.blood(c, {
|
||||
'spacing': {
|
||||
'vertical': 4,
|
||||
'horizontal': 8
|
||||
}
|
||||
})
|
||||
|
||||
config.load_autoconfig()
|
||||
c.backend = 'webengine'
|
||||
|
||||
config.unbind("<Ctrl-tab>")
|
||||
config.bind("<Ctrl-Tab>", "tab-next")
|
||||
config.bind("<Ctrl-Shift-Tab>", "tab-prev")
|
||||
config.bind("<Ctrl-L>", "set-cmd-text -s :open")
|
||||
|
||||
config.bind(",y", "hint links spawn mpv {hint-url}")
|
||||
config.bind(",Y", "spawn mpv {url}")
|
||||
|
||||
c.tabs.show = "always"
|
||||
c.tabs.show_switching_delay = 1000
|
||||
|
||||
c.statusbar.hide = False
|
||||
c.fonts.statusbar = "default_size Iosevka"
|
||||
|
||||
c.editor.command = ["alacritty", "-e", "vim", "{file}"]
|
||||
|
||||
|
||||
c.statusbar.padding = {"bottom": 1, "left": 8, "right": 8, "top": 1}
|
1
files/.config/qutebrowser/dracula
Submodule
1
files/.config/qutebrowser/dracula
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit ba5bd6589c4bb8ab35aaaaf7111906732f9764ef
|
4
files/.config/qutebrowser/quickmarks
Normal file
4
files/.config/qutebrowser/quickmarks
Normal file
|
@ -0,0 +1,4 @@
|
|||
cheatsheet https://duckduckgo.com/?q=qutebrowser+cheatsheet&ia=cheatsheet&iax=1
|
||||
jira https://jira-student.it.hs-heilbronn.de/secure/RapidBoard.jspa?rapidView=323&projectKey=RUNDUM
|
||||
confluence https://confluence-student.it.hs-heilbronn.de/display/AIB/AIB_LabSWP_2020_SS_StudEZ+Home
|
||||
bitbucket https://bitbucket-student.it.hs-heilbronn.de/projects/LABAIB
|
|
@ -1,5 +1,8 @@
|
|||
#HttpOnly_.google.de TRUE / TRUE 1618233527 ANID AHWqTUmxkxyFkyYgbf7RtsYZ-spR3k1IqBE3rAPOQnGeCg-soPIX1T7_2A6aOP_c None
|
||||
.google.de TRUE / FALSE 2145916800 CONSENT WP.284bff.284ebc None
|
||||
.google.de TRUE / TRUE 1587549603 1P_JAR 2020-3-23-10 None
|
||||
#HttpOnly_.google.de TRUE / FALSE 1600768803 NID 200=oa53M0hgKvaT-DGFdGn2ou9Fy9-qzzRdz54Mhn8QkE9YVQ5SNyPvVfW5ZNGMeN0p56gsQcMGgJSfXnidMnJJWBfkT8xsXG26s9Ivb2jQ2iAh26tZXjwlaBtRlHHTPZ2p4MGvOjBLzvAg2_mc2lCeYvMen7diKVKV40WD9bZkLU8 None
|
||||
#HttpOnly_.google.de TRUE /verify TRUE 1600768803 SNID AI94zCAK4GXnNFvKws37D6OgUXnTF-A1X8UKdae44aguNeZnx9VsUydULInLayVov1aiZmtkh2Pf1W6AHrN5-w Lax
|
||||
.google.de TRUE / FALSE 2145916800 CONSENT WP.284bff.284ebc.28523f None
|
||||
#HttpOnly_.google.de TRUE / FALSE 1601308700 NID 201=2f4m3yF905yxXJMWdugEIcX-6Xz5lfBM9inDXDUn9x-pRGmC8Wj_LH2-aJ2z-MC5iqSIygHso2ro_MXuRw4If4hfe0XJtITPp2oXXYEP8kd5_oXKoCVharylNWN-9VDW4NIVOhTiaBLJJkHYigbuvgmxUFaDWyoqJ_EYut711fE None
|
||||
#HttpOnly_.google.de TRUE /verify TRUE 1601308700 SNID AI94zCAK1A3JzGA0bmpDwBJjpW02d6NyKM7uPz5BX1zV8zldCUJ9nZsltUXn9Qfh3X3RKTiq1qWUwe3C-H5IhQ Lax
|
||||
#HttpOnly_.google.de TRUE / TRUE 1618233527 ANID AHWqTUkyeLYe1zHGOTFnTI8bLsAhCDbNKjZjNS7xmbSUo1S8xfEHWo04CbiulJlu None
|
||||
#HttpOnly_.google.de TRUE /complete/search FALSE 1601049580 CGIC Ij90ZXh0L2h0bWwsYXBwbGljYXRpb24veGh0bWwreG1sLGFwcGxpY2F0aW9uL3htbDtxPTAuOSwqLyo7cT0wLjg None
|
||||
#HttpOnly_.google.de TRUE /search FALSE 1601049580 CGIC Ij90ZXh0L2h0bWwsYXBwbGljYXRpb24veGh0bWwreG1sLGFwcGxpY2F0aW9uL3htbDtxPTAuOSwqLyo7cT0wLjg None
|
||||
.google.de TRUE / FALSE 1588089581 OGPC 19016257-1: None
|
||||
.google.de TRUE / TRUE 1588089672 1P_JAR 2020-03-29-16 None
|
||||
|
|
|
@ -24,6 +24,7 @@ import XMonad.Layout.BinarySpacePartition
|
|||
import XMonad.Hooks.DynamicLog
|
||||
import XMonad.Hooks.FadeInactive
|
||||
import XMonad.Hooks.ManageDocks
|
||||
import qualified XMonad.Hooks.ManageHelpers as ManageHelpers
|
||||
import qualified XMonad.Hooks.EwmhDesktops as Ewmh
|
||||
import XMonad.Hooks.SetWMName (setWMName)
|
||||
import XMonad.Layout.Gaps
|
||||
|
@ -33,6 +34,7 @@ import XMonad.Layout.ResizableTile -- for resizeable tall layout
|
|||
import XMonad.Layout.MouseResizableTile
|
||||
import XMonad.Layout.Spacing (spacingRaw, Border(..), toggleWindowSpacingEnabled)
|
||||
import XMonad.Layout.Renamed (renamed, Rename(Replace))
|
||||
import XMonad.Layout.LayoutHints
|
||||
import XMonad.Layout.ToggleLayouts
|
||||
import XMonad.Layout.ZoomRow
|
||||
import XMonad.Layout.BorderResize
|
||||
|
@ -54,7 +56,8 @@ import XMonad.Actions.Commands
|
|||
myModMask = mod4Mask
|
||||
myLauncher = Rofi.asCommand (def { Rofi.theme = Rofi.bigTheme }) ["-show run"]
|
||||
myTerminal = "kitty --single-instance" -- try alacritty
|
||||
myBrowser = "google-chrome-stable"
|
||||
myBrowser = "qutebrowser"
|
||||
--myBrowser = "google-chrome-stable"
|
||||
|
||||
{-| adds the scripts-directory path to the filename of a script |-}
|
||||
scriptFile :: String -> String
|
||||
|
@ -98,7 +101,7 @@ aqua = "#8ec07c"
|
|||
|
||||
-- Layout ---------------------------------------- {{{
|
||||
--layoutHints .
|
||||
myLayout = BoringWindows.boringWindows . minimize . avoidStruts . smartBorders . toggleLayouts Full $ layouts
|
||||
myLayout = avoidStruts . BoringWindows.boringWindows . minimize . smartBorders . toggleLayouts Full . layoutHintsToCenter $ layouts
|
||||
where
|
||||
layouts =((rename "Tall" $ onlyGaps $ mouseResizableTile {draggerType = dragger}) -- ResizableTall 1 (3/100) (1/2) []
|
||||
||| (rename "Horizon" $ onlyGaps $ mouseResizableTileMirrored {draggerType = dragger}) -- Mirror $ ResizableTall 1 (3/100) (3/4) []
|
||||
|
@ -156,14 +159,16 @@ myKeys = [ ("M-C-k", sendMessage MirrorExpand >> sendMessage ShrinkSlave )
|
|||
|
||||
, ("M-f", toggleFullscreen)
|
||||
, ("M-S-C-c", kill1)
|
||||
, ("M-S-C-a", windows copyToAll) -- windows: Modify the current window list with a pure function, and refresh
|
||||
, ("M-C-c", killAllOtherCopies)
|
||||
, ("M-S-C-q", io $ exitSuccess)
|
||||
|
||||
-- Binary space partitioning
|
||||
, ("M-<Backspace>", sendMessage $ Swap)
|
||||
, ("M-M1-<Backspace>", sendMessage $ Rotate)
|
||||
|
||||
-- Media
|
||||
, ("<XF86AudioRaiseVolume>", spawn "amixer sset Master 5%+")
|
||||
, ("<XF86AudioLowerVolume>", spawn "amixer sset Master 5%-")
|
||||
|
||||
-- programs
|
||||
, ("M-p", spawn myLauncher)
|
||||
, ("M-b", spawn myBrowser)
|
||||
|
@ -241,9 +246,11 @@ myKeys = [ ("M-C-k", sendMessage MirrorExpand >> sendMessage ShrinkSlave )
|
|||
|
||||
specialCommands :: [(String, X ())]
|
||||
specialCommands =
|
||||
[ ("screenshot", spawn $ scriptFile "screenshot.sh")
|
||||
, ("toggleSpacing", toggleWindowSpacingEnabled)
|
||||
, ("toggleGaps", sendMessage ToggleGaps)
|
||||
[ ("screenshot", spawn $ scriptFile "screenshot.sh")
|
||||
, ("toggleSpacing", toggleWindowSpacingEnabled)
|
||||
, ("toggleGaps", sendMessage ToggleGaps)
|
||||
, ("Copy to all workspaces", windows copyToAll) -- windows: Modify the current window list with a pure function, and refresh
|
||||
, ("Kill all other copies", killAllOtherCopies)
|
||||
]
|
||||
|
||||
describedSubmap :: String -> [((KeyMask, KeySym), String, X ())] -> X ()
|
||||
|
@ -258,8 +265,9 @@ myKeys = [ ("M-C-k", sendMessage MirrorExpand >> sendMessage ShrinkSlave )
|
|||
|
||||
myManageHook :: Query (Data.Monoid.Endo WindowSet)
|
||||
myManageHook = composeAll
|
||||
[ resource =? "Dialog" --> doFloat
|
||||
, appName =? "pavucontrol" --> doFloat
|
||||
[ resource =? "Dialog" --> ManageHelpers.doCenterFloat
|
||||
, appName =? "pavucontrol" --> ManageHelpers.doCenterFloat
|
||||
, className =? "mpv" --> ManageHelpers.doRectFloat (W.RationalRect 0.9 0.9 0.1 0.1)
|
||||
-- , isFullscreen --> doF W.focusDown <+> doFullFloat
|
||||
, manageDocks
|
||||
, namedScratchpadManageHook scratchpads
|
||||
|
@ -290,7 +298,7 @@ myConfig dbus = desktopConfig
|
|||
, startupHook = myStartupHook <+> startupHook def <+> return () >> checkKeymap (myConfig dbus ) myKeys
|
||||
, manageHook = myManageHook <+> manageHook def
|
||||
-- , handleEventHook = minimizeEventHook <+> handleEventHook def -- fullscreenEventHook
|
||||
--, handleEventHook = handleEventHook def <+> Ewmh.fullscreenEventHook
|
||||
--, handleEventHook = handleEventHook def <+> hintsEventHook -- <+> Ewmh.fullscreenEventHook
|
||||
, focusedBorderColor = aqua
|
||||
, normalBorderColor = "#282828"
|
||||
} `removeKeysP` removedKeys `additionalKeysP` myKeys
|
||||
|
|
Binary file not shown.
12
files/scripts/autocompile/plantuml.sh
Executable file
12
files/scripts/autocompile/plantuml.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
pngfile=$(echo "$1" | sed 's/\.plantuml$/.png/g')
|
||||
|
||||
function finish {
|
||||
rm "$pngfile"
|
||||
}
|
||||
|
||||
trap finish EXIT
|
||||
|
||||
plantuml -tpng "$1"
|
||||
feh --auto-zoom --auto-reload --fullscreen "$pngfile" &
|
||||
echo "$1" | entr plantuml -tpng /_
|
Loading…
Reference in a new issue