aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-03-21 14:35:21 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-03-21 14:35:21 +0530
commitfd98b1d6671858a2a725634c82d6907ec25771ea (patch)
tree2033a7c2ab14f588d698e86d5a4b5e5f2be2c20c
parent4e719d6ca4af5a7d56f37f2ec5ef5e59118b03b4 (diff)
FINALLY THIS WORKS PROPERLY (Pushing all the dotfiles)
-rwxr-xr-x.config/XMonad/baraction49
-rw-r--r--.config/XMonad/xmonad.hs419
-rw-r--r--.config/lemonblocks/config.txt5
-rwxr-xr-x.config/lemonblocks/modules/cpu_load.sh10
-rwxr-xr-x.config/lemonblocks/modules/cpu_temp.sh5
-rwxr-xr-x.config/lemonblocks/modules/date.sh3
-rwxr-xr-x.config/lemonblocks/modules/mem_usage.sh4
-rwxr-xr-x.config/lemonblocks/modules/volume.sh9
-rwxr-xr-x.config/lemonblocks/start.sh41
-rw-r--r--.config/nvim/init.vim55
-rw-r--r--.config/picom.conf429
-rw-r--r--.config/starship.toml41
-rw-r--r--.config/startpage/background.jpgbin0 -> 522763 bytes
-rw-r--r--.config/startpage/index.html67
-rw-r--r--.config/startpage/server.go22
-rw-r--r--.config/zsh/.zshrc62
16 files changed, 1221 insertions, 0 deletions
diff --git a/.config/XMonad/baraction b/.config/XMonad/baraction
new file mode 100755
index 0000000..b32d693
--- /dev/null
+++ b/.config/XMonad/baraction
@@ -0,0 +1,49 @@
+#!/bin/zsh
+
+COLOR1="#130F23"
+COLOR2="#8D5BD0"
+A1="%{B"$COLOR2"}%{F"$COLOR1"}%{B"$COLOR1"}%{F-}"
+A2="%{B"$COLOR1"}%{F"$COLOR2"}%{B"$COLOR2"}%{F-}"
+
+clock() {
+ datetime=$(date +"%d %b(%A) %H:%M")
+ # echo "%{B#6c71c4}%{F#f0f0f0} $datetime %{B-}%{F-}"
+ echo $datetime
+}
+
+cpu_load() {
+ read cpu a b c previdle rest < /proc/stat
+ prevtotal=$((a+b+c+previdle))
+ sleep 0.5
+ read cpu a b c idle rest < /proc/stat
+ total=$((a+b+c+idle))
+ cpu=$((100*( (total-prevtotal) - (idle-previdle) ) / (total-prevtotal) ))
+ echo CPU:$cpu%
+}
+
+cpu_temp() {
+ CEL=$'\xc2\xb0C'
+ temp=$( cat /sys/devices/virtual/thermal/thermal_zone0/temp )
+ temp=`expr $temp / 1000`
+ echo TEMP:$temp$CEL
+}
+
+mem_usage() {
+ mem=$(free -m | grep Mem: | awk '{print$3 / $2 * 100}')
+ # echo "%{B#14eea0}%{F#232627}"
+ printf "MEM: %.0f%%" $mem
+}
+
+volume() {
+ volume_level=$(pamixer --get-volume-human)
+ if [ $volume_level = "muted" ]; then
+ echo "%{F#ff0058}VOL: $(pamixer --get-volume)%{F-}"
+ else
+ echo "VOL: $volume_level"
+ fi
+}
+
+while :; do
+ echo "%{r}"$A2$A1$(volume)$A2$(cpu_temp)$A1$(cpu_load)$A2$(mem_usage)$A1$(clock)
+ sleep 1
+done
diff --git a/.config/XMonad/xmonad.hs b/.config/XMonad/xmonad.hs
new file mode 100644
index 0000000..25bad15
--- /dev/null
+++ b/.config/XMonad/xmonad.hs
@@ -0,0 +1,419 @@
+import XMonad
+import qualified XMonad.StackSet as W
+import XMonad.ManageHook
+
+-- xmonad-log imports
+import qualified DBus as D
+import qualified DBus.Client as D
+import qualified Codec.Binary.UTF8.String as UTF8
+
+-- data
+import Data.Tree
+import qualified Data.Map as M
+
+-- actions
+import XMonad.Actions.CycleWS (moveTo, shiftTo, WSType(..), nextScreen, prevScreen)
+import XMonad.Actions.CopyWindow
+import XMonad.Actions.CycleWS
+import XMonad.Actions.GridSelect
+import XMonad.Actions.SwapWorkspaces
+import XMonad.Actions.WindowBringer
+import XMonad.Actions.MouseResize
+import qualified XMonad.Actions.TreeSelect as TS
+
+-- layouts modifiers
+import XMonad.Layout.Spacing
+import XMonad.Layout.LayoutModifier
+import XMonad.Layout.WindowNavigation as WN
+import XMonad.Layout.Fullscreen
+import XMonad.Layout.Renamed as R (renamed, Rename(Replace))
+
+-- Layouts
+-- import XMonad.Layout.AvoidFloats
+import XMonad.Layout.BinarySpacePartition as BSP
+-- import XMonad.Layout.CenteredMaster
+import XMonad.Layout.Grid
+import XMonad.Layout.ThreeColumns
+import XMonad.Layout.TwoPane
+import XMonad.Layout.Spiral
+import XMonad.Layout.ResizableTile
+import XMonad.Layout.Maximize
+import XMonad.Layout.Tabbed -- fix this it doesnt work
+import XMonad.Layout.NoBorders
+
+-- hooks
+import XMonad.Hooks.SetWMName
+import XMonad.Hooks.ManageDocks
+import XMonad.Hooks.DynamicLog
+-- import XMonad.Hooks.FadeInactive
+
+-- utilities
+import XMonad.Util.SpawnOnce
+import XMonad.Util.EZConfig (additionalKeys)
+import XMonad.Util.Cursor
+import XMonad.Util.Paste
+import XMonad.Util.Run
+import XMonad.Util.NamedScratchpad
+
+
+myStartupHook :: X ()
+myStartupHook = do
+ spawnOnce "start-lemonbar.sh"
+ spawnOnce "firefox"
+ -- setWMName "AnimeThighsWM"
+ setWMName "LG3D"
+ setDefaultCursor xC_left_ptr
+
+-- defaults
+-- myModMask :: KeyMask
+myModMask = mod4Mask
+
+altMask :: KeyMask
+altMask = mod1Mask
+
+myTerminal :: String
+myTerminal = "st"
+
+myLauncher :: String
+myLauncher = ".//home/zt/.config/scripts/run_dmenu"
+
+myBrowser :: String
+myBrowser = "brave"
+
+myFileManager :: String
+myFileManager = "pcmanfm"
+
+myEmailClient :: String
+myEmailClient = "thunderbird"
+
+myEditor :: String
+myEditor = "nvim"
+
+myLockscreen :: String
+myLockscreen = "betterlockscreen -l -t 'Yo, Vidhu!'"
+
+myScreenshot :: String
+myScreenshot = "scrot /zt/Screenshots/Screenshot-%Y-%d-%m--%T.png"
+
+myColorPicker :: String
+myColorPicker = ".//zt/Programs/colorpicker --short --one-shot --preview | xsel -b"
+
+-- volume
+myVolUp :: String
+myVolUp = "pulseaudio-ctl up && killall lemonblocks -5"
+
+myVolDown :: String
+myVolDown = "pulseaudio-ctl down && killall lemonblocks -5"
+
+myVolMute :: String
+myVolMute = "pulseaudio-ctl mute && killall lemonblocks -5"
+
+
+myFont :: String
+myFont = "xft:Roboto:pixelsize=16:antialias=true"
+
+
+-- wm variables
+
+nBorder = "#130F23" -- "#3804f4" -- "#bf00ff"
+fBorder = "#00ff85"
+
+myBorderWidth = 1
+
+sGap = 1 -- screen gap
+wGap = 2 -- window gap
+
+myExtraWorkspaces = [(xK_0, " 十 ")] -- , (xK_comma, " 十一 "), (xK_period, " 十二 "), (xK_slash, " 十三 ")]
+myWorkspaces = [" 一 "," 二 "," 三 "," 四 "," 五 "," 六 "," 七 "," 八 ", " 九 "] ++ (map snd myExtraWorkspaces)
+
+-- treeselect config
+defaultNavigation = M.fromList
+ [ ((0, xK_Escape), TS.cancel)
+ , ((0, xK_Return), TS.select)
+ , ((0, xK_space), TS.select)
+ , ((0, xK_Up), TS.movePrev)
+ , ((0, xK_Down), TS.moveNext)
+ , ((0, xK_Left), TS.moveParent)
+ , ((0, xK_Right), TS.moveChild)
+ , ((0, xK_k), TS.movePrev)
+ , ((0, xK_j), TS.moveNext)
+ , ((0, xK_h), TS.moveParent)
+ , ((0, xK_l), TS.moveChild)
+ , ((0, xK_o), TS.moveHistBack)
+ , ((0, xK_i), TS.moveHistForward)
+ ]
+
+myTSConfig = TS.TSConfig { TS.ts_hidechildren = False
+ , TS.ts_background = 0xdd282c34
+ , TS.ts_font = myFont
+ , TS.ts_node = (0xffd0d0d0, 0xff1c1f24)
+ , TS.ts_nodealt = (0xffd0d0d0, 0xff282c34)
+ , TS.ts_highlight = (0xffffffff, 0xff755999)
+ , TS.ts_extra = 0xffd0d0d0
+ , TS.ts_node_width = 200
+ , TS.ts_node_height = 28
+ , TS.ts_originX = 100
+ , TS.ts_originY = 100
+ , TS.ts_indent = 80
+ , TS.ts_navigate = TS.defaultNavigation
+ }
+
+myPowerMenu :: TS.TSConfig (X ()) -> X ()
+myPowerMenu a = TS.treeselectAction a
+ [Node (TS.TSNode "SHUTDOWN" "It's not like I'm gonna miss you, b- baka!" (spawn "shutdown now")) []
+ , Node (TS.TSNode "REBOOT" "Be quick, okay?" (spawn "reboot")) []
+ , Node (TS.TSNode "CANCEL" "Do nothing" (return ())) []
+ ]
+
+myTreeMenu :: TS.TSConfig (X ()) -> X ()
+myTreeMenu a = TS.treeselectAction a
+ [ Node (TS.TSNode "Section Screenshot" "Take screenshot of a section on the screen" (spawn "scrot -s /zt/Screenshots/Screenshot-%Y-%d-%m--%T.png")) []
+ , Node (TS.TSNode "Utilities" "" (return()))
+ [ Node (TS.TSNode "Pavucontrol" "" (spawn "pavucontrol")) []
+ , Node (TS.TSNode "Color Picker" "" (spawn myColorPicker)) []
+ , Node (TS.TSNode "bashtop" "" (spawn "st -e bashtop")) []
+ , Node (TS.TSNode "htop" "" (spawn "st -e htop")) []
+ , Node (TS.TSNode "lxappearance" "" (spawn "st -e lxappearance")) []
+ ]
+ , Node (TS.TSNode "Apps" "" (return()))
+ [ Node (TS.TSNode "Torrents" "" (spawn "qbittorrent")) []
+ , Node (TS.TSNode "Discord" "" (spawn "discord-canary")) []
+ , Node (TS.TSNode "LibreOffice" "" (spawn "libreoffice")) []
+ , Node (TS.TSNode "Browsers" "" (return()))
+ [ Node (TS.TSNode "Vivaldi" "" (spawn "vivaldi-stable")) []
+ , Node (TS.TSNode "Firefox" "" (spawn "firefox")) []
+ , Node (TS.TSNode "Brave" "" (spawn "brave")) []
+ ]
+ ]
+ , Node (TS.TSNode "Other" "" (return()))
+ [ Node (TS.TSNode "Recompile XMonad" "Recompile and restart the window manager" (spawn "xmonad --recompile && xmonad --restart")) []
+ , Node (TS.TSNode "Launch DMenu" "just in case the keybinding doesn't work" (spawn "run_dmenu")) []
+ , Node (TS.TSNode "Restart server" "Restart startpage server" (spawn "killall startpage-server;startpage-server")) []
+ , Node (TS.TSNode "notify" "send a notification" (spawn "notify-send 'This is a notification' 'Hello World!'")) []
+ ]
+ , Node (TS.TSNode "Power" "" (return()))
+ [ Node (TS.TSNode "Shutdown" "It's not like I'll miss you b- baka!" (spawn "shutdown now")) []
+ , Node (TS.TSNode "Reboot" "What are you doing!" (spawn "reboot")) []
+ , Node (TS.TSNode "Cancel" "Yamete kudasai" (return())) []
+ ]
+ ]
+
+
+
+-- scratchpad config
+myScratchpads = [
+ NS "Phone" "scrcpy" (title =? "Motorola One Power") defaultFloating,
+ NS "Terminal" "st -t 'TerminalScratchpad'" (title =? "TerminalScratchpad") defaultFloating,
+ NS "Nitrogen" "nitrogen" (title =? "Nitrogen") defaultFloating
+ ] where role = stringProperty "WM_WINDOW_ROLE"
+
+
+-- keybindings
+myKeys = [
+ ((myModMask, xK_Return), spawn (myTerminal))
+ , ((myModMask .|. shiftMask, xK_p), spawn (myLauncher))
+ , ((myModMask .|. shiftMask, xK_Return), spawn (myScreenshot))
+ , ((myModMask, xK_q), spawn (myLockscreen))
+ , ((myModMask, xK_c), spawn (myColorPicker))
+
+ , ((altMask, xK_w), kill1)
+ , ((altMask .|. shiftMask, xK_k), kill1)
+ , ((myModMask, xK_a), withFocused $ windows . W.sink) -- unfloat windows
+
+ -- TreeSelect
+ , ((altMask, xK_F4), myPowerMenu myTSConfig)
+ , ((myModMask, xK_p), myTreeMenu myTSConfig)
+
+ -- launch apps/execute scripts
+ -- , ((myModMask, xK_i), spawn (myBrowser))
+ , ((myModMask, xK_o), spawn (myFileManager))
+ , ((myModMask, xK_y), spawn ("gimp"))
+ , ((myModMask, xK_e), spawn (myEmailClient))
+ -- , ((myModMask, xK_m), spawn ("vlc"))
+ , ((myModMask, xK_b), spawn ("konqueror"))
+
+ -- launch/copy apps
+ , ((myModMask .|. shiftMask, xK_o), runOrCopy "pcmanfm" (className =? "Pcmanfm"))
+ , ((myModMask, xK_i), runOrCopy "brave" (className =? "Brave-browser"))
+ , ((myModMask, xK_m), runOrCopy "vlc" (className =? "vlc"))
+
+ -- volume
+ , ((altMask, xK_0), spawn (myVolMute))
+ , ((altMask, xK_minus), spawn (myVolDown))
+ , ((altMask, xK_equal), spawn (myVolUp))
+
+ -- scratchpad keybindings
+ , ((myModMask, xK_u), namedScratchpadAction myScratchpads "Phone")
+ , ((myModMask, xK_t), namedScratchpadAction myScratchpads "Terminal")
+ , ((myModMask, xK_w), namedScratchpadAction myScratchpads "Nitrogen")
+
+ -- view prev/next workspaces
+ , ((altMask, xK_h), prevWS)
+ , ((altMask, xK_l), nextWS)
+
+ -- move to prev/next workspaces
+ , ((altMask .|. shiftMask, xK_h), shiftToPrev >> prevWS)
+ , ((altMask .|. shiftMask, xK_l), shiftToNext >> nextWS)
+
+ -- modify gaps on runtime
+ , ((myModMask, xK_equal), incWindowSpacing 1)
+ , ((myModMask, xK_minus), decWindowSpacing 1)
+ , ((myModMask .|. shiftMask, xK_equal), incScreenSpacing 1)
+ , ((myModMask .|. shiftMask, xK_minus), decScreenSpacing 1)
+
+ -- Swap the focused window and the master window
+ , ((mod1Mask .|. shiftMask, xK_Return), windows W.swapMaster)
+
+ -- these keybindings are for WindowNavigation
+ -- and they conflict with BSP layout
+ -- directional navigation of windows
+ , ((myModMask, xK_l), sendMessage $ Go R)
+ , ((myModMask, xK_h), sendMessage $ Go L)
+ , ((myModMask, xK_k), sendMessage $ Go U)
+ , ((myModMask, xK_j), sendMessage $ Go D)
+
+ -- swap windows
+ , ((myModMask .|. shiftMask, xK_l), sendMessage $ WN.Swap R)
+ , ((myModMask .|. shiftMask, xK_h), sendMessage $ WN.Swap L)
+ , ((myModMask .|. shiftMask, xK_k), sendMessage $ WN.Swap U)
+ , ((myModMask .|. shiftMask, xK_j), sendMessage $ WN.Swap D)
+
+ -- cycle through windows
+ , ((altMask, xK_j), windows W.focusDown)
+ , ((altMask, xK_k), windows W.focusUp)
+
+ -- grid select
+ , ((myModMask, xK_g), goToSelected defaultGSConfig)
+
+ -- kinda bad horizontal resizing of windows in non-bsp layouts
+ , ((myModMask, xK_Right), sendMessage Expand)
+ , ((myModMask, xK_Left), sendMessage Shrink)
+
+
+ -- windowbringer
+ , ((myModMask, xK_b), bringMenu)
+-- , ((myModMask, xK_g), gotoMenu)
+
+ -- paste x selection
+ , ((altMask, xK_v), pasteSelection)
+
+ -- toggle bars
+ , ((myModMask, xK_backslash), sendMessage ToggleStruts) -- toggle both bars
+ , ((myModMask, xK_bracketleft), sendMessage $ ToggleStrut D) -- toggle bottom bar
+ , ((myModMask, xK_bracketright), sendMessage $ ToggleStrut U) -- toggle top bar
+
+ -- BSP layout keybindings
+ -- resize
+ , ((myModMask .|. mod1Mask, xK_l ), sendMessage $ ExpandTowards R)
+ , ((myModMask .|. mod1Mask, xK_h ), sendMessage $ ExpandTowards L)
+ , ((myModMask .|. mod1Mask, xK_j ), sendMessage $ ExpandTowards D)
+ , ((myModMask .|. mod1Mask, xK_k ), sendMessage $ ExpandTowards U)
+ , ((myModMask .|. mod1Mask .|. shiftMask , xK_l ), sendMessage $ ShrinkFrom R)
+ , ((myModMask .|. mod1Mask .|. shiftMask , xK_h ), sendMessage $ ShrinkFrom L)
+ , ((myModMask .|. mod1Mask .|. shiftMask , xK_j ), sendMessage $ ShrinkFrom D)
+ , ((myModMask .|. mod1Mask .|. shiftMask , xK_k ), sendMessage $ ShrinkFrom U)
+ -- other
+ , ((myModMask, xK_d ), sendMessage Rotate)
+ , ((myModMask, xK_s ), sendMessage BSP.Swap)
+-- , ((myModMask .|. shiftMask .|. controlMask , xK_j ), sendMessage $ SplitShift Prev)
+-- , ((myModMask .|. shiftMask .|. controlMask , xK_k ), sendMessage $ SplitShift Next)
+ , ((myModMask, xK_f), withFocused (sendMessage . maximizeRestore))
+ ] ++ [ -- for extra workspace(s)
+ ((myModMask, key), (windows $ W.greedyView ws))
+ | (key,ws) <- myExtraWorkspaces
+ ] ++ [ -- also for extra workspaces
+ ((myModMask .|. shiftMask, key), (windows $ W.shift ws))
+ | (key,ws) <- myExtraWorkspaces
+ ] ++ [ -- to swap workspaces
+ ((mod1Mask .|. shiftMask, k), windows $ swapWithCurrent i)
+ | (i, k) <- zip myWorkspaces [xK_1 ..]
+ ] ++ [ -- copy
+ ((m .|. myModMask, k), windows $ f i)
+ | (i, k) <- zip (myWorkspaces) [xK_1 ..]
+ , (f, m) <- [(copy, shiftMask .|. altMask)]
+ ] ++ [ -- sticky-ing windows
+ ((myModMask, xK_v), windows copyToAll) -- make window visible on all screens
+ , ((myModMask .|. shiftMask, xK_v), killAllOtherCopies)
+ ]
+
+
+-- tabs config
+myTabTheme = def { fontName = "roboto"
+ , activeColor = "#46d9ff"
+ , inactiveColor = "#313846"
+ , activeBorderColor = "#46d9ff"
+ , inactiveBorderColor = "#282c34"
+ , activeTextColor = "#282c34"
+ , inactiveTextColor = "#d0d0d0"
+ }
+
+
+
+-- layouts
+myGap = spacingRaw True (Border sGap sGap sGap sGap) True (Border wGap wGap wGap wGap) True
+
+
+myLayoutHook = avoidStruts (
+ renamed [R.Replace "BSP"] (maximize $ smartBorders $ fullscreenFocus $ windowNavigation $ myGap $ emptyBSP)
+ ||| renamed [R.Replace "ThreeCol Mid (1)"] (maximize $ smartBorders $ fullscreenFocus $ windowNavigation $ myGap $ ThreeColMid 1 (3/100) (1/2))
+ ||| renamed [R.Replace "ThreeCol Mid (2)"] (maximize $ smartBorders $ fullscreenFocus $ windowNavigation $ myGap $ ThreeColMid 2 (3/100) (1/2))
+ ||| renamed [R.Replace "Grid"] (maximize $ smartBorders $ fullscreenFocus $ windowNavigation $ myGap $ Grid)
+ ||| renamed [R.Replace "TwoPane"] (maximize $ smartBorders $ fullscreenFocus $ windowNavigation $ myGap $ TwoPane (3/100) (1/2))
+ ||| renamed [R.Replace "ThreeCol (1)"] (maximize $ smartBorders $ fullscreenFocus $ windowNavigation $ myGap $ ThreeCol 1 (3/100) (1/2))
+ ||| renamed [R.Replace "ThreeCol (2)"] (maximize $ smartBorders $ fullscreenFocus $ windowNavigation $ myGap $ ThreeCol 2 (3/100) (1/2))
+ ||| tabbedRight shrinkText def
+ )
+
+-- myLemonbarPP :: D.Client -> PP
+-- myLemonbarPP dbus = def { ppOutput = dbusOutput dbus
+myLemonbarPP = def {
+ ppCurrent = wrap "%{B#d33682}%{F-}" "%{B-}"
+ , ppWsSep = ""
+ , ppHidden = wrap "%{F#02fc45}%{B#130F23}" "%{B-}%{f-}"
+ , ppHiddenNoWindows = wrap "%{F#268bd2}" "%{F-}"
+ , ppTitle = wrap " %{B#130F23}%{F#6c71c4} " " %{F-}%{B-}" . shorten 60
+ , ppUrgent = wrap "%{B#9cfc02} " " %{B-}%{F-}"
+ , ppLayout = wrap "%{B#130F23}%{F#cb31d6} " " %{F-}%{B-}"
+ , ppSep = " "
+ , ppOrder = \(ws:l:t:ex) -> [ws]++[l]++[t]++ex
+ }
+
+-- dbusOutput :: D.Client -> String -> IO ()
+-- dbusOutput dbus str = do
+-- let signal = (D.signal objectPath interfaceName memberName) {
+-- D.signalBody = [D.toVariant $ UTF8.decodeString str]
+-- }
+-- D.emit dbus signal
+-- where
+-- objectPath = D.objectPath_ "/org/xmonad/Log"
+-- interfaceName = D.interfaceName_ "org.xmonad.Log"
+-- memberName = D.memberName_ "Update"
+
+
+
+
+
+main :: IO ()
+main = do
+ notXMobar <- spawnPipe "lemonbar -p -b -g 800x21+0+0 -B '#171520' -F '#ffffff' -o -3 -f 'Source Han Sans JP:size=10' -o 0 -f 'RobotoMono Nerd Font:style=Regular:size=15'"
+ -- dbus <- D.connectSession
+ -- Request access to the DBus name
+ -- D.requestName dbus (D.busName_ "org.xmonad.Log")
+ -- [D.nameAllowReplacement, D.nameReplaceExisting, D.nameDoNotQueue]
+ xmonad $ docks def
+ {
+ terminal = myTerminal,
+ focusFollowsMouse = True,
+ borderWidth = myBorderWidth,
+ modMask = myModMask,
+ workspaces = myWorkspaces,
+ normalBorderColor = nBorder,
+ focusedBorderColor = fBorder,
+ -- mouseBindings = myMouseBindings,
+ layoutHook = myLayoutHook,
+ manageHook = namedScratchpadManageHook myScratchpads <+> fullscreenManageHook,
+ handleEventHook = fullscreenEventHook,
+ -- logHook = dynamicLogWithPP (myLemonbarPP dbus),
+ logHook = dynamicLogWithPP myLemonbarPP { ppOutput = \x -> hPutStrLn notXMobar x},
+ startupHook = myStartupHook
+} `additionalKeys` myKeys
diff --git a/.config/lemonblocks/config.txt b/.config/lemonblocks/config.txt
new file mode 100644
index 0000000..b2b407c
--- /dev/null
+++ b/.config/lemonblocks/config.txt
@@ -0,0 +1,5 @@
+0,5,NULL,/usr/bin/lbscripts/volume.sh,r,NULL,130F23,cc1168,NULL,NULL,NULL,NULL,NULL, ,
+5,4,NULL,/usr/bin/lbscripts/cpu_temp.sh,r,NULL,130F23,1045cc,NULL,NULL,NULL,NULL,NULL, ,
+5,3,NULL,/usr/bin/lbscripts/cpu_load.sh,r,NULL,130F23,7410cc,NULL,NULL,NULL,NULL,NULL, ,
+5,2,NULL,/usr/bin/lbscripts/mem_usage.sh,r,NULL,130F23,10cc8e,NULL,NULL,NULL,NULL,NULL, ,
+30,1,NULL,/usr/bin/lbscripts/date.sh,r,NULL,130F23,6C71C4,NULL,NULL,NULL,NULL,NULL, ,
diff --git a/.config/lemonblocks/modules/cpu_load.sh b/.config/lemonblocks/modules/cpu_load.sh
new file mode 100755
index 0000000..1a677a9
--- /dev/null
+++ b/.config/lemonblocks/modules/cpu_load.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+read cpu a b c previdle rest < /proc/stat
+prevtotal=$((a+b+c+previdle))
+sleep 0.5
+read cpu a b c idle rest < /proc/stat
+total=$((a+b+c+idle))
+cpu=$((100*( (total-prevtotal) - (idle-previdle) ) / (total-prevtotal) ))
+
+printf " CPU:%s%% " $cpu
diff --git a/.config/lemonblocks/modules/cpu_temp.sh b/.config/lemonblocks/modules/cpu_temp.sh
new file mode 100755
index 0000000..a5286ad
--- /dev/null
+++ b/.config/lemonblocks/modules/cpu_temp.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+CEL=$'\xc2\xb0C'
+temp=$( cat /sys/devices/virtual/thermal/thermal_zone0/temp )
+temp=`expr $temp / 1000`
+printf " TEMP:$temp$CEL "
diff --git a/.config/lemonblocks/modules/date.sh b/.config/lemonblocks/modules/date.sh
new file mode 100755
index 0000000..dcd0681
--- /dev/null
+++ b/.config/lemonblocks/modules/date.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+date=$(date +"%d %b(%A) %H:%M")
+printf " $date "
diff --git a/.config/lemonblocks/modules/mem_usage.sh b/.config/lemonblocks/modules/mem_usage.sh
new file mode 100755
index 0000000..6b939eb
--- /dev/null
+++ b/.config/lemonblocks/modules/mem_usage.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+mem=$(free -m | grep Mem: | awk '{print$3 / $2 * 100}')
+printf " MEM: %.0f%% " $mem
diff --git a/.config/lemonblocks/modules/volume.sh b/.config/lemonblocks/modules/volume.sh
new file mode 100755
index 0000000..e67c63f
--- /dev/null
+++ b/.config/lemonblocks/modules/volume.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+printf " VOL:$(pamixer --get-volume-human) " ""
+# if [ $volume_level == "muted" ]; then
+ # printf "%{F#ff0058}VOL: $(pamixer --get-volume)%{F-}"
+# else
+ # printf "VOL: $volume_level"
+# fi
+
diff --git a/.config/lemonblocks/start.sh b/.config/lemonblocks/start.sh
new file mode 100755
index 0000000..6faaeba
--- /dev/null
+++ b/.config/lemonblocks/start.sh
@@ -0,0 +1,41 @@
+#!/bin/bash
+
+CLICKABLE_AREAS=1
+PANEL_WIDTH=566
+PANEL_HEIGHT=21
+PANEL_HORIZONTAL_OFFSET=800
+PANEL_VERTICAL_OFFSET=0
+PANEL_FONT="Source Han Sans JP:size=10"
+PANEL_ICON_FONT="RobotoMono Nerd Font:style=Regular:size=15"
+COLOR_DEFAULT_FG="#FFFFFF"
+COLOR_DEFAULT_BG="#171520"
+UNDERLINE_HEIGHT=3
+PANEL_WM_NAME="lemon"
+
+# Kill potential instances of lemonblocks
+#killall "lemonbar"
+killall "lemonblocks"
+
+# Make sure the named pipe already exists
+mkfifo /tmp/lemonblockspipe
+
+# start xmonad status lemonbar
+# Start lemonbar
+cat "/tmp/lemonblockspipe" | lemonbar -b -a "$CLICKABLE_AREAS" \
+ -g "$PANEL_WIDTH"x"$PANEL_HEIGHT"+"$PANEL_HORIZONTAL_OFFSET"+"$PANEL_VERTICAL_OFFSET" \
+ -o -3 -f "$PANEL_FONT" -o 0 -f "$PANEL_ICON_FONT" -F "$COLOR_DEFAULT_FG" -B "$COLOR_DEFAULT_BG" \
+ -u "$UNDERLINE_HEIGHT" -n "$PANEL_WM_NAME" | bash &
+
+sleep 0.5
+
+# Make sure lemonbar is hidden below a fullscreen window
+## Bspwm
+# wid=$(xdo id -a "$PANEL_WM_NAME")
+# xdo above -t "$(xdo id -N Bspwm -n root | sort | head -n 1)" "$wid"
+
+if [ $# -eq 0 ]
+then
+ lemonblocks
+else
+ ./bin/lemonblocks
+fi
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
new file mode 100644
index 0000000..1beb3fa
--- /dev/null
+++ b/.config/nvim/init.vim
@@ -0,0 +1,55 @@
+call plug#begin('~/local/share/nvim/plugged')
+
+" Plug 'vim-airline/vim-airline'
+Plug 'itchyny/lightline.vim'
+Plug 'alvan/vim-closetag'
+Plug 'Yggdroot/indentLine'
+Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
+Plug 'neoclide/coc.nvim', {'branch': 'release'}
+" Plug 'dracula/vim', { 'as': 'dracula' }
+" Plug 'sts10/vim-pink-moon'
+
+call plug#end()
+
+" closetag config
+let g:closetag_filenames = '*.html,*.xhtml,*.phtml'
+let g:closetag_xhtml_filenames = '*.xhtml,*.jsx'
+let g:closetag_filetypes = 'html,xhtml,phtml'
+let g:closetag_xhtml_filetypes = 'xhtml,jsx'
+let g:closetag_emptyTags_caseSensitive = 1
+let g:closetag_regions = {
+ \ 'typescript.tsx': 'jsxRegion,tsxRegion',
+ \ 'javascript.jsx': 'jsxRegion',
+ \ }
+let g:closetag_shortcut = '>'
+let g:closetag_close_shortcut = '<leader>>'
+
+let g:indentLine_color_term = 239
+
+" coc config
+let g:coc_global_extentions = [
+ \ 'coc-snippets',
+ \ 'coc-pairs',
+ \ 'coc-eslint',
+ \ 'coc-prettier',
+ \ 'coc-go',
+ \ 'coc-json',
+ \ 'coc-tsserver',
+ \ 'coc-css',
+ \ 'coc-html',
+ \ ]
+
+" enabling the theme
+" colorscheme dracula
+
+" line numbers
+:set number
+:set nu
+
+" remove vim status because lightline replaces it
+set noshowmode
+
+" lightline config
+let g:lightline = {
+ \ 'colorscheme': 'wombat',
+ \ }
diff --git a/.config/picom.conf b/.config/picom.conf
new file mode 100644
index 0000000..8ab18b1
--- /dev/null
+++ b/.config/picom.conf
@@ -0,0 +1,429 @@
+#################################
+# Shadows #
+#################################
+
+
+# Enabled client-side shadows on windows. Note desktop windows
+# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
+# unless explicitly requested using the wintypes option.
+#
+# shadow = false
+shadow = true;
+
+# The blur radius for shadows, in pixels. (defaults to 12)
+# shadow-radius = 12
+shadow-radius = 7;
+
+# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
+# shadow-opacity = .75
+
+# The left offset for shadows, in pixels. (defaults to -15)
+# shadow-offset-x = -15
+shadow-offset-x = -7;
+
+# The top offset for shadows, in pixels. (defaults to -15)
+# shadow-offset-y = -15
+shadow-offset-y = -7;
+
+# Avoid drawing shadows on dock/panel windows. This option is deprecated,
+# you should use the *wintypes* option in your config file instead.
+#
+# no-dock-shadow = false
+
+# Don't draw shadows on drag-and-drop windows. This option is deprecated,
+# you should use the *wintypes* option in your config file instead.
+#
+# no-dnd-shadow = false
+
+# Red color value of shadow (0.0 - 1.0, defaults to 0).
+# shadow-red = 0
+
+# Green color value of shadow (0.0 - 1.0, defaults to 0).
+# shadow-green = 0
+
+# Blue color value of shadow (0.0 - 1.0, defaults to 0).
+# shadow-blue = 0
+
+# Do not paint shadows on shaped windows. Note shaped windows
+# here means windows setting its shape through X Shape extension.
+# Those using ARGB background is beyond our control.
+# Deprecated, use
+# shadow-exclude = 'bounding_shaped'
+# or
+# shadow-exclude = 'bounding_shaped && !rounded_corners'
+# instead.
+#
+# shadow-ignore-shaped = ''
+
+# Specify a list of conditions of windows that should have no shadow.
+#
+# examples:
+# shadow-exclude = "n:e:Notification";
+#
+# shadow-exclude = []
+shadow-exclude = [
+ "name = 'Notification'",
+ "class_g = 'Conky'",
+ "class_g ?= 'Notify-osd'",
+ "class_g = 'Cairo-clock'",
+ "class_g = 'lemonbar'",
+ "class_g = 'st-256color'",
+ "class_g = 'Pcmanfm'",
+ "_GTK_FRAME_EXTENTS@:c"
+];
+
+# Specify a X geometry that describes the region in which shadow should not
+# be painted in, such as a dock window region. Use
+# shadow-exclude-reg = "x10+0+0"
+# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
+#
+# shadow-exclude-reg = ""
+
+# Crop shadow of a window fully on a particular Xinerama screen to the screen.
+# xinerama-shadow-crop = false
+
+
+#################################
+# Fading #
+#################################
+
+
+# Fade windows in/out when opening/closing and when opacity changes,
+# unless no-fading-openclose is used.
+# fading = false
+fading = true
+
+# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
+# fade-in-step = 0.028
+fade-in-step = 0.03;
+
+# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
+# fade-out-step = 0.03
+fade-out-step = 0.03;
+
+# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
+# fade-delta = 10
+
+# Specify a list of conditions of windows that should not be faded.
+# fade-exclude = []
+
+# Do not fade on window open/close.
+# no-fading-openclose = false
+
+# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
+# no-fading-destroyed-argb = false
+
+
+#################################
+# Transparency / Opacity #
+#################################
+
+
+# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
+# inactive-opacity = 1
+inactive-opacity = 1;
+
+# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
+# frame-opacity = 1.0
+frame-opacity = 1;
+
+# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
+menu-opacity = 0.9;
+
+# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
+# inactive-opacity-override = true
+inactive-opacity-override = false;
+
+# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
+# active-opacity = 1.0
+
+# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
+# inactive-dim = 0.0
+
+# Specify a list of conditions of windows that should always be considered focused.
+# focus-exclude = []
+focus-exclude = [ "class_g = 'Cairo-clock'" ];
+
+# Use fixed inactive dim value, instead of adjusting according to window opacity.
+# inactive-dim-fixed = 1.0
+
+# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
+# like `50:name *= "Firefox"`. picom-trans is recommended over this.
+# Note we don't make any guarantee about possible conflicts with other
+# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
+# example:
+# opacity-rule = [ "80:class_g = 'URxvt'" ];
+#
+# opacity-rule = []
+
+
+#################################
+# Background-Blurring #
+#################################
+
+
+# Parameters for background blurring, see the *BLUR* section for more information.
+# blur-method =
+# blur-size = 12
+#
+# blur-deviation = false
+
+# Blur background of semi-transparent / ARGB windows.
+# Bad in performance, with driver-dependent behavior.
+# The name of the switch may change without prior notifications.
+#
+# blur-background = false
+
+# Blur background of windows when the window frame is not opaque.
+# Implies:
+# blur-background
+# Bad in performance, with driver-dependent behavior. The name may change.
+#
+# blur-background-frame = false
+
+
+# Use fixed blur strength rather than adjusting according to window opacity.
+# blur-background-fixed = false
+
+
+# Specify the blur convolution kernel, with the following format:
+# example:
+# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
+#
+# blur-kern = ''
+blur-kern = "3x3box";
+
+
+# Exclude conditions for background blur.
+# blur-background-exclude = []
+blur-background-exclude = [
+ "window_type = 'dock'",
+ "window_type = 'desktop'",
+ "_GTK_FRAME_EXTENTS@:c"
+];
+
+#################################
+# General Settings #
+#################################
+
+# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
+# daemon = false
+
+# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
+# `xrender` is the default one.
+#
+# backend = 'glx'
+backend = "xrender";
+
+# Enable/disable VSync.
+# vsync = false
+vsync = true
+
+# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
+# dbus = false
+
+# Try to detect WM windows (a non-override-redirect window with no
+# child that has 'WM_STATE') and mark them as active.
+#
+# mark-wmwin-focused = false
+mark-wmwin-focused = true;
+
+# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
+# mark-ovredir-focused = false
+mark-ovredir-focused = true;
+
+# Try to detect windows with rounded corners and don't consider them
+# shaped windows. The accuracy is not very high, unfortunately.
+#
+# detect-rounded-corners = false
+detect-rounded-corners = true;
+
+# Detect '_NET_WM_OPACITY' on client windows, useful for window managers
+# not passing '_NET_WM_OPACITY' of client windows to frame windows.
+#
+# detect-client-opacity = false
+detect-client-opacity = true;
+
+# Specify refresh rate of the screen. If not specified or 0, picom will
+# try detecting this with X RandR extension.
+#
+# refresh-rate = 60
+refresh-rate = 0
+
+# Limit picom to repaint at most once every 1 / 'refresh_rate' second to
+# boost performance. This should not be used with
+# vsync drm/opengl/opengl-oml
+# as they essentially does sw-opti's job already,
+# unless you wish to specify a lower refresh rate than the actual value.
+#
+# sw-opti =
+
+# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
+# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
+# provided that the WM supports it.
+#
+# use-ewmh-active-win = false
+
+# Unredirect all windows if a full-screen opaque window is detected,
+# to maximize performance for full-screen windows. Known to cause flickering
+# when redirecting/unredirecting windows.
+#
+# unredir-if-possible = false
+
+# Delay before unredirecting the window, in milliseconds. Defaults to 0.
+# unredir-if-possible-delay = 0
+
+# Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
+# unredir-if-possible-exclude = []
+
+# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
+# in the same group focused at the same time.
+#
+# detect-transient = false
+detect-transient = true
+
+# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
+# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if
+# detect-transient is enabled, too.
+#
+# detect-client-leader = false
+detect-client-leader = true
+
+# Resize damaged region by a specific number of pixels.
+# A positive value enlarges it while a negative one shrinks it.
+# If the value is positive, those additional pixels will not be actually painted
+# to screen, only used in blur calculation, and such. (Due to technical limitations,
+# with use-damage, those pixels will still be incorrectly painted to screen.)
+# Primarily used to fix the line corruption issues of blur,
+# in which case you should use the blur radius value here
+# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
+# with a 5x5 one you use `--resize-damage 2`, and so on).
+# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
+#
+# resize-damage = 1
+
+# Specify a list of conditions of windows that should be painted with inverted color.
+# Resource-hogging, and is not well tested.
+#
+# invert-color-include = []
+
+# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
+# Might cause incorrect opacity when rendering transparent content (but never
+# practically happened) and may not work with blur-background.
+# My tests show a 15% performance boost. Recommended.
+#
+# glx-no-stencil = false
+
+# GLX backend: Avoid rebinding pixmap on window damage.
+# Probably could improve performance on rapid window content changes,
+# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
+# Recommended if it works.
+#
+# glx-no-rebind-pixmap = false
+
+# Disable the use of damage information.
+# This cause the whole screen to be redrawn everytime, instead of the part of the screen
+# has actually changed. Potentially degrades the performance, but might fix some artifacts.
+# The opposing option is use-damage
+#
+# no-use-damage = false
+use-damage = true
+
+# Use X Sync fence to sync clients' draw calls, to make sure all draw
+# calls are finished before picom starts drawing. Needed on nvidia-drivers
+# with GLX backend for some users.
+#
+# xrender-sync-fence = false
+
+# GLX backend: Use specified GLSL fragment shader for rendering window contents.
+# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
+# in the source tree for examples.
+#
+# glx-fshader-win = ''
+
+# Force all windows to be painted with blending. Useful if you
+# have a glx-fshader-win that could turn opaque pixels transparent.
+#
+# force-win-blend = false
+
+# Do not use EWMH to detect fullscreen windows.
+# Reverts to checking if a window is fullscreen based only on its size and coordinates.
+#
+# no-ewmh-fullscreen = false
+
+# Dimming bright windows so their brightness doesn't exceed this set value.
+# Brightness of a window is estimated by averaging all pixels in the window,
+# so this could comes with a performance hit.
+# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
+#
+# max-brightness = 1.0
+
+# Make transparent windows clip other windows like non-transparent windows do,
+# instead of blending on top of them.
+#
+# transparent-clipping = false
+
+# Set the log level. Possible values are:
+# "trace", "debug", "info", "warn", "error"
+# in increasing level of importance. Case doesn't matter.
+# If using the "TRACE" log level, it's better to log into a file
+# using *--log-file*, since it can generate a huge stream of logs.
+#
+# log-level = "debug"
+log-level = "warn";
+
+# Set the log file.
+# If *--log-file* is never specified, logs will be written to stderr.
+# Otherwise, logs will to written to the given file, though some of the early
+# logs might still be written to the stderr.
+# When setting this option from the config file, it is recommended to use an absolute path.
+#
+# log-file = '/path/to/your/log/file'
+
+# Show all X errors (for debugging)
+# show-all-xerrors = false
+
+# Write process ID to a file.
+# write-pid-path = '/path/to/your/log/file'
+
+# Window type settings
+#
+# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
+# "unknown", "desktop", "dock", "toolbar", "menu", "utility",
+# "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
+# "tooltip", "notification", "combo", and "dnd".
+#
+# Following per window-type options are available: ::
+#
+# fade, shadow:::
+# Controls window-type-specific shadow and fade settings.
+#
+# opacity:::
+# Controls default opacity of the window type.
+#
+# focus:::
+# Controls whether the window of this type is to be always considered focused.
+# (By default, all window types except "normal" and "dialog" has this on.)
+#
+# full-shadow:::
+# Controls whether shadow is drawn under the parts of the window that you
+# normally won't be able to see. Useful when the window has parts of it
+# transparent, and you want shadows in those areas.
+#
+# redir-ignore:::
+# Controls whether this type of windows should cause screen to become
+# redirected again after been unredirected. If you have unredir-if-possible
+# set, and doesn't want certain window to cause unnecessary screen redirection,
+# you can set this to `true`.
+#
+wintypes:
+{
+ tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
+ dock = { shadow = false; }
+ dnd = { shadow = false; }
+ popup_menu = { opacity = 0.8; }
+ dropdown_menu = { opacity = 0.8; }
+};
+
+opacity-rule = [
+];
diff --git a/.config/starship.toml b/.config/starship.toml
new file mode 100644
index 0000000..4ccb0bc
--- /dev/null
+++ b/.config/starship.toml
@@ -0,0 +1,41 @@
+# Don't print a new line at the start of the prompt
+add_newline = false
+disable_line_break = true
+format = "$all"
+
+
+
+[character]
+success_symbol = "[](blue)"
+error_symbol = "[](red)"
+vicmd_symbol = "[](green)"
+
+
+[battery]
+disabled = true
+
+[line_break]
+disabled = true
+
+[cmd_duration]
+disabled = false
+min_time = 5000
+format = "[took](yellow) [$duration](bold #FF0074) "
+# show_notifications = true
+# min_time_to_notify = 180000
+
+# disabling modules for
+# programming languages
+
+[golang]
+disabled = true
+
+[python]
+disabled = true
+
+[java]
+disabled = true
+
+[lua]
+disabled = true
+
diff --git a/.config/startpage/background.jpg b/.config/startpage/background.jpg
new file mode 100644
index 0000000..3e8476f
--- /dev/null
+++ b/.config/startpage/background.jpg
Binary files differ
diff --git a/.config/startpage/index.html b/.config/startpage/index.html
new file mode 100644
index 0000000..18b2dd2
--- /dev/null
+++ b/.config/startpage/index.html
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>Welcome, Vidhu Kant!</title>
+</head>
+<body>
+ <style>
+ body {
+ margin: 7px;
+ background-color: #111111;
+ background-image: url('main/background.jpg');
+ background-repeat: no-repeat;
+ background-size: cover;
+ }
+
+ .nav-container {
+ margin: -7px;
+ background-color: #3333330d;
+ overflow: hidden;
+ position: fixed;
+ bottom: 6px;
+ width: 100%;
+ padding: 13px 0px 22px 0px;
+ }
+
+ .nav {
+ max-width: 96%;
+ margin: 3%;
+ padding: 12px 12px 12px 12px;
+ background-color: #FCFCFCdd;
+ border: 2px solid #232627;
+ border-radius: 90px 90px 90px 90px;
+ }
+
+ .nav a {
+ color: #FFFFFF;
+ background-color: #5b76b7;
+ text-decoration: none;
+ padding: 8px 18px;
+ border-radius: 20px;
+ margin-right: 3px;
+ margin-left: 3px;
+ }
+
+ </style>
+ <div class="clock">
+ {{ .time }}
+ </div>
+ <div class="nav-container">
+ <span class="nav">
+ <a href="https://myanimelist.net">MyAnimeList</a>
+ <a href="https://old.reddit.com">Reddit</a>
+ <a href="https://myanimelist.net/profile/MikunoNaka">MAL Profile</a>
+ <a href="https://twitter.com">Twitter</a>
+ <a href="https://youtube.com">YouTube</a>
+ <a href="https://amazon.in">Amazon</a>
+ <a href="https://mega.nz">Mega</a>
+ <a href="https://nyaa.si">Nyaa</a>
+ <a href="https://www.youtube.com/playlist?list=PL8lRJQHQWdduy2V0DQQ4Lm0P572XJFVB9">Music</a>
+ <a href="https://www.youtube.com/playlist?list=PL8lRJQHQWddu55nsz8CezmJJ-GRVISZ1E">音楽</a>
+ <a href="http://localhost:8080">localhost</a>
+ <a href="https://colorpicker.me/#5B76B7">color picker</a>
+ </span>
+ </div>
+</body>
+</html>
diff --git a/.config/startpage/server.go b/.config/startpage/server.go
new file mode 100644
index 0000000..b2eef0c
--- /dev/null
+++ b/.config/startpage/server.go
@@ -0,0 +1,22 @@
+package main
+
+import (
+ "github.com/gin-gonic/gin"
+ "net/http"
+ "time"
+)
+
+func main() {
+ router := gin.New()
+ router.LoadHTMLGlob("/home/zt/.config/startpage/index.html")
+ router.Static("main", "/home/zt/.config/startpage/")
+
+ router.GET("/", func (c *gin.Context) {
+ time := time.Now().Format("15:04 02 Jan (Monday)")
+ c.HTML(http.StatusOK, "index.html", gin.H{
+ "time": time,
+ })
+ })
+
+ router.Run(":8081")
+}
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
new file mode 100644
index 0000000..b6090fc
--- /dev/null
+++ b/.config/zsh/.zshrc
@@ -0,0 +1,62 @@
+HISTFILE=~/.histfile
+HISTSIZE=1000
+SAVEHIST=1000
+setopt autocd beep notify
+bindkey -v
+# autoload -U colors && colors
+# source /home/zt/.local/zsh-autocomplete/zsh-autocomplete.plugin.zsh
+
+# paths
+# export PATH=/:$PATH
+export PATH=/zt/Docs/Go:$PATH
+export PATH=/home/zt/.config/scripts:$PATH
+export PATH=/zt/Programs:$PATH
+export PATH=/home/zt/.local/bin:$PATH
+export PATH=/zt/Docs/GoMinder:$PATH
+export PATH=/usr/local/bin:$PATH
+export PATH=/home/zt/.emacs.d/bin:$PATH
+
+export GOPATH="/zt/Docs/Go/"
+
+# aliases
+# directories
+alias waifu='cd /zt/waifu'
+alias docs='cd /zt/Docs'
+alias zt='/zt/'
+alias progs='/zt/Programs/'
+alias scripts='~/.config/scripts/'
+alias goproj='/zt/Docs/Go/src/github.com/MikunoNaka'
+alias wd='/zt/Docs/web'
+
+# programs
+alias pf='clear && pfetch'
+alias rm='rm -i'
+alias ls='exa -l'
+alias la='exa -a'
+alias lsa='exa -al'
+alias nf='neofetch'
+alias adbc='adb connect 10.0.0.51:5555'
+alias x='chmod +x'
+
+# git
+alias gs='git status'
+alias ga='git add'
+alias gA='git add -A'
+alias gc='git commit'
+alias gcm='git commit -m'
+alias gi='nvim .gitignore'
+alias gp='git push'
+alias gcl='git clone'
+
+# git bare
+alias dots='git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
+
+# ssh
+alias ssh-k='eval $(ssh-agent)&& ssh-add /home/zt/.ssh/kalawati_git_key'
+alias ssh-v='eval $(ssh-agent)&& ssh-add /home/zt/.ssh/vidhukant'
+
+neofetch
+exa
+eval "$(starship init zsh)"
+# syntax highlighting, needs to be at the end
+source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh