diff --git a/files/.config/configstore/update-notifier-npm.json b/files/.config/configstore/update-notifier-npm.json index 4867e90..57e9f7e 100644 --- a/files/.config/configstore/update-notifier-npm.json +++ b/files/.config/configstore/update-notifier-npm.json @@ -1,4 +1,4 @@ { "optOut": false, - "lastUpdateCheck": 1590658636938 + "lastUpdateCheck": 1590756983935 } \ No newline at end of file diff --git a/files/.config/gtk-3.0/settings.ini b/files/.config/gtk-3.0/settings.ini index 2bcd66d..8875d91 100644 --- a/files/.config/gtk-3.0/settings.ini +++ b/files/.config/gtk-3.0/settings.ini @@ -14,6 +14,4 @@ gtk-xft-antialias=1 gtk-xft-hinting=1 gtk-xft-hintstyle=hintslight gtk-xft-rgba=rgb - -[settings] -gtk-theme-name="Arc-Darker" +gtk-application-prefer-dark-theme=true diff --git a/files/.config/nitrogen/bg-saved.cfg b/files/.config/nitrogen/bg-saved.cfg index 4298776..14fc9b8 100644 --- a/files/.config/nitrogen/bg-saved.cfg +++ b/files/.config/nitrogen/bg-saved.cfg @@ -1,4 +1,9 @@ -[xin_-1] -file=/home/leon/Bilder/wallpapers/gruvboxabstractwall.png +[xin_1] +file=/home/leon/Bilder/wallpapers/ipgK.png +mode=5 +bgcolor=#000000 + +[xin_0] +file=/home/leon/Bilder/wallpapers/ipgK.png mode=5 bgcolor=#000000 diff --git a/files/.config/nitrogen/nitrogen.cfg b/files/.config/nitrogen/nitrogen.cfg index cb6711c..b9b9f35 100644 --- a/files/.config/nitrogen/nitrogen.cfg +++ b/files/.config/nitrogen/nitrogen.cfg @@ -1,8 +1,8 @@ [geometry] -posx=20 -posy=50 -sizex=1132 -sizey=842 +posx=582 +posy=1439 +sizex=992 +sizey=636 [nitrogen] view=icon diff --git a/files/.config/polybar/config.ini b/files/.config/polybar/config.ini index a8580e1..55d0807 100644 --- a/files/.config/polybar/config.ini +++ b/files/.config/polybar/config.ini @@ -47,7 +47,7 @@ margin-bottom = 0 monitor = ${env:MONITOR:} override-redirect = true -wm-restack = xmonad +;wm-restack = xmonad ;width = 100%:-28 ;height = 30 @@ -171,7 +171,7 @@ interval = 1 [module/player-mpv-tail] type = custom/script -exec = ~/.config/polybar/polybar-scripts/player-mpv-tail.py -t 42 -c '#abb2bf' +exec = ~/.config/polybar/polybar-scripts/player-mpv-tail.py -t 42 -c '#8ec07c' tail = true click-left = ~/.config/polybar/polybar-scripts/player-mpv-tail.py -p pause click-middle = ~/.config/polybar/polybar-scripts/player-mpv-tail.py -p playlist-pos -1 diff --git a/files/.xmonad/lib/Config.hs b/files/.xmonad/lib/Config.hs index a5a2298..0e3579b 100644 --- a/files/.xmonad/lib/Config.hs +++ b/files/.xmonad/lib/Config.hs @@ -53,6 +53,7 @@ import XMonad.Util.EZConfig ( additionalKeysP , removeKeysP , checkKeymap ) + import XMonad.Util.NamedScratchpad import XMonad.Util.Run import XMonad.Util.SpawnOnce (spawnOnce) @@ -212,6 +213,7 @@ myStartupHook = do spawn "/home/leon/.config/polybar/launch.sh" spawnOnce "nitrogen --restore" spawnOnce "mailnag" + spawnOnce "flashfocus" for_ ["led1", "led2"] $ \led -> safeSpawn "sudo" ["liquidctl", "set", led, "color", "fixed", "00ffff"] -- }}} @@ -273,6 +275,7 @@ myKeys = concat [ zoomRowBindings, tabbedBindings, multiMonitorBindings, program , ("M-d", multiMonitorOperation W.view 0) , ("M-S-s", (multiMonitorOperation W.shift 1) >> multiMonitorOperation W.view 1) , ("M-S-d", (multiMonitorOperation W.shift 0) >> multiMonitorOperation W.view 0) + , ("M-C-s", windows swapScreenContents) ] programLaunchBindings :: [(String, X ())] @@ -309,6 +312,7 @@ myKeys = concat [ zoomRowBindings, tabbedBindings, multiMonitorBindings, program , ("", spawn "amixer sset Master 5%+") , ("", spawn "amixer sset Master 5%-") , ("M-S-C-,", (notify "hi" (show $ map (\(a, _) -> show a) workspaceBindings)) >> (notify "ho" (show removedKeys))) + , ("M-", spawn "flash_window") ] workspaceBindings :: [(String, X ())] @@ -369,6 +373,20 @@ myKeys = concat [ zoomRowBindings, tabbedBindings, multiMonitorBindings, program (winId:_) -> windows $ W.shiftWin (W.currentTag winSet) winId + swapScreenContents :: W.StackSet i l a sid sd -> W.StackSet i l a sid sd + swapScreenContents ws = if null (W.visible ws) then ws else + let + otherScreen = head $ W.visible ws + otherWsp = W.workspace otherScreen + currentScreen = W.current ws + currentWsp = W.workspace currentScreen + in + ws + { W.current = currentScreen { W.workspace = otherWsp { W.tag = W.tag currentWsp } } + , W.visible = (otherScreen { W.workspace = currentWsp { W.tag = W.tag otherWsp } } : (tail $ W.visible ws)) + } + + withSelectionCommands :: [(String, X ())] withSelectionCommands = diff --git a/files/scripts/casefandeamon.py b/files/scripts/casefandeamon.py index bfecc05..f682af5 100755 --- a/files/scripts/casefandeamon.py +++ b/files/scripts/casefandeamon.py @@ -17,12 +17,14 @@ def run_fan_check(): temp = tdie_temp[0] temp = float(re.findall(r"^Tdie:\s*\+(.*?)°C.+", temp)[0]) if temp < 50: - fan_speed = 0 + fan_speed = 20 if temp < 60: fan_speed = 30 elif temp < 70: - fan_speed = 50 + fan_speed = 40 elif temp < 80: + fan_speed = 60 + else: fan_speed = 100 print("applying fan curve to " + str(fan_speed) + "%, temp is " + str(temp))