mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-02-25 00:52:06 +00:00
~
This commit is contained in:
parent
15704de81b
commit
065a8c8987
3 changed files with 68 additions and 16 deletions
61
.twmrc
Normal file
61
.twmrc
Normal file
|
@ -0,0 +1,61 @@
|
|||
AutoRelativeResize
|
||||
DontMoveOff
|
||||
NoBackingStore
|
||||
NoCaseSensitive
|
||||
NoDefaults
|
||||
NoGrabServer
|
||||
NoHighLight
|
||||
NoTitleHighlight
|
||||
OpaqueMove
|
||||
ShowIconManager
|
||||
SortIconManager
|
||||
BorderWidth 1
|
||||
NoMenuShadows
|
||||
ButtonIndent 0
|
||||
TitlePadding 4
|
||||
IconDirectory "~/.twm/icons/"
|
||||
LeftTitleButton "resize.xbm" = f.resize
|
||||
LeftTitleButton "wmenu.xbm" = f.nop
|
||||
RightTitleButton "minimize.xbm" = f.iconify
|
||||
RightTitleButton "close.xbm" = f.delete
|
||||
Color {
|
||||
BorderColor "#0d8778"
|
||||
DefaultBackground "#0d8778"
|
||||
DefaultForeground "#ffffff"
|
||||
TitleBackground "#0d8778"
|
||||
TitleForeground "#ffffff"
|
||||
MenuTitleBackground "#b52f62"
|
||||
MenuTitleForeground "#ffffff"
|
||||
MenuBackground "#b52f62"
|
||||
MenuForeground "#ffffff"
|
||||
MenuBorderColor "#b52f62"
|
||||
IconManagerBackground "#b52f62"
|
||||
IconManagerForeground "#ffffff"
|
||||
}
|
||||
# window actions
|
||||
Button1 = : root : f.menu "TwmWindows"
|
||||
Button1 = : title : f.function "raise-lower-move"
|
||||
Button3 = : root : f.menu "System"
|
||||
Button3 = s : window : f.resize # SHIFT+MOUSE3 to resize
|
||||
Function "raise-lower-move" { f.move f.raiselower }
|
||||
# menus
|
||||
menu "System"
|
||||
{
|
||||
"System" f.title
|
||||
"Icon manager" f.showiconmgr
|
||||
"Restart twm" f.restart
|
||||
"Take screenshot" !"flameshot gui&"
|
||||
"" f.nop
|
||||
"Applications" f.menu "Applications"
|
||||
"Processes" !"kitty btop&"
|
||||
"" f.nop
|
||||
"Shutdown" !"shutdown now&"
|
||||
"Restart" !"reboot&"
|
||||
}
|
||||
menu "Applications"
|
||||
{
|
||||
"Applications" f.title
|
||||
"Konsole" !"konsole&"
|
||||
"Firefox" !"firefox&"
|
||||
"VSCodium" !"codium&"
|
||||
}
|
|
@ -9,7 +9,12 @@ in
|
|||
];
|
||||
|
||||
home-manager.users.rae = {
|
||||
home.stateVersion = "24.11";
|
||||
home = {
|
||||
stateVersion = "24.11";
|
||||
file = {
|
||||
".twmrc".source = ../.twmrc;
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
git = {
|
||||
|
@ -17,21 +22,6 @@ in
|
|||
userName = "roxwize";
|
||||
userEmail = "rae@roxwize.xyz";
|
||||
};
|
||||
# plasma = {
|
||||
# enable = true;
|
||||
# panels = [
|
||||
# {
|
||||
# location = "top";
|
||||
# height = 32;
|
||||
# widgets = [
|
||||
# "org.kde.plasma.kickoff"
|
||||
# "org.kde.plasma.icontasks"
|
||||
# "org.kde.plasma.marginsseparator"
|
||||
# "org.kde.plasma.digitalclock"
|
||||
# ];
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
xkb.layout = "us";
|
||||
windowManager = {
|
||||
i3.enable = true;
|
||||
twm.enable = true;
|
||||
};
|
||||
};
|
||||
displayManager = {
|
||||
|
|
Loading…
Add table
Reference in a new issue