Updated konsole and init

This commit is contained in:
Hane 2025-11-02 19:32:03 +01:00
commit 8eefe3a2ff
6 changed files with 106 additions and 18 deletions

View file

@ -59,7 +59,6 @@ PS1="${BORANGE}${FINDIANRED}\$(exitstatus $(echo '$?'))${RESET}${FDSG}${BINDIANR
# PS1='[\u@\h \W]\$ '
# fi
bind Space:magic-space
alias ls='ls --color=auto'
alias grep='grep --color=auto'
@ -68,5 +67,8 @@ alias modosexo='kscreen-doctor output.DP-2.rotation.right'
alias nomodosexo='kscreen-doctor output.DP-2.rotation.none'
alias clear='clear -x && __prompt_to_bottom_line'
#No icons
echo -e "\033]32;\007" && tput cuu 1 && tput el && clear
export VITASDK=/usr/local/vitasdk
export PATH=$VITASDK/bin:$PATH

View file

@ -6,6 +6,9 @@ DefaultProfile=Profairu.profile
[General]
ConfigVersion=1
[KonsoleWindow]
RemoveWindowTitleBarAndFrame=true
[MainWindow]
1080x1920 screen: Height=468
1080x1920 screen: Width=1080
@ -25,6 +28,13 @@ ToolButtonStyle=IconOnly
[Notification Messages]
CloseAllEmptyTabs=true
[TabBar]
CloseTabButton=None
CloseTabOnMiddleMouseButton=true
SearchTabsButton=HideSearchTabsButton
TabBarUseUserStyleSheet=true
TabBarUserStyleSheetFile=file:///home/Hane/.dotfiles/tabbar.qss
[Toolbar sessionToolbar]
ToolButtonStyle=IconOnly

View file

@ -63,6 +63,15 @@
(use-package helm-projectile
:ensure t)
(use-package dokuwiki
:ensure t
:config
(setq dokuwiki-xml-rpc-url "https://wiki.roboces.dev/lib/exe/xmlrpc.php")
(setq dokuwiki-login-user-name "superuser"))
(use-package dokuwiki-mode
:ensure t)
(use-package projectile-ripgrep
:ensure t)
@ -256,6 +265,7 @@
(define-key treemacs-mode-map (kbd "C-j") nil)
(define-key treemacs-mode-map (kbd "C-k") nil)
(define-key treemacs-mode-map (kbd "C-;") 'treemacs-RET-action)
(define-key treemacs-mode-map (kbd "M-p") nil)
;;Using helm as minibuffer autocompletion manager
(setf projectile-completion-system 'helm)
@ -322,11 +332,39 @@
(global-set-key (kbd "C-ñ") 'forward-char)
(global-set-key (kbd "C-j") 'backward-char)
;; Move forward word by word
(global-set-key (kbd "C-f") 'forward-word)
(global-set-key (kbd "C-b") 'backward-word)
(global-set-key (kbd "C-S-d") (lambda () (interactive) (delete-char -1)))
;; Map delete/backspace
(global-set-key (kbd "C-d") (lambda () (interactive) (backward-delete-char-untabify 1)))
(global-set-key (kbd "C-S-d") (lambda () (interactive) (delete-char 1)))
;; Map inverse transpose
(global-set-key (kbd "C-S-t") (lambda () (interactive) (transpose-chars -1)))
;; Map RET
(global-set-key (kbd "C-i") (lambda () (interactive) (newline)))
;; TODO: Remap up/downcase to region instead of word - not working
(put 'downcase-region 'disabled nil)
(put 'upcase-region 'disabled nil)
(global-set-key (kbd "M-S-l") (lambda () (interactive) (upcase-region)))
(global-set-key (kbd "M-l") (lambda () (interactive) (downcase-region)))
;; Map scroll line by line
(global-set-key (kbd "M-i") (lambda () (interactive) (scroll-up 1)) )
(global-set-key (kbd "M-p") (lambda () (interactive) (scroll-down 1)) )
;; Windmove
(global-set-key (kbd "M-u") 'windmove-left)
(global-set-key (kbd "M-i") 'windmove-down)
(global-set-key (kbd "M-o") 'windmove-up)
(global-set-key (kbd "M-p") 'windmove-right)
;; Forcefully insert column tab
(global-set-key (kbd "S-<iso-lefttab>") 'tab-to-tab-stop)
(global-set-key (kbd "C-x C-u") (lambda () (interactive) (other-window -1)))
(global-set-key (kbd "C-x C-o") (lambda () (interactive) (other-window 1)))
(global-set-key (kbd "C-x u") 'dired-jump)
@ -371,11 +409,7 @@
(setq-local comment-style 'extra-line)))
(global-set-key [f6] 'comment-region)
(global-set-key (kbd "M-i") (lambda () (interactive) (scroll-up 1)) )
(global-set-key (kbd "M-p") (lambda () (interactive) (scroll-down 1)) )
(global-set-key [f9] (lambda () (interactive) (find-file user-init-file)) )
(global-set-key [f8] 'projectile-find-file)
(global-set-key [f7] 'projectile-compile-project)
@ -496,7 +530,7 @@
;; If there is more than one, they won't work right.
)
(put 'dired-find-alternate-file 'disabled nil)
)
)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
@ -504,12 +538,12 @@
;; If there is more than one, they won't work right.
'(markdown-command "/usr/bin/pandoc")
'(package-selected-packages
'(benchmark-init crdt helm-projectile hl-todo lua-mode magit-todos
markdown-mode projectile projectile-ripgrep
ripgrep ssh-agency sudo-edit super-save
tangotango-theme treemacs treemacs-evil
treemacs-icons-dired treemacs-magit treemacs-persp
treemacs-projectile treemacs-tab-bar))
'(benchmark-init centered-cursor-mode crdt dokuwiki dokuwiki-mode
helm-projectile lua-mode magit-todos markdown-mode
projectile-ripgrep ssh-agency sudo-edit super-save
tangotango-theme treemacs-icons-dired
treemacs-magit treemacs-persp treemacs-projectile
treemacs-tab-bar))
'(ripgrep-arguments '("--follow"))
'(safe-local-variable-values
'((projectile-project-compilation-cmd . "latexmk")
@ -522,3 +556,4 @@
)
(load "~/.emacs.d/roleplay.el")

View file

@ -107,6 +107,6 @@ ColorRandomization=true
Description=Breeze
FillStyle=Crop
Opacity=0.67
Wallpaper=/home/Hane/Pictures/meg.jpg
Wallpaper=/home/Hane/.dotfiles/meg.jpg
WallpaperFlipType=NoFlip
WallpaperOpacity=0.15

View file

@ -1,10 +1,10 @@
[Appearance]
BorderWhenActive=true
BorderWhenActive=false
ColorScheme=Breeze
DimmValue=30
DimmValue=34
FocusBorderColor=117,90,124
Font=0xProto Nerd Font Mono,11,-1,5,50,0,0,0,0,0
TabColor=250,117,255
TabColor=20,22,24,0
[Cursor Options]
CursorShape=0
@ -12,6 +12,7 @@ CursorShape=0
[General]
DimWhenInactive=true
Environment=TERM=xterm-256color,COLORTERM=truecolor
Icon=empty
Name=Profairu
Parent=FALLBACK/
@ -19,9 +20,11 @@ Parent=FALLBACK/
KeyBindings=New Key Binding List
[Scrolling]
HighlightScrolledLines=false
HistoryMode=1
HistorySize=5000
ScrollBarPosition=2
[Terminal Features]
BlinkingCursorEnabled=false
VerticalLine=false

38
tabbar.qss Normal file
View file

@ -0,0 +1,38 @@
/* QTabWidget::pane, QTabWidget::tab-bar { background-color: black; } */
QTabBar,
QTabBar::tab
{
font-family: "0xProto Nerd Font Mono";
font-size: 11px;
height: 20px;
margin-right: 5px;
border: 0px;
background-color: #000000;
color: white;
}
QTabWidget::pane, QTabWidget::tab-bar {
border-bottom: 0px;
border-right: 0px;
margin-right: 0px;
alignment: center;
}
/* QTabBar::tab { */
/* } */
QTabBar::tab:hover
{
text-decoration: underline;
}
QTabBar::tab:selected
{
font-weight: bold;
color: yellow;
padding: 0px 3px 0px 3px;
border: 0px;
background-color: #444444;
}