aboutsummaryrefslogtreecommitdiff
path: root/Common
diff options
context:
space:
mode:
Diffstat (limited to 'Common')
-rw-r--r--Common/autorandr/DP-1080/config15
-rw-r--r--Common/autorandr/DP-1080/setup2
-rw-r--r--Common/autorandr/HDMI-1080/config15
-rw-r--r--Common/autorandr/HDMI-1080/setup2
-rw-r--r--Common/autorandr/HDMI/config15
-rw-r--r--Common/autorandr/HDMI/setup2
-rw-r--r--Common/autorandr/laptop-only/config12
-rw-r--r--Common/autorandr/laptop-only/setup1
-rwxr-xr-xCommon/autorandr/postswitch.d/notify.sh2
l---------Common/autorandr/postswitch.d/wallpaper.sh1
-rw-r--r--Common/deadd/deadd.conf0
-rw-r--r--Common/i3/config/i3/config43
-rw-r--r--Common/umon/umon.conf51
-rw-r--r--Common/vimrc1
14 files changed, 137 insertions, 25 deletions
diff --git a/Common/autorandr/DP-1080/config b/Common/autorandr/DP-1080/config
new file mode 100644
index 0000000..3d9c473
--- /dev/null
+++ b/Common/autorandr/DP-1080/config
@@ -0,0 +1,15 @@
+output HDMI-1
+off
+output DP-2
+off
+output DP-1
+crtc 1
+mode 1920x1200
+pos 1920x0
+rate 59.95
+output eDP-1
+crtc 0
+mode 1920x1080
+pos 0x120
+primary
+rate 60.00
diff --git a/Common/autorandr/DP-1080/setup b/Common/autorandr/DP-1080/setup
new file mode 100644
index 0000000..7ca4879
--- /dev/null
+++ b/Common/autorandr/DP-1080/setup
@@ -0,0 +1,2 @@
+DP-1 00ffffffffffff0022f02331010101011a190103803420782a2b35a9544b9e250c5054210800b30095008100d1c0a9c081c0a9408180283c80a070b023403020360006442100001a000000fd00323c1f5011000a202020202020000000fc0048502045323431690a20202020000000ff00434e3435323631304c510a202000ca
+eDP-1 00ffffffffffff0009e5db0700000000011c0104a51f1178027d50a657529f27125054000000010101010101010101010101010101013a3880de703828403020360035ae1000001afb2c80de703828403020360035ae1000001a000000fe00424f452043510a202020202020000000fe004e4531343046484d2d4e36310a0043
diff --git a/Common/autorandr/HDMI-1080/config b/Common/autorandr/HDMI-1080/config
new file mode 100644
index 0000000..32900cd
--- /dev/null
+++ b/Common/autorandr/HDMI-1080/config
@@ -0,0 +1,15 @@
+output DP-1
+off
+output DP-2
+off
+output eDP-1
+crtc 0
+mode 1920x1080
+pos 0x0
+primary
+rate 60.00
+output HDMI-1
+crtc 1
+mode 1920x1080
+pos 1920x0
+rate 60.00
diff --git a/Common/autorandr/HDMI-1080/setup b/Common/autorandr/HDMI-1080/setup
new file mode 100644
index 0000000..b185dc6
--- /dev/null
+++ b/Common/autorandr/HDMI-1080/setup
@@ -0,0 +1,2 @@
+HDMI-1 00ffffffffffff0005e370240a3400000d1b010380341d782a2ac5a4564f9e280f5054bfef00d1c0b30095008180814081c001010101023a801871382d40582c450009252100001e000000fd00324c1e5311000a202020202020000000fc0032343730570a20202020202020000000ff0047475748334841303133333232016902031ef14b101f051404130312021101230907078301000065030c0010008c0ad08a20e02d10103e9600092521000018011d007251d01e206e28550009252100001e8c0ad08a20e02d10103e96000925210000188c0ad090204031200c405500092521000018023a801871382d40582c450009252100001e00000000000000d1
+eDP-1 00ffffffffffff0009e5db0700000000011c0104a51f1178027d50a657529f27125054000000010101010101010101010101010101013a3880de703828403020360035ae1000001afb2c80de703828403020360035ae1000001a000000fe00424f452043510a202020202020000000fe004e4531343046484d2d4e36310a0043
diff --git a/Common/autorandr/HDMI/config b/Common/autorandr/HDMI/config
new file mode 100644
index 0000000..890b2e5
--- /dev/null
+++ b/Common/autorandr/HDMI/config
@@ -0,0 +1,15 @@
+output DP-1
+off
+output DP-2
+off
+output HDMI-1
+crtc 1
+mode 2560x1440
+pos 1920x0
+rate 59.95
+output eDP-1
+crtc 0
+mode 1920x1080
+pos 0x360
+primary
+rate 60.00
diff --git a/Common/autorandr/HDMI/setup b/Common/autorandr/HDMI/setup
new file mode 100644
index 0000000..5402ceb
--- /dev/null
+++ b/Common/autorandr/HDMI/setup
@@ -0,0 +1,2 @@
+HDMI-1 00ffffffffffff0030aecf65010101010a1b0103a0351e782affd5a95345a0250d5054bfcf00d1c0d100b300a9c09500818081c0714f565e00a0a0a02950302035000f282100001a000000ff0055345030355035350a20202020000000fd00174c0f5a19000a202020202020000000fc004c3234712d31300a2020202020017b02031ef04b10050403021f1413121101230907078301000065030c001000023a801871382d40582c45000f282100001f011d8018711c1620582c25000f282100009f011d007251d01e206e2855000f282100001e8c0ad08a20e02d10103e96000f2821000018023a80d072382d40102c45800f282100001e00000000000000aa
+eDP-1 00ffffffffffff0009e5db0700000000011c0104a51f1178027d50a657529f27125054000000010101010101010101010101010101013a3880de703828403020360035ae1000001afb2c80de703828403020360035ae1000001a000000fe00424f452043510a202020202020000000fe004e4531343046484d2d4e36310a0043
diff --git a/Common/autorandr/laptop-only/config b/Common/autorandr/laptop-only/config
new file mode 100644
index 0000000..0226f90
--- /dev/null
+++ b/Common/autorandr/laptop-only/config
@@ -0,0 +1,12 @@
+output DP-1
+off
+output HDMI-1
+off
+output DP-2
+off
+output eDP-1
+crtc 0
+mode 1920x1080
+pos 0x0
+primary
+rate 60.00
diff --git a/Common/autorandr/laptop-only/setup b/Common/autorandr/laptop-only/setup
new file mode 100644
index 0000000..769460f
--- /dev/null
+++ b/Common/autorandr/laptop-only/setup
@@ -0,0 +1 @@
+eDP-1 00ffffffffffff0009e5db0700000000011c0104a51f1178027d50a657529f27125054000000010101010101010101010101010101013a3880de703828403020360035ae1000001afb2c80de703828403020360035ae1000001a000000fe00424f452043510a202020202020000000fe004e4531343046484d2d4e36310a0043
diff --git a/Common/autorandr/postswitch.d/notify.sh b/Common/autorandr/postswitch.d/notify.sh
new file mode 100755
index 0000000..394c241
--- /dev/null
+++ b/Common/autorandr/postswitch.d/notify.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+notify-send -i display "Display profile" "$AUTORANDR_CURRENT_PROFILE"
diff --git a/Common/autorandr/postswitch.d/wallpaper.sh b/Common/autorandr/postswitch.d/wallpaper.sh
new file mode 120000
index 0000000..9ea8654
--- /dev/null
+++ b/Common/autorandr/postswitch.d/wallpaper.sh
@@ -0,0 +1 @@
+../../../bin/wallpaper.sh \ No newline at end of file
diff --git a/Common/deadd/deadd.conf b/Common/deadd/deadd.conf
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Common/deadd/deadd.conf
diff --git a/Common/i3/config/i3/config b/Common/i3/config/i3/config
index 0aa62a0..9b7cca6 100644
--- a/Common/i3/config/i3/config
+++ b/Common/i3/config/i3/config
@@ -11,12 +11,21 @@ floating_modifier $super
#autostart
#exec --no-startup-id hsetroot -center ~/.wallpaper.png
#exec --no-startup-id feh --bg-scale ~/.wallpaper.png
-exec --no-startup-id nitrogen --restore
-#exec --no-startup-id xsettingsd &
-exec --no-startup-id compton -b
+exec --no-startup-id wallpaper.sh
+exec --no-startup-id compton --xrender-sync-fence --xrender-sync -b
+
+exec --no-startup-id "~/.config/umon/wallpaper.sh"
# Tru to run autosetup of displays
-exec --not-startup-id xrandr --auto
+exec --no-startup-id xrandr --auto
+# Start umonitor daemon
+#exec --no-startup-id umonitor --listen
+
+
+# Start nm-applet for network things :)
+exec --no-startup-id nm-applet
+exec --no-startup-id i3-battery-popup -n
+exec --no-startup-id deadd-notification-center
# start a terminal
bindsym $super+Return exec i3-sensible-terminal
@@ -25,15 +34,7 @@ bindsym $super+Return exec i3-sensible-terminal
bindsym $super+Shift+d exec i3-dmenu-desktop --dmenu="dmenu -i -fn 'Noto Sans:size=8'"
bindsym $super+d exec rofi -lines 12 -padding 18 -width 60 -location 0 -show drun -sidebar-mode -columns 3 -font 'Noto Sans 8'
-# common apps keybinds
-#bindsym Print exec scrot 'Cheese_%a-%d%b%y_%H.%M.png' -e 'viewnior ~/$f'
-bindsym $super+l exec i3lock -i ~/.wallpaper.jpg
-#bindsym $super+Shift+w exec firefox
-#bindsym $super+Shift+f exec thunar;workspace 3;focus
-#bindsym $super+Shift+g exec geany
-#bindsym $mod+Control+s exec --no-startup-id systemctl suspend
-
-#change volume
+# change volume
bindsym XF86AudioRaiseVolume exec amixer -q set Master 5%+
bindsym XF86AudioLowerVolume exec amixer -q set Master 5%-
bindsym XF86AudioMute exec amixer set Master toggle
@@ -102,6 +103,7 @@ bindsym $super+Shift+6 move container to workspace 6
bindsym $super+Shift+r restart
# exit i3
+bindsym $super+l exec i3lock -i /home/jakob/.lockscreen.png
bindsym $super+Shift+e exec "i3-nagbar -t warning -m 'Really, exit?' -b 'Yes' 'i3-msg exit'"
bindsym $super+p exec --no-startup-id ~/.config/rofi/bin/applet_powermenu
@@ -147,12 +149,6 @@ bar {
# window rules, you can find the window class using xprop
for_window [class="^.*"] border pixel 2
-#assign [class=URxvt] 1
-#assign [class=Firefox|Transmission-gtk] 2
-#assign [class=Thunar|File-roller] 3
-#assign [class=Geany|Evince|Gucharmap|Soffice|libreoffice*] 4
-#assign [class=Audacity|Vlc|mpv|Ghb|Xfburn|Gimp*|Inkscape] 5
-#assign [class=Lxappearance|System-config-printer.py|Lxtask|GParted|Pavucontrol|Exo-helper*|Lxrandr] 6
for_window [class=Viewnior|feh|Audacious|File-roller|Lxappearance|Lxtask|Pavucontrol|Arandr|Nitrogen|Files] floating enable
for_window [class=URxvt|Firefox|Geany|Evince|Soffice|libreoffice*|mpv|Ghb|Xfburn|Gimp*|Inkscape|Vlc|Lxappearance|Audacity] focus
for_window [class=Xfburn|GParted|System-config-printer.py|Lxtask|Pavucontrol|Exo-helper*|Lxrandr|Arandr|Nitrogen] focus
@@ -175,12 +171,9 @@ client.background $blue
gaps inner 7
# Keybinds for lenovo x1 carbon
-#bindsym XF86MonBrightnessUp exec --no-startup-id "pkill rofi; xbacklight -inc 10; ~/.config/rofi/bin/applet_backlight > /dev/null 2>&1 &"
-#bindsym XF86MonBrightnessDown exec --no-startup-id "pkill rofi; xbacklight -dec 10; ~/.config/rofi/bin/applet_backlight > /dev/null 2>&1 &"
-
-bindsym XF86MonBrightnessUp exec --no-startup-id "xbacklight -inc 10"
-bindsym XF86MonBrightnessDown exec --no-startup-id "xbacklight -dec 10"
+bindsym XF86MonBrightnessUp exec --no-startup-id "brightness-popup.sh inc"
+bindsym XF86MonBrightnessDown exec --no-startup-id "brightness-popup.sh dec"
bindsym XF86Display exec --no-startup-id "arandr"
-#bindsym XF86WLAN exec --no-startup-id "~/.config/rofi/bin/menu_network"
bindsym Print exec --no-startup-id "gnome-screenshot --interactive"
+bindsym XF86Favorites exec --no-startup-id "kill -s USR1 $(pidof deadd-notification-center)"
diff --git a/Common/umon/umon.conf b/Common/umon/umon.conf
new file mode 100644
index 0000000..8321667
--- /dev/null
+++ b/Common/umon/umon.conf
@@ -0,0 +1,51 @@
+{
+ "HDMI": {
+ "Screen": {
+ "width": 4480,
+ "height": 1440,
+ "widthMM": 1185,
+ "heightMM": 381
+ },
+ "Monitors": {
+ "eDP10\u007f": {
+ "edid": "BOE0unknown unkn",
+ "primary": true,
+ "x": 0,
+ "y": 360,
+ "rotate_setting": 1,
+ "width": 1920,
+ "height": 1080,
+ "refresh_rate": 60.0
+ },
+ "HDMI10": {
+ "edid": "LEN0L24q-10 L24q",
+ "x": 1920,
+ "y": 0,
+ "rotate_setting": 1,
+ "width": 2560,
+ "height": 1440,
+ "refresh_rate": 59.95
+ }
+ }
+ },
+ "laptop-only": {
+ "Screen": {
+ "width": 1920,
+ "height": 1080,
+ "widthMM": 508,
+ "heightMM": 285
+ },
+ "Monitors": {
+ "eDP10\u007f": {
+ "edid": "BOE0unknown unkn",
+ "primary": true,
+ "x": 0,
+ "y": 0,
+ "rotate_setting": 1,
+ "width": 1920,
+ "height": 1080,
+ "refresh_rate": 60.0
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/Common/vimrc b/Common/vimrc
index 6a18a3f..acc8747 100644
--- a/Common/vimrc
+++ b/Common/vimrc
@@ -418,6 +418,7 @@ Plug 'preservim/nerdcommenter'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'dense-analysis/ale'
Plug 'preservim/tagbar'
+Plug 'evanleck/vim-svelte', {'branch': 'main'}
"Plug 'neoclide/coc-tsserver', {'do': 'yarn install --frozen-lockfile'}
"Plug 'clangd/coc-clangd', {'do': 'yarn install --frozen-lockfile'}