This commit is contained in:
Dym Sohin 2024-01-12 15:45:29 +01:00
parent b8af95703e
commit 93e4b499e4
5 changed files with 40 additions and 16 deletions

View File

@ -3,7 +3,7 @@
# ~/.xsession 2>&1 & # ~/.xsession 2>&1 &
imwheel 2>&1 & imwheel 2>&1 &
nfancurve 2>&1 & # nfancurve 2>&1 &
copyq 2>&1 & copyq 2>&1 &
sleep 5 && \ sleep 5 && \

View File

@ -1,4 +1,4 @@
#!/usr/bin/zsh #!/bin/sh
# OpenGL # OpenGL
sudo apt-get install -y \ sudo apt-get install -y \
@ -6,14 +6,8 @@ sudo apt-get install -y \
libegl1-mesa libgl1-mesa-glx \ libegl1-mesa libgl1-mesa-glx \
libxcb-xtest0 python3-ibus-1.0 libxcb-xtest0 python3-ibus-1.0
# nvidia vulkan support
sudo add-apt-repository -y \
ppa:graphics-drivers/ppa
sudo apt upgrade -y
sudo apt install -y \ sudo apt install -y \
vulkan-tools \ vulkan-tools nvidia-xconfig
nvidia-driver-390
sudo apt-mark hold 'nvidia-*' sudo apt-mark hold 'nvidia-*'
@ -63,3 +57,27 @@ cd ./ffmpeg
make -j 8 make -j 8
sudo make install sudo make install
sudo -e /etc/apt/sources.list "deb http://deb.debian.org/debian/ sid main contrib non-free
deb-src http://deb.debian.org/debian/ sid main contrib non-free
"
# Create a preferences file to only install nvidia-legacy drivers and keep your distribution stable
sudo -e /etc/apt/preferences "
Package: *
Pin: release a=stable
Pin-Priority: 700
Package: *
Pin: release a=testing
Pin-Priority: 650
Package: *
Pin: release a=unstable,sid
Pin-Priority: 600
"
sudo apt update -y
sudo apt install -y linux-headers-amd64
sudo apt install -y -t sid nvidia-legacy-390-driver

View File

@ -121,7 +121,7 @@ lsvwFile_Columns.Item2_Width=1540
[TfrmFindDlg(3840x2160)] [TfrmFindDlg(3840x2160)]
TfrmFindDlg_Height=2160 TfrmFindDlg_Height=2160
TfrmFindDlg_Left=3840 TfrmFindDlg_Left=1920
TfrmFindDlg_Top=0 TfrmFindDlg_Top=0
TfrmFindDlg_Width=1920 TfrmFindDlg_Width=1920
TfrmFindDlg_WindowState=wsNormal TfrmFindDlg_WindowState=wsNormal
@ -248,3 +248,9 @@ Screen_PixelsPerInch=96
TfrmFileProperties_Height=471 TfrmFileProperties_Height=471
TfrmFileProperties_Width=458 TfrmFileProperties_Width=458
Screen_PixelsPerInch=96 Screen_PixelsPerInch=96
[TfrmMain(800x600)]
nbConsole_Height=55
seLogWindow_Height=52
TreePanel_Width=120
Screen_PixelsPerInch=150

View File

@ -92,7 +92,7 @@ bindsym XF86AudioPrev exec playerctl previous
# workspaces (numbers row) # workspaces (numbers row)
set $w__1 "100: web" set $w__1 "100: web"
bindsym $Meta+1 workspace $w__1; exec [ $(ps -A | grep vivaldi | wc -l) = 0 ] && $(which vivaldi) -s bindsym $Meta+1 workspace $w__1; exec [ $(wmctrl -l | grep 'Mozilla Firefox' | wc -l) = 0 ] && $(which firefox)
set $w__2 "200: files" set $w__2 "200: files"
bindsym $Meta+2 workspace $w__2; exec [ $(ps -A | grep doublecmd | wc -l) = 0 ] && $(which doublecmd) bindsym $Meta+2 workspace $w__2; exec [ $(ps -A | grep doublecmd | wc -l) = 0 ] && $(which doublecmd)
@ -153,7 +153,7 @@ assign [class="sublime_merge"] $w__KP_5
for_window [class="sublime_merge$"] move container to workspace $w__KP_5 for_window [class="sublime_merge$"] move container to workspace $w__KP_5
set $w__KP_6 "KP_6: webb" set $w__KP_6 "KP_6: webb"
bindsym $Meta+KP_6 workspace $w__KP_6; exec [ $(wmctrl -l | grep 'Mozilla Firefox' | wc -l) = 0 ] && $(which firefox) bindsym $Meta+KP_6 workspace $w__KP_6; exec [ $(ps -A | grep vivaldi | wc -l) = 0 ] && $(which vivaldi) -s
set $w__KP_7 "KP_7: design" set $w__KP_7 "KP_7: design"
bindsym $Meta+KP_7 workspace $w__KP_7; exec [ $(xdotool search -class 'penpot' | wc -l) = 0 ] && penpot bindsym $Meta+KP_7 workspace $w__KP_7; exec [ $(xdotool search -class 'penpot' | wc -l) = 0 ] && penpot

View File

@ -1,7 +1,7 @@
".*" ".*"
None , Up , Button4 , 3 None , Up , Button4 , 4
None , Down , Button5 , 3 None , Down , Button5 , 4
Shift_L , Up , Shift_L | Button4 , 3 Shift_L , Up , Shift_L | Button4 , 4
Shift_L , Down , Shift_L | Button5 , 3 Shift_L , Down , Shift_L | Button5 , 4
Control_L , Up , Control_L | Button4 Control_L , Up , Control_L | Button4
Control_L , Down , Control_L | Button5 Control_L , Down , Control_L | Button5