mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 05:42:22 +00:00
asdf
This commit is contained in:
parent
3d5b9ecb19
commit
af915821ad
21 changed files with 75 additions and 16 deletions
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"optOut": false,
|
"optOut": false,
|
||||||
"lastUpdateCheck": 1585653300086
|
"lastUpdateCheck": 1585754405547
|
||||||
}
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
#include ./theme.conf
|
#include ./theme.conf
|
||||||
include ./onedark.conf
|
include ./onedark.conf
|
||||||
|
|
||||||
|
#shell tmux
|
||||||
background_opacity 0.95
|
background_opacity 0.95
|
||||||
|
|
||||||
#font_family VictorMono Nerd Font Semibold
|
#font_family VictorMono Nerd Font Semibold
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
https://github.com/vizs/declutter-home GitHub - vizs/declutter-home: declutter your home directory!
|
https://github.com/vizs/declutter-home GitHub - vizs/declutter-home: declutter your home directory!
|
||||||
https://unix.stackexchange.com/questions/125647/get-tmux-scroll-buffer-contents Get TMux scroll buffer contents - Unix & Linux Stack Exchange
|
https://unix.stackexchange.com/questions/125647/get-tmux-scroll-buffer-contents Get TMux scroll buffer contents - Unix & Linux Stack Exchange
|
||||||
https://github.com/Yucklys/polybar-nord-theme GitHub - Yucklys/polybar-nord-theme: A polybar configuration based on Nord colorscheme with support for multiple modules.
|
https://github.com/Yucklys/polybar-nord-theme GitHub - Yucklys/polybar-nord-theme: A polybar configuration based on Nord colorscheme with support for multiple modules.
|
||||||
|
https://github.com/manilarome/the-glorious-dotfiles manilarome/the-glorious-dotfiles: A glorified dot files
|
||||||
|
https://github.com/srid/neuron/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22 Issues · srid/neuron
|
||||||
|
https://olkb.com/ OLKB
|
||||||
|
|
|
@ -3,3 +3,4 @@ jira https://jira-student.it.hs-heilbronn.de/secure/RapidBoard.jspa?rapidView=32
|
||||||
confluence https://confluence-student.it.hs-heilbronn.de/display/AIB/AIB_LabSWP_2020_SS_StudEZ+Home
|
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
|
bitbucket https://bitbucket-student.it.hs-heilbronn.de/projects/LABAIB
|
||||||
ilias https://ilias.hs-heilbronn.de/ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToSelectedItems
|
ilias https://ilias.hs-heilbronn.de/ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToSelectedItems
|
||||||
|
git-xware https://git.xware-gmbh.de/xware
|
||||||
|
|
Binary file not shown.
|
@ -17,6 +17,9 @@ import qualified Data.Map as M
|
||||||
import qualified Data.Monoid
|
import qualified Data.Monoid
|
||||||
import qualified System.IO as SysIO
|
import qualified System.IO as SysIO
|
||||||
|
|
||||||
|
import XMonad.Layout.HintedGrid
|
||||||
|
import XMonad.Layout.TwoPanePersistent
|
||||||
|
|
||||||
import XMonad hiding ((|||))
|
import XMonad hiding ((|||))
|
||||||
import XMonad.Actions.Commands
|
import XMonad.Actions.Commands
|
||||||
import XMonad.Actions.CopyWindow
|
import XMonad.Actions.CopyWindow
|
||||||
|
@ -113,7 +116,7 @@ myLayout = avoidStruts . BoringWindows.boringWindows . smartBorders . toggleLayo
|
||||||
||| (rename "Tall" $ onlyGaps $ mouseResizableTile {draggerType = dragger}) -- ResizableTall 1 (3/100) (1/2) []
|
||| (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) []
|
||| (rename "Horizon" $ onlyGaps $ mouseResizableTileMirrored {draggerType = dragger}) -- Mirror $ ResizableTall 1 (3/100) (3/4) []
|
||||||
||| (rename "Row" $ spacingAndGaps $ zoomRow)
|
||| (rename "Row" $ spacingAndGaps $ zoomRow)
|
||||||
||| (rename "spiral" $ spacingAndGaps $ spiral (6/7)))
|
||| (rename "grid" $ spacingAndGaps $ Grid False))
|
||||||
-- ||| (rename "threeCol" $ spacingAndGaps $ ThreeColMid 1 (3/100) (1/2))
|
-- ||| (rename "threeCol" $ spacingAndGaps $ ThreeColMid 1 (3/100) (1/2))
|
||||||
-- ||| (rename "spiral" $ spacingAndGaps $ spiral (9/21))
|
-- ||| (rename "spiral" $ spacingAndGaps $ spiral (9/21))
|
||||||
-- Grid
|
-- Grid
|
||||||
|
@ -126,7 +129,7 @@ myLayout = avoidStruts . BoringWindows.boringWindows . smartBorders . toggleLayo
|
||||||
in FixedDragger x x
|
in FixedDragger x x
|
||||||
spacingAndGaps = let intGap = fromIntegral gap
|
spacingAndGaps = let intGap = fromIntegral gap
|
||||||
spacingBorder = Border intGap intGap intGap intGap
|
spacingBorder = Border intGap intGap intGap intGap
|
||||||
in onlyGaps . spacingRaw True spacingBorder False spacingBorder True
|
in spacingRaw True spacingBorder False spacingBorder True
|
||||||
|
|
||||||
|
|
||||||
-- }}}
|
-- }}}
|
||||||
|
@ -145,6 +148,7 @@ myStartupHook = do
|
||||||
spawnOnce "picom --config ~/.config/picom.conf --no-fading-openclose"
|
spawnOnce "picom --config ~/.config/picom.conf --no-fading-openclose"
|
||||||
spawnOnce "pasystray"
|
spawnOnce "pasystray"
|
||||||
spawnOnce "nm-applet"
|
spawnOnce "nm-applet"
|
||||||
|
spawnOnce "clipmenud"
|
||||||
spawn "xset r rate 300 30" -- make key repeat quicker
|
spawn "xset r rate 300 30" -- make key repeat quicker
|
||||||
spawn "/home/leon/.config/polybar/launch.sh"
|
spawn "/home/leon/.config/polybar/launch.sh"
|
||||||
setWMName "LG3D" -- Java stuff hack
|
setWMName "LG3D" -- Java stuff hack
|
||||||
|
@ -242,6 +246,9 @@ myKeys = [ ("M-+", sendMessage zoomIn)
|
||||||
specialCommands :: [(String, X ())]
|
specialCommands :: [(String, X ())]
|
||||||
specialCommands =
|
specialCommands =
|
||||||
[ ("screenshot", spawn $ scriptFile "screenshot.sh")
|
[ ("screenshot", spawn $ scriptFile "screenshot.sh")
|
||||||
|
, ("screenshot to file", spawn $ scriptFile "screenshot.sh --tofile")
|
||||||
|
, ("screenshot full to file", spawn $ scriptFile "screenshot.sh --tofile --fullscreen")
|
||||||
|
, ("clipboard history", spawn $ "clipmenu")
|
||||||
, ("toggleOptimal", sendMessage ToggleGaps >> toggleWindowSpacingEnabled)
|
, ("toggleOptimal", sendMessage ToggleGaps >> toggleWindowSpacingEnabled)
|
||||||
, ("toggleSpacing", toggleWindowSpacingEnabled)
|
, ("toggleSpacing", toggleWindowSpacingEnabled)
|
||||||
, ("toggleGaps", sendMessage ToggleGaps)
|
, ("toggleGaps", sendMessage ToggleGaps)
|
||||||
|
|
Binary file not shown.
|
@ -1,9 +0,0 @@
|
||||||
ilias google-chrome-stable ilias.hs-heilbronn.de
|
|
||||||
splan google-chrome-stable "https://splan.hs-heilbronn.de/splan/?acc=false&og=725&pg=AIB4"
|
|
||||||
youtube google-chrome-stable youtube.de
|
|
||||||
jira google-chrome-stable jira-student.it.hs-heilbronn.de/secure/RapidBoard.jspa?projectKey=RUNDUM
|
|
||||||
confluence google-chrome-stable https://confluence-student.it.hs-heilbronn.de/display/AIB/AIB_LabSWP_2020_SS_Rundum_Studium+Home
|
|
||||||
bitbucket google-chrome-stable https://bitbucket-student.it.hs-heilbronn.de/projects/LABAIB
|
|
||||||
mosh-fin xfce4-terminal --command "mosh --ssh='ssh -p 8888' -p 60000 docker@srv-fin.xware-gmbh.de"
|
|
||||||
ssh-fin xfce4-terminal --command "ssh -p 8888 docker@srv-fin.xware-gmbh.de"
|
|
||||||
ssh-swlab xfce4-terminal --command "ssh -l docker rundum-studium.it-stud.hs-heilbronn.de"
|
|
1
files/scripts/bookmarks/other
Executable file
1
files/scripts/bookmarks/other
Executable file
|
@ -0,0 +1 @@
|
||||||
|
git-project /home/leon/scripts/rofi-scripts/open-git-project.sh
|
3
files/scripts/bookmarks/ssh
Normal file
3
files/scripts/bookmarks/ssh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
mosh-fin xfce4-terminal --command "mosh --ssh='ssh -p 8888' -p 60000 docker@srv-fin.xware-gmbh.de"
|
||||||
|
ssh-fin xfce4-terminal --command "ssh -p 8888 docker@srv-fin.xware-gmbh.de"
|
||||||
|
ssh-swlab xfce4-terminal --command "ssh -l docker rundum-studium.it-stud.hs-heilbronn.de"
|
6
files/scripts/bookmarks/websites
Normal file
6
files/scripts/bookmarks/websites
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
ilias qutebrowser ilias.hs-heilbronn.de
|
||||||
|
splan qutebrowser "https://splan.hs-heilbronn.de/splan/?acc=false&og=725&pg=AIB4"
|
||||||
|
youtube qutebrowser youtube.de
|
||||||
|
jira qutebrowser jira-student.it.hs-heilbronn.de/secure/RapidBoard.jspa?projectKey=RUNDUM
|
||||||
|
confluence qutebrowser https://confluence-student.it.hs-heilbronn.de/display/AIB/AIB_LabSWP_2020_SS_Rundum_Studium+Home
|
||||||
|
bitbucket qutebrowser https://bitbucket-student.it.hs-heilbronn.de/projects/LABAIB
|
|
@ -1,6 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
selection=$( cat ~/scripts/bookmarks | sed -r 's/^([^ ]*) .*$/\1/' | rofi -p open -theme /home/leon/scripts/rofi-scripts/default_theme.rasi -dmenu -no-custom )
|
|
||||||
|
|
||||||
|
groups=$(ls "$HOME/scripts/bookmarks")
|
||||||
|
group_selection=$(echo -e "$groups" | rofi -i -p open -dmenu -no-custom -theme /home/leon/scripts/rofi-scripts/default_theme.rasi )
|
||||||
|
|
||||||
|
selection=$( cat "$HOME/scripts/bookmarks/$group_selection" | sed -r 's/^([^ ]*) .*$/\1/' | rofi -p open -dmenu -i -no-custom -theme /home/leon/scripts/rofi-scripts/default_theme.rasi )
|
||||||
[ -z "$selection" ] && exit 1
|
[ -z "$selection" ] && exit 1
|
||||||
|
|
||||||
cat ~/scripts/bookmarks | sed -n -r "s/^$selection (.*)$/\1/p" | bash
|
cat "$HOME/scripts/bookmarks/$group_selection" | sed -n -r "s/^$selection (.*)$/\1/p" | bash
|
||||||
|
|
0
files/scripts/rofi-scripts/colors.rasi
Normal file → Executable file
0
files/scripts/rofi-scripts/colors.rasi
Normal file → Executable file
0
files/scripts/rofi-scripts/default_theme.rasi
Normal file → Executable file
0
files/scripts/rofi-scripts/default_theme.rasi
Normal file → Executable file
0
files/scripts/rofi-scripts/launcher_grid_full_style.rasi
Normal file → Executable file
0
files/scripts/rofi-scripts/launcher_grid_full_style.rasi
Normal file → Executable file
0
files/scripts/rofi-scripts/launcher_grid_style.rasi
Normal file → Executable file
0
files/scripts/rofi-scripts/launcher_grid_style.rasi
Normal file → Executable file
0
files/scripts/rofi-scripts/links.md
Normal file → Executable file
0
files/scripts/rofi-scripts/links.md
Normal file → Executable file
0
files/scripts/rofi-scripts/menu_powermenu.sh
Normal file → Executable file
0
files/scripts/rofi-scripts/menu_powermenu.sh
Normal file → Executable file
19
files/scripts/rofi-scripts/open-git-project.sh
Executable file
19
files/scripts/rofi-scripts/open-git-project.sh
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/bash
|
||||||
|
token="i3_yxQr4ypsKkcht4AnS" data=$(curl "https://git.xware-gmbh.de/api/graphql" -H "Authorization: Bearer $token" -H "Content-Type: application/json" --request POST -s --data @- << GQL
|
||||||
|
{ "query": "
|
||||||
|
query {
|
||||||
|
xware: namespace(fullPath: \"xware\") {
|
||||||
|
projects { nodes { name, httpUrlToRepo } }
|
||||||
|
}
|
||||||
|
leon: namespace(fullPath: \"leon\") {
|
||||||
|
projects { nodes { name, httpUrlToRepo } }
|
||||||
|
}
|
||||||
|
}"
|
||||||
|
}
|
||||||
|
GQL
|
||||||
|
)
|
||||||
|
|
||||||
|
a=$(echo "$data" | jq -r '.data.xware.projects.nodes + .data.leon.projects.nodes | map(.name + "::::" + .httpUrlToRepo)[]')
|
||||||
|
selection=$(echo "$a" | sed -r 's/^(.*)::::.*$/\1/g' | rofi -dmenu -i -theme "$HOME/scripts/rofi-scripts/default_theme.rasi")
|
||||||
|
[ ! "$selection" = "" ] && echo "$a" | sed -r -n "s/^$selection::::(.*)$/\1/pg" | xargs qutebrowser
|
||||||
|
|
0
files/scripts/rofi-scripts/powermenu.rasi
Normal file → Executable file
0
files/scripts/rofi-scripts/powermenu.rasi
Normal file → Executable file
|
@ -1,2 +1,24 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
maim -s --format png /dev/stdout | xclip -selection clipboard -t image/png -i
|
|
||||||
|
|
||||||
|
to_file=0
|
||||||
|
fullscreen=0
|
||||||
|
for arg in "$@"; do
|
||||||
|
case $arg in
|
||||||
|
--tofile) to_file=1;;
|
||||||
|
--fullscreen) fullscreen=1;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
select_flag="-s"
|
||||||
|
[ $fullscreen -eq 1 ] && select_flag=""
|
||||||
|
|
||||||
|
|
||||||
|
if [ $to_file -eq 1 ]; then
|
||||||
|
file="$HOME/Bilder/screenshots/screenshot_$(date +%s).png"
|
||||||
|
echo "$file"
|
||||||
|
maim $select_flag --format png "$file"
|
||||||
|
echo "$file" | xclip -selection clipboard
|
||||||
|
else
|
||||||
|
maim "$select_flag" --format png /dev/stdout | xclip -selection clipboard -t image/png -i
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue