added nix and probably did more I dont remember

This commit is contained in:
Zastian Pretorius
2022-06-18 16:49:38 +01:00
parent 106a426042
commit 42ecf6e4f5
12 changed files with 486 additions and 23 deletions

View File

@@ -93,8 +93,8 @@ key = "q"
[[keybind]]
command = "Execute"
value = "betterlockscreen"
modifier = ["modkey", "Control"]
value = "betterlockscreen -l"
modifier = ["Mod4"]
key = "l"
[[keybind]]

View File

@@ -0,0 +1,261 @@
modkey = "Mod1"
mousekey = "Mod1"
workspaces = []
tags = ["一", "二", "三", "四", "五", "六", "七", "八", "九"]
layouts = ["MainAndVertStack", "MainAndHorizontalStack", "MainAndDeck", "GridHorizontal", "EvenHorizontal", "EvenVertical", "Fibonacci", "CenterMain", "CenterMainBalanced", "Monocle", "RightWiderLeftStack", "LeftWiderRightStack"]
layout_mode = "Workspace"
scratchpad = []
disable_current_tag_swap = false
focus_behaviour = "Sloppy"
focus_new_windows = true
[[keybind]]
command = "Execute"
value = "rofi -no-lazy-greb -show drun -icon-theme 'Papirus' -show-icons"
modifier = ["modkey"]
key = "d"
[[keybind]]
command = "Execute"
value = "qutebrowser"
modifier = ["modkey"]
key = "b"
[[keybind]]
command = "Execute"
value = "pcmanfm"
modifier = ["modkey"]
key = "f"
[[keybind]]
command = "Execute"
value = "pamixer --allow-boost -i 5"
modifier = []
key = "XF86AudioRaiseVolume"
[[keybind]]
command = "Execute"
value = "pamixer --allow-boost -d 5"
modifier = []
key = "XF86AudioLowerVolume"
[[keybind]]
command = "Execute"
value = "pamixer -t"
modifier = []
key = "XF86AudioMute"
[[keybind]]
command = "Execute"
value = "playerctl play-pause"
modifier = []
key = "XF86AudioPlay"
[[keybind]]
command = "Execute"
value = "playerctl previous"
modifier = []
key = "XF86AudioPrev"
[[keybind]]
command = "Execute"
value = "playerctl next"
modifier = []
key = "XF86AudioNext"
[[keybind]]
command = "Execute"
value = "flameshot gui"
modifier = []
key = "Print"
[[keybind]]
command = "Execute"
value = "kitty"
modifier = ["modkey"]
key = "Return"
[[keybind]]
command = "CloseWindow"
modifier = ["modkey"]
key = "q"
[[keybind]]
command = "SoftReload"
modifier = ["modkey", "Shift"]
key = "r"
[[keybind]]
command = "Execute"
value = "loginctl kill-session $XDG_SESSION_ID"
modifier = ["modkey", "Shift"]
key = "q"
[[keybind]]
command = "Execute"
value = "betterlockscreen -l"
modifier = ["Mod4"]
key = "l"
[[keybind]]
command = "ToggleFullScreen"
modifier = ["modkey"]
key = "t"
[[keybind]]
command = "SwapTags"
modifier = ["modkey"]
key = "w"
[[keybind]]
command = "MoveWindowUp"
modifier = ["modkey", "Shift"]
key = "k"
[[keybind]]
command = "MoveWindowDown"
modifier = ["modkey", "Shift"]
key = "j"
[[keybind]]
command = "FocusWindowUp"
modifier = ["modkey"]
key = "k"
[[keybind]]
command = "FocusWindowDown"
modifier = ["modkey"]
key = "j"
[[keybind]]
command = "NextLayout"
modifier = ["modkey", "Control"]
key = "k"
[[keybind]]
command = "PreviousLayout"
modifier = ["modkey", "Control"]
key = "j"
[[keybind]]
command = "FocusWorkspaceNext"
modifier = ["modkey"]
key = "l"
[[keybind]]
command = "FocusWorkspacePrevious"
modifier = ["modkey"]
key = "h"
[[keybind]]
command = "MoveWindowUp"
modifier = ["modkey", "Shift"]
key = "Up"
[[keybind]]
command = "GotoTag"
value = "1"
modifier = ["modkey"]
key = "1"
[[keybind]]
command = "GotoTag"
value = "2"
modifier = ["modkey"]
key = "2"
[[keybind]]
command = "GotoTag"
value = "3"
modifier = ["modkey"]
key = "3"
[[keybind]]
command = "GotoTag"
value = "4"
modifier = ["modkey"]
key = "4"
[[keybind]]
command = "GotoTag"
value = "5"
modifier = ["modkey"]
key = "5"
[[keybind]]
command = "GotoTag"
value = "6"
modifier = ["modkey"]
key = "6"
[[keybind]]
command = "GotoTag"
value = "7"
modifier = ["modkey"]
key = "7"
[[keybind]]
command = "GotoTag"
value = "8"
modifier = ["modkey"]
key = "8"
[[keybind]]
command = "GotoTag"
value = "9"
modifier = ["modkey"]
key = "9"
[[keybind]]
command = "MoveToTag"
value = "1"
modifier = ["modkey", "Shift"]
key = "1"
[[keybind]]
command = "MoveToTag"
value = "2"
modifier = ["modkey", "Shift"]
key = "2"
[[keybind]]
command = "MoveToTag"
value = "3"
modifier = ["modkey", "Shift"]
key = "3"
[[keybind]]
command = "MoveToTag"
value = "4"
modifier = ["modkey", "Shift"]
key = "4"
[[keybind]]
command = "MoveToTag"
value = "5"
modifier = ["modkey", "Shift"]
key = "5"
[[keybind]]
command = "MoveToTag"
value = "6"
modifier = ["modkey", "Shift"]
key = "6"
[[keybind]]
command = "MoveToTag"
value = "7"
modifier = ["modkey", "Shift"]
key = "7"
[[keybind]]
command = "MoveToTag"
value = "8"
modifier = ["modkey", "Shift"]
key = "8"
[[keybind]]
command = "MoveToTag"
value = "9"
modifier = ["modkey", "Shift"]
key = "9"

View File

@@ -1 +1 @@
/home/mrfluffy/.config/leftwm/themes/dracula_polybar
dracula_polybar

View File

@@ -20,7 +20,7 @@
background = #282a36
foreground = #f8f8f2
background-alt = #99444444
foreground-alt = #2a2a2a
foreground-alt = #f8f8f2
primary = #6e5991
secondary = #363949
alert = #bd2c40
@@ -77,10 +77,10 @@ padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = misc fixed:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = wuncon siji:pixelsize=10;1
modules-center =
font-0 = Ubuntu:pixelsize=10;1
font-1 = Source Han Sans JP:pixelsize=10;1
font-2 = siji:pixelsize=10;1
modules-center =
modules-right = filesystem pulseaudio xkeyboard memory cpu wlan eth battery date powermenu
tray-position = right
tray-padding = 2
@@ -268,7 +268,7 @@ ramp-signal-foreground = ${colors.foreground-alt}
[module/eth]
type = internal/network
interface = enp0s25
interface = enp3s0
interval = 3.0
format-connected-underline = #55aa55
@@ -411,9 +411,9 @@ expand-right = true
format-spacing = 1
label-open = 
label-open-foreground = ${colors.secondary}
label-open-foreground = ${colors.foreground}
label-close =  cancel
label-close-foreground = ${colors.secondary}
label-close-foreground = ${colors.forground}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}

View File

@@ -20,14 +20,10 @@ fi
#set the theme.toml config
leftwm-command "LoadTheme $SCRIPTPATH/theme.toml"
#set background
if [ -x "$(command -v feh)" ]; then
feh --bg-scale $SCRIPTPATH/background.jpg
fi
index=0
monitors="$(polybar -m | sed s/:.*//)"
monitors="$(polybar -m | sed s/:.*// | tac)"
leftwm-state -q -n -t $SCRIPTPATH/sizes.liquid | sed -r '/^\s*$/d' | while read -r width x y
do
let indextemp=index+1

View File

@@ -1,7 +1,10 @@
#!/usr/bin/env bash
xrandr --output eDP --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-A-0 --primary --mode 1920x1080 --pos 1920x0 --rotate normal
xrandr --output HDMI-A-0 --set TearFree on &
xrandr --output eDP --set TearFree on &
xss-lock /home/$USER/.config/script/betterlockscreen.sh &
fcitx -d &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
picom --backend glx &
nitrogen --restore &
numlockx on